Fix panels_cfg

git-svn-id: svn://kolibrios.org@5533 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2015-03-19 13:54:21 +00:00
parent ef2e4e1bef
commit 5080442b18
3 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,6 @@
@del lang.h--
@echo #define LANG_ENG 1 >lang.h--
@del panels_cfg
cls
c-- panels_cfg.c

View File

@ -0,0 +1,10 @@
@del lang.h--
@echo #define LANG_RUS 1 >lang.h--
@del panels_cfg
cls
c-- panels_cfg.c
@rename panels_cfg.com panels_cfg
@kpack panels_cfg
@del warning.txt
@pause

View File

@ -173,7 +173,7 @@ void DrawWindowContent()
frame_draw stdcall (#taskbar_frame);
DefineButton(22, taskbar_frame.start_y + 12, panels_img.w-1, 27-1, 100 + BT_HIDE, 0);
_PutImage(22, taskbar_frame.start_y + 12, 37, 27, taskbar_cfg.Attachment * 37 * 27 * 3 + panels_img.data);
WriteText(68, taskbar_frame.start_y + 20, 0x80, work_text, CHANGE_POS);
WriteText(68, taskbar_frame.start_y + 20, 0x80, sc.work_text, CHANGE_POS);
PanelCfg_CheckBox(22, taskbar_frame.start_y + 48, 105, SOFTEN_UP, taskbar_cfg.SoftenUp);
PanelCfg_CheckBox(22, taskbar_frame.start_y + 68, 106, SOFTEN_DOWN, taskbar_cfg.SoftenDown);
PanelCfg_CheckBox(22, taskbar_frame.start_y + 88, 107, MIN_LEFT_BUTTON, taskbar_cfg.MinLeftButton);
@ -190,7 +190,7 @@ void DrawWindowContent()
frame_draw stdcall (#docky_frame);
DefineButton(22, docky_frame.start_y + 12, panels_img.w-1, 27-1, 200 + BT_HIDE, 0);
_PutImage(22, docky_frame.start_y + 12, 37, 27, docky_cfg.location + 1 * 37 * 27 * 3 + panels_img.data);
WriteText(68, docky_frame.start_y + 20, 0x80, work_text, CHANGE_POS);
WriteText(68, docky_frame.start_y + 20, 0x80, sc.work_text, CHANGE_POS);
PanelCfg_CheckBox(22, docky_frame.start_y + 48, 201, FSIZE, docky_cfg.fsize);
PanelCfg_CheckBox(win_center_x, docky_frame.start_y + 48, 202, ASHOW, docky_cfg.ashow);