summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/tag_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/tag_table.c')
-rw-r--r--utils/themeeditor/tag_table.c360
1 files changed, 180 insertions, 180 deletions
diff --git a/utils/themeeditor/tag_table.c b/utils/themeeditor/tag_table.c
index d47400ca09..69e85adda3 100644
--- a/utils/themeeditor/tag_table.c
+++ b/utils/themeeditor/tag_table.c
@@ -26,187 +26,187 @@
/* The tag definition table */
struct tag_info legal_tags[] =
{
- { "ac", "" },
- { "al", "" },
- { "aL", "" },
- { "ar", "" },
- { "aR", "" },
- { "ax", "" },
-
- { "bl" , "*fIIII" },
- { "bv", "" },
- { "bt", "" },
- { "bs", "" },
- { "bc", "" },
- { "bp", "" },
- { "bu", "" },
-
-
- { "cc", "" },
- { "cd", "" },
- { "ce", "" },
- { "cf", "" },
- { "cH", "" },
- { "ck", "" },
- { "cI", "" },
- { "cl", "" },
- { "cm", "" },
- { "cM", "" },
- { "cS", "" },
- { "cy", "" },
- { "cY", "" },
- { "cP", "" },
- { "cp", "" },
- { "ca", "" },
- { "cb", "" },
- { "cu", "" },
- { "cw", "" },
+ { SKIN_TOKEN_ALIGN_CENTER, "ac", "" },
+ { SKIN_TOKEN_ALIGN_LEFT, "al", "" },
+ { SKIN_TOKEN_ALIGN_LEFT_RTL, "aL", "" },
+ { SKIN_TOKEN_ALIGN_RIGHT, "ar", "" },
+ { SKIN_TOKEN_ALIGN_RIGHT_RTL, "aR", "" },
+ { SKIN_TOKEN_ALIGN_LANGDIRECTION, "ax", "" },
+
+ { SKIN_TOKEN_BATTERY_PERCENT, "bl" , "*fIIII" },
+ { SKIN_TOKEN_BATTERY_VOLTS, "bv", "" },
+ { SKIN_TOKEN_BATTERY_TIME, "bt", "" },
+ { SKIN_TOKEN_BATTERY_SLEEPTIME, "bs", "" },
+ { SKIN_TOKEN_BATTERY_CHARGING, "bc", "" },
+ { SKIN_TOKEN_BATTERY_CHARGER_CONNECTED, "bp", "" },
+ { SKIN_TOKEN_USB_POWERED, "bu", "" },
+
+
+ { SKIN_TOKEN_RTC_PRESENT, "cc", "" },
+ { SKIN_TOKEN_RTC_DAY_OF_MONTH, "cd", "" },
+ { SKIN_TOKEN_RTC_DAY_OF_MONTH_BLANK_PADDED, "ce", "" },
+ { SKIN_TOKEN_RTC_12HOUR_CFG, "cf", "" },
+ { SKIN_TOKEN_RTC_HOUR_24_ZERO_PADDED, "cH", "" },
+ { SKIN_TOKEN_RTC_HOUR_24, "ck", "" },
+ { SKIN_TOKEN_RTC_HOUR_12_ZERO_PADDED, "cI", "" },
+ { SKIN_TOKEN_RTC_HOUR_12, "cl", "" },
+ { SKIN_TOKEN_RTC_MONTH, "cm", "" },
+ { SKIN_TOKEN_RTC_MINUTE, "cM", "" },
+ { SKIN_TOKEN_RTC_SECOND, "cS", "" },
+ { SKIN_TOKEN_RTC_YEAR_2_DIGITS, "cy", "" },
+ { SKIN_TOKEN_RTC_YEAR_4_DIGITS, "cY", "" },
+ { SKIN_TOKEN_RTC_AM_PM_UPPER, "cP", "" },
+ { SKIN_TOKEN_RTC_AM_PM_LOWER, "cp", "" },
+ { SKIN_TOKEN_RTC_WEEKDAY_NAME, "ca", "" },
+ { SKIN_TOKEN_RTC_MONTH_NAME, "cb", "" },
+ { SKIN_TOKEN_RTC_DAY_OF_WEEK_START_MON, "cu", "" },
+ { SKIN_TOKEN_RTC_DAY_OF_WEEK_START_SUN, "cw", "" },
- { "fb", "" },
- { "fc", "" },
- { "ff", "" },
- { "fk", "" },
- { "fm", "" },
- { "fn", "" },
- { "fp", "" },
- { "fs", "" },
- { "fv", "" },
- { "d" , "I" },
-
- { "Fb", "" },
- { "Fc", "" },
- { "Ff", "" },
- { "Fk", "" },
- { "Fm", "" },
- { "Fn", "" },
- { "Fp", "" },
- { "Fs", "" },
- { "Fv", "" },
- { "D" , "I" },
-
-
- { "ia", "" },
- { "ic", "" },
- { "id", "" },
- { "iA", "" },
- { "iG", "" },
- { "ig", "" },
- { "ik", "" },
- { "in", "" },
- { "it", "" },
- { "iv", "" },
- { "iy", "" },
- { "iC", "" },
-
- { "Ia", "" },
- { "Ic", "" },
- { "Id", "" },
- { "IA", "" },
- { "IG", "" },
- { "Ig", "" },
- { "Ik", "" },
- { "In", "" },
- { "It", "" },
- { "Iv", "" },
- { "Iy", "" },
- { "IC", "" },
-
- { "Sp", "" },
- { "Ss", "" },
-
- { "lh", "" },
-
- { "mh", "" },
- { "mr", "" },
- { "mm", "" },
- { "mp", "" },
- { "mv", "|I" },
-
- { "pm", "" },
- { "pf", "" },
- { "pb" , "*fIIII" },
- { "pv" , "*fIIII" },
-
- { "px", "" },
- { "pc", "" },
- { "pr", "" },
- { "pt", "" },
- { "pS" , "|I"},
- { "pE" , "|I"},
- { "pp", "" },
- { "pe", "" },
- { "pn", "" },
- { "ps", "" },
-
- { "rp", "" },
- { "rr", "" },
- { "ra", "" },
-
- { "rg", "" },
- { "xf", "" },
-
- { "tp", "" },
- { "tt", "" },
- { "tm", "" },
- { "ts", "" },
- { "ta", "" },
- { "tb", "" },
- { "tf", "" },
- { "Ti", "" },
- { "Tn", "" },
- { "Tf", "" },
- { "Tc", "" },
- { "tx", "" },
- { "ty", "" },
- { "tz", "" },
-
- { "s", "" },
- { "t" , "I" },
-
- { "we", "" },
- { "wd", "" },
- { "wi", "" },
-
- { "xl", "SFIIi" },
- { "xd", "S" },
- { "x", "SFII" },
-
- { "Fl" , "IF"},
- { "Cl" , "IISS"},
- { "C" , ""},
-
- { "Vd" , "S"},
- { "VI" , "S"},
-
- { "Vp" , "ICC"},
- { "Lt" , ""},
- { "Li" , ""},
-
- { "V" , "IIiii|ii"},
- { "Vl" , "SIIiii|ii"},
- { "Vi" , "sIIiii|ii"},
-
- { "X" , "f"},
-
- { "St" , "S"},
- { "Sx" , "S"},
- { "Sr" , ""},
-
- { "Tl" , "|I"},
- { "cs", "" },
- { "T" , "IIiiI"},
-
- { "Rp" , ""},
- { "Rr" , ""},
- { "Rf" , ""},
- { "Re" , ""},
- { "Rb" , ""},
- { "Rm" , ""},
- { "Rs" , ""},
- { "Rn" , ""},
- { "Rh" , ""},
-
- { "" , ""} /* Keep this here to mark the end of the table */
+ { SKIN_TOKEN_FILE_BITRATE, "fb", "" },
+ { SKIN_TOKEN_FILE_CODEC, "fc", "" },
+ { SKIN_TOKEN_FILE_FREQUENCY, "ff", "" },
+ { SKIN_TOKEN_FILE_FREQUENCY_KHZ, "fk", "" },
+ { SKIN_TOKEN_FILE_NAME_WITH_EXTENSION, "fm", "" },
+ { SKIN_TOKEN_FILE_NAME, "fn", "" },
+ { SKIN_TOKEN_FILE_PATH, "fp", "" },
+ { SKIN_TOKEN_FILE_SIZE, "fs", "" },
+ { SKIN_TOKEN_FILE_VBR, "fv", "" },
+ { SKIN_TOKEN_FILE_DIRECTORY, "d" , "I" },
+
+ { SKIN_TOKEN_FILE_BITRATE, "Fb", "" },
+ { SKIN_TOKEN_FILE_CODEC, "Fc", "" },
+ { SKIN_TOKEN_FILE_FREQUENCY, "Ff", "" },
+ { SKIN_TOKEN_FILE_FREQUENCY_KHZ, "Fk", "" },
+ { SKIN_TOKEN_FILE_NAME_WITH_EXTENSION, "Fm", "" },
+ { SKIN_TOKEN_FILE_NAME, "Fn", "" },
+ { SKIN_TOKEN_FILE_PATH, "Fp", "" },
+ { SKIN_TOKEN_FILE_SIZE, "Fs", "" },
+ { SKIN_TOKEN_FILE_VBR, "Fv", "" },
+ { SKIN_TOKEN_FILE_DIRECTORY, "D" , "I" },
+
+
+ { SKIN_TOKEN_METADATA_ARTIST, "ia", "" },
+ { SKIN_TOKEN_METADATA_COMPOSER, "ic", "" },
+ { SKIN_TOKEN_METADATA_ALBUM, "id", "" },
+ { SKIN_TOKEN_METADATA_ALBUM_ARTIST, "iA", "" },
+ { SKIN_TOKEN_METADATA_GROUPING, "iG", "" },
+ { SKIN_TOKEN_METADATA_GENRE, "ig", "" },
+ { SKIN_TOKEN_METADATA_DISC_NUMBER, "ik", "" },
+ { SKIN_TOKEN_METADATA_TRACK_NUMBER, "in", "" },
+ { SKIN_TOKEN_METADATA_TRACK_TITLE, "it", "" },
+ { SKIN_TOKEN_METADATA_VERSION, "iv", "" },
+ { SKIN_TOKEN_METADATA_YEAR, "iy", "" },
+ { SKIN_TOKEN_METADATA_COMMENT, "iC", "" },
+
+ { SKIN_TOKEN_METADATA_ARTIST, "Ia", "" },
+ { SKIN_TOKEN_METADATA_COMPOSER, "Ic", "" },
+ { SKIN_TOKEN_METADATA_ALBUM, "Id", "" },
+ { SKIN_TOKEN_METADATA_ALBUM_ARTIST, "IA", "" },
+ { SKIN_TOKEN_METADATA_GROUPING, "IG", "" },
+ { SKIN_TOKEN_METADATA_GENRE, "Ig", "" },
+ { SKIN_TOKEN_METADATA_DISC_NUMBER, "Ik", "" },
+ { SKIN_TOKEN_METADATA_TRACK_NUMBER, "In", "" },
+ { SKIN_TOKEN_METADATA_TRACK_TITLE, "It", "" },
+ { SKIN_TOKEN_METADATA_VERSION, "Iv", "" },
+ { SKIN_TOKEN_METADATA_YEAR, "Iy", "" },
+ { SKIN_TOKEN_METADATA_COMMENT, "IC", "" },
+
+ { SKIN_TOKEN_SOUND_PITCH, "Sp", "" },
+ { SKIN_TOKEN_SOUND_SPEED, "Ss", "" },
+
+ { SKIN_TOKEN_VLED_HDD, "lh", "" },
+
+ { SKIN_TOKEN_MAIN_HOLD, "mh", "" },
+ { SKIN_TOKEN_REMOTE_HOLD, "mr", "" },
+ { SKIN_TOKEN_REPEAT_MODE, "mm", "" },
+ { SKIN_TOKEN_PLAYBACK_STATUS, "mp", "" },
+ { SKIN_TOKEN_BUTTON_VOLUME, "mv", "|I" },
+
+ { SKIN_TOKEN_PEAKMETER, "pm", "" },
+ { SKIN_TOKEN_PLAYER_PROGRESSBAR, "pf", "" },
+ { SKIN_TOKEN_PROGRESSBAR, "pb" , "*fIIII" },
+ { SKIN_TOKEN_VOLUME, "pv" , "*fIIII" },
+
+ { SKIN_TOKEN_TRACK_ELAPSED_PERCENT, "px", "" },
+ { SKIN_TOKEN_TRACK_TIME_ELAPSED, "pc", "" },
+ { SKIN_TOKEN_TRACK_TIME_REMAINING, "pr", "" },
+ { SKIN_TOKEN_TRACK_LENGTH, "pt", "" },
+ { SKIN_TOKEN_TRACK_STARTING, "pS" , "|I"},
+ { SKIN_TOKEN_TRACK_ENDING, "pE" , "|I"},
+ { SKIN_TOKEN_PLAYLIST_POSITION, "pp", "" },
+ { SKIN_TOKEN_PLAYLIST_ENTRIES, "pe", "" },
+ { SKIN_TOKEN_PLAYLIST_NAME, "pn", "" },
+ { SKIN_TOKEN_PLAYLIST_SHUFFLE, "ps", "" },
+
+ { SKIN_TOKEN_DATABASE_PLAYCOUNT, "rp", "" },
+ { SKIN_TOKEN_DATABASE_RATING, "rr", "" },
+ { SKIN_TOKEN_DATABASE_AUTOSCORE, "ra", "" },
+
+ { SKIN_TOKEN_REPLAYGAIN, "rg", "" },
+ { SKIN_TOKEN_CROSSFADE, "xf", "" },
+
+ { SKIN_TOKEN_HAVE_TUNER, "tp", "" },
+ { SKIN_TOKEN_TUNER_TUNED, "tt", "" },
+ { SKIN_TOKEN_TUNER_SCANMODE, "tm", "" },
+ { SKIN_TOKEN_TUNER_STEREO, "ts", "" },
+ { SKIN_TOKEN_TUNER_MINFREQ, "ta", "" },
+ { SKIN_TOKEN_TUNER_MAXFREQ, "tb", "" },
+ { SKIN_TOKEN_TUNER_CURFREQ, "tf", "" },
+ { SKIN_TOKEN_PRESET_ID, "Ti", "" },
+ { SKIN_TOKEN_PRESET_NAME, "Tn", "" },
+ { SKIN_TOKEN_PRESET_FREQ, "Tf", "" },
+ { SKIN_TOKEN_PRESET_COUNT, "Tc", "" },
+ { SKIN_TOKEN_HAVE_RDS, "tx", "" },
+ { SKIN_TOKEN_RDS_NAME, "ty", "" },
+ { SKIN_TOKEN_RDS_TEXT, "tz", "" },
+
+ { SKIN_TOKEN_SUBLINE_SCROLL, "s", "" },
+ { SKIN_TOKEN_SUBLINE_TIMEOUT, "t" , "I" },
+
+ { SKIN_TOKEN_ENABLE_THEME, "we", "" },
+ { SKIN_TOKEN_DISABLE_THEME, "wd", "" },
+ { SKIN_TOKEN_DRAW_INBUILTBAR, "wi", "" },
+
+ { SKIN_TOKEN_IMAGE_PRELOAD, "xl", "SFIIi" },
+ { SKIN_TOKEN_IMAGE_PRELOAD_DISPLAY, "xd", "S" },
+ { SKIN_TOKEN_IMAGE_PRELOAD, "x", "SFII" },
+
+ { SKIN_TOKEN_LOAD_FONT, "Fl" , "IF"},
+ { SKIN_TOKEN_ALBUMART_LOAD, "Cl" , "IISS"},
+ { SKIN_TOKEN_ALBUMART_DISPLAY, "C" , ""},
+
+ { SKIN_TOKEN_VIEWPORT_ENABLE, "Vd" , "S"},
+ { SKIN_TOKEN_UIVIEWPORT_ENABLE, "VI" , "S"},
+
+ { SKIN_TOKEN_VIEWPORT_CUSTOMLIST, "Vp" , "ICC"},
+ { SKIN_TOKEN_LIST_TITLE_TEXT, "Lt" , ""},
+ { SKIN_TOKEN_LIST_TITLE_ICON, "Li" , ""},
+
+ { SKIN_TOKEN_VIEWPORT_LOAD, "V" , "IIiii|ii"},
+ { SKIN_TOKEN_VIEWPORT_CONDITIONAL, "Vl" , "SIIiii|ii"},
+ { SKIN_TOKEN_UIVIEWPORT_LOAD, "Vi" , "sIIiii|ii"},
+
+ { SKIN_TOKEN_IMAGE_BACKDROP, "X" , "f"},
+
+ { SKIN_TOKEN_SETTING, "St" , "S"},
+ { SKIN_TOKEN_TRANSLATEDSTRING, "Sx" , "S"},
+ { SKIN_TOKEN_LANG_IS_RTL, "Sr" , ""},
+
+ { SKIN_TOKEN_LASTTOUCH, "Tl" , "|I"},
+ { SKIN_TOKEN_CURRENT_SCREEN, "cs", "" },
+ { SKIN_TOKEN_TOUCHREGION, "T" , "IIiiI"},
+
+ { SKIN_TOKEN_HAVE_RECORDING, "Rp" , ""},
+ { SKIN_TOKEN_IS_RECORDING, "Rr" , ""},
+ { SKIN_TOKEN_REC_FREQ, "Rf" , ""},
+ { SKIN_TOKEN_REC_ENCODER, "Re" , ""},
+ { SKIN_TOKEN_REC_BITRATE, "Rb" , ""},
+ { SKIN_TOKEN_REC_MONO, "Rm" , ""},
+ { SKIN_TOKEN_REC_SECONDS, "Rs" , ""},
+ { SKIN_TOKEN_REC_MINUTES, "Rn" , ""},
+ { SKIN_TOKEN_REC_HOURS, "Rh" , ""},
+
+ { SKIN_TOKEN_UNKNOWN, "" , ""} /* Keep this here to mark the end of the table */
};
/* A table of legal escapable characters */