kolibrios/programs/cmm/appearance/const.h

66 lines
1.9 KiB
C
Raw Normal View History

#ifdef LANG_RUS
char t_skins[] = " <20><EFBFBD> <20><><EFBFBD><EFBFBD>";
char t_wallpapers[] = " <20><><EFBFBD><EFBFBD>";
char t_screensaver[] = " <20><>ਭᥩ<E0A8AD><E1A5A9><EFBFBD>";
?define WINDOW_HEADER "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><E0ACAB><EFBFBD><EFBFBD>"
?define T_SELECT_FOLDER "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
?define T_PICTURE_MODE " <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><E2A8AD> "
?define T_CHECKBOX_STRETCH "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
?define T_CHECKBOX_TILED "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
?define T_CHECKBOX_AUTO "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
?define T_UPDATE_DOCK "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Dock-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
?define T_NO_FILES "'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E0A6A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><><E4A0A9> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' -E"
?define T_UI_PREVIEW " <20><EFBFBD><E0A8AC> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
?define T_SS_TIMEOUT "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: %i <20><><EFBFBD><EFBFBD><EFBFBD> "
?define T_SS_PREVIEW "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
?define T_SS_SET "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
?define T_NO_SS "[<5B><EFBFBD>祭]"
?define T_DEFAULT "[<5B><><><EFBFBD><E7A0AD>]"
#else
char t_skins[] = " Skins";
char t_wallpapers[] = " Wallpapers";
char t_screensaver[] = " Screensaver";
?define WINDOW_HEADER "Appearance"
?define T_SELECT_FOLDER "Select folder"
?define T_PICTURE_MODE " Picture Mode "
?define T_CHECKBOX_STRETCH "Stretch"
?define T_CHECKBOX_TILED "Tiled"
?define T_CHECKBOX_AUTO "Auto"
?define T_UPDATE_DOCK "Update Dock"
?define T_NO_FILES "'No supported files were found' -E"
?define T_UI_PREVIEW " Components Preview "
?define T_SS_TIMEOUT "Wait: %i minutes "
?define T_SS_PREVIEW "View"
?define T_SS_SET "Set"
?define T_NO_SS "[Disable]"
?define T_DEFAULT "[Default]"
#endif
#define WIN_W 600
#define WIN_H 420
#define LIST_W 280
#define PANEL_H 50
#define LP 6 //LIST_PADDING
#define RIGHTx LP + TAB_PADDING + LIST_W + TAB_PADDING + 30
#define RIGHTy PANEL_H
#define RIGHTw 226
#define RIGHTh 215
enum {
TAB_SKINS,
TAB_WALLPAPERS,
TAB_SCREENSAVERS
};
enum {
BASE_TAB_BUTTON_ID=3,
BTN_SELECT_WALLP_FOLDER=10,
BTN_TEST_SCREENSAVER,
BTN_SET_SCREENSAVER
};
_ini ini = { "/sys/settings/system.ini" };
char default_dir[] = "/rd/1";
od_filter filter2 = { 8, "TXT\0\0" };