Subversion Repositories Kolibri OS

Rev

Rev 9469 | Rev 9524 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifdef LANG_RUS
  2.         char t_skins[] =       "   ‘â¨«ì ®ª®­";
  3.         char t_wallpapers[] =  "   Ž¡®¨";
  4.         char t_screensaver[] =  "   ‘ªà¨­á¥©¢¥à";
  5.         ?define WINDOW_HEADER " áâனª¨ ®ä®à¬«¥­¨ï"
  6.         ?define T_SELECT_FOLDER "‚ë¡à âì ¯ ¯ªã"
  7.         ?define T_PICTURE_MODE " ®«®¦¥­¨¥ ª à⨭ª¨ "
  8.         ?define T_CHECKBOX_STRETCH " áâï­ãâì"
  9.         ?define T_CHECKBOX_TILED "‡ ¬®áâ¨âì"
  10.         ?define T_CHECKBOX_AUTO "€¢â®¬ â¨ç¥áª¨"
  11.         ?define T_UPDATE_DOCK "Ž¡­®¢«ïâì Dock-¯ ­¥«ì"
  12.         ?define T_NO_FILES "'®¤¤¥à¦¨¢ ¥¬ë¥ ä ©«ë ­¥ ­ ©¤¥­ë' -E"
  13.         ?define T_UI_PREVIEW " à¨¬¥à ª®¬¯®­¥­â®¢ "
  14.         ?define T_SS_TIMEOUT "ˆ­â¥à¢ «: %i ¬¨­ãâ  "
  15.         ?define T_SS_PREVIEW "à®á¬®âà"
  16.         ?define T_SS_SET "“áâ ­®¢¨âì"
  17.         ?define T_NO_SS "[‚몫î祭]"
  18.         ?define T_DEFAULT "[® 㬮«ç ­¨î]"
  19. #else
  20.         char t_skins[] =       "   Skins";
  21.         char t_wallpapers[] =  "   Wallpapers";
  22.         char t_screensaver[] =  "   Screensaver";
  23.         ?define WINDOW_HEADER "Appearance"
  24.         ?define T_SELECT_FOLDER "Select folder"
  25.         ?define T_PICTURE_MODE " Picture Mode "
  26.         ?define T_CHECKBOX_STRETCH "Stretch"
  27.         ?define T_CHECKBOX_TILED "Tiled"
  28.         ?define T_CHECKBOX_AUTO "Auto"
  29.         ?define T_UPDATE_DOCK "Update Dock"
  30.         ?define T_NO_FILES "'No supported files were found' -E"
  31.         ?define T_UI_PREVIEW " Components Preview "
  32.         ?define T_SS_TIMEOUT "Wait: %i minutes  "
  33.         ?define T_SS_PREVIEW "View"
  34.         ?define T_SS_SET "Set"
  35.         ?define T_NO_SS "[Disable]"
  36.         ?define T_DEFAULT "[Default]"
  37. #endif
  38.  
  39. #define WIN_W 600
  40. #define WIN_H 420
  41. #define LIST_W 280
  42. #define PANEL_H 50
  43. #define LP 6 //LIST_PADDING
  44.  
  45. #define RIGHTx LP + TAB_PADDING + LIST_W + TAB_PADDING + 30
  46. #define RIGHTy PANEL_H
  47. #define RIGHTw 226
  48. #define RIGHTh 215
  49.  
  50. enum {
  51.         TAB_SKINS,
  52.         TAB_WALLPAPERS,
  53.         TAB_SCREENSAVERS
  54. };
  55.  
  56. enum {
  57.         BASE_TAB_BUTTON_ID=3,
  58.         BTN_SELECT_WALLP_FOLDER=10,
  59.         BTN_TEST_SCREENSAVER,
  60.         BTN_SET_SCREENSAVER
  61. };
  62.  
  63. _ini ini = { "/sys/settings/system.ini" };
  64.  
  65. char default_dir[] = "/rd/1";
  66. od_filter filter2 = { 8, "TXT\0\0" };