Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5673 → Rev 5674

/programs/cmm/mouse_cfg/mouse_cfg.c
3,11 → 3,9
#endif
 
#define MEMSIZE 0x23E80
#include "..\lib\kolibri.h"
#include "..\lib\strings.h"
#include "..\lib\mem.h"
#include "..\lib\file_system.h"
#include "..\lib\dll.h"
#include "..\lib\gui.h"
#include "..\lib\obj\libio_lib.h"
#include "..\lib\obj\box_lib.h"
40,7 → 38,6
unsigned char panels_img_data[] = FROM "mouse_image.raw";
raw_image panels_img = { 59, 101, #panels_img_data };
 
system_colors sc;
proc_info Form;
 
 
127,8 → 124,8
break;
case evReDraw:
sc.get();
DefineAndDrawWindow(430, 150, 360, 280+GetSkinHeight(),0x34,sc.work,WINDOW_TITLE);
system.color.get();
DefineAndDrawWindow(430, 150, 360, 280+GetSkinHeight(),0x34,system.color.work,WINDOW_TITLE);
GetProcessInfo(#Form, SelfInfo);
if (Form.status_window>2) break;
SetFrameColors();
143,12 → 140,12
}
 
void PanelCfg_CheckBox(dword x, y, id, text, byte value) {
CheckBox(x, y, 14, 14, id, text, sc.work_graph, sc.work_text, value);
CheckBox(x, y, 14, 14, id, text, system.color.work_graph, system.color.work_text, value);
}
 
 
void PanelCfg_MoreLessBox(dword x, y, id_more, id_less; byte value; dword text) {
MoreLessBox(x, y, 18, id_more, id_less, #sc, value, text);
MoreLessBox(x, y, 18, id_more, id_less, #system.color, value, text);
}
 
void DrawMouseImage() {
165,9 → 162,9
 
void SetFrameColors() {
mouse_frame.size_x = - mouse_frame.start_x * 2 + Form.cwidth;
mouse_frame.font_color = sc.work_text;
mouse_frame.font_backgr_color = sc.work;
mouse_frame.ext_col = sc.work_graph;
mouse_frame.font_color = system.color.work_text;
mouse_frame.font_backgr_color = system.color.work;
mouse_frame.ext_col = system.color.work_graph;
}
 
void LoadCfg() {