Rev 6176 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6176 | Rev 6197 | ||
---|---|---|---|
Line 19... | Line 19... | ||
19 | ?define CHECK_MOUSE_1 " ¦¬¨â¥ í⮩ ®¡« áâ¨" |
19 | ?define CHECK_MOUSE_1 " ¦¬¨â¥ í⮩ ®¡« áâ¨" |
20 | ?define CHECK_MOUSE_2 "¤«ï ¯à®¢¥àª¨ ª®¯®ª ¬ëè¨" |
20 | ?define CHECK_MOUSE_2 "¤«ï ¯à®¢¥àª¨ ª®¯®ª ¬ëè¨" |
21 | ?define POINTER_SPEED "ª®à®áâì 㪠§ â¥«ï ¬ëè¨" |
21 | ?define POINTER_SPEED "ª®à®áâì 㪠§ â¥«ï ¬ëè¨" |
22 | ?define ACCELERATION_TEXT "᪮२¥ 㪠§ â¥«ï ¬ëè¨" |
22 | ?define ACCELERATION_TEXT "᪮२¥ 㪠§ â¥«ï ¬ëè¨" |
23 | ?define DOUBLE_CLICK_TEXT " ¤¥à¦ª ¤¢®©®£® ª«¨ª ¬ëèìî" |
23 | ?define DOUBLE_CLICK_TEXT " ¤¥à¦ª ¤¢®©®£® ª«¨ª ¬ëèìî" |
24 | ?define MOUSE_EMULATION "¬ã«ïæ¨ï ã¯à ¢«¥¨ï 㪠§ ⥫¥¬ ç¥à¥§ ª« ¢¨ âãàã" |
24 | ?define MOUSE_EMULATION "¯à ¢«¥¨¥ 㪠§ ⥫¥¬ ¬ëè¨ ç¥à¥§ ª« ¢¨ âãàã" |
25 | ?define MADMOUSE "ª¢®§ë¥ ¤«ï ªãàá®à áâ®à®ë íªà " |
25 | ?define MADMOUSE "ª¢®§ë¥ ¤«ï ªãàá®à áâ®à®ë íªà " |
26 | #else |
26 | #else |
27 | ?define WINDOW_TITLE "Mouse testing and configuration" |
27 | ?define WINDOW_TITLE "Mouse testing and configuration" |
28 | ?define CHECK_MOUSE_1 "Click on this area to" |
28 | ?define CHECK_MOUSE_1 "Click on this area to" |
29 | ?define CHECK_MOUSE_2 "check your mouse buttons" |
29 | ?define CHECK_MOUSE_2 "check your mouse buttons" |
Line 139... | Line 139... | ||
139 | if (GetKey()==27) ExitApp(); |
139 | if (GetKey()==27) ExitApp(); |
140 | break; |
140 | break; |
Line 141... | Line 141... | ||
141 | 141 | ||
142 | case evReDraw: |
142 | case evReDraw: |
143 | system.color.get(); |
143 | system.color.get(); |
144 | DefineAndDrawWindow(430, 150, 360, 300+GetSkinHeight(),0x34,system.color.work,WINDOW_TITLE); |
144 | DefineAndDrawWindow(430, 150, 424, 310+GetSkinHeight(),0x34,system.color.work,WINDOW_TITLE); |
145 | GetProcessInfo(#Form, SelfInfo); |
145 | GetProcessInfo(#Form, SelfInfo); |
146 | if (Form.status_window>2) break; |
146 | if (Form.status_window>2) break; |
147 | SetFrameColors(); |
147 | SetFrameColors(); |
148 | DefineButton(mouse_frame.start_x+2, mouse_frame.start_y+2, mouse_frame.size_x-4, |
148 | DefineButton(mouse_frame.start_x+2, mouse_frame.start_y+2, mouse_frame.size_x-4, |
Line 162... | Line 162... | ||
162 | } |
162 | } |
Line 163... | Line 163... | ||
163 | 163 | ||
164 | void DrawControls() { |
164 | void DrawControls() { |
165 | DrawBar(pos_x, mouse_frame.start_y + 142, Form.cwidth - pos_x, 120, system.color.work); |
165 | DrawBar(pos_x, mouse_frame.start_y + 142, Form.cwidth - pos_x, 120, system.color.work); |
166 | MoreLessBox(pos_x, mouse_frame.start_y + 142, 120, 121, mouse_cfg.pointer_speed, POINTER_SPEED); |
166 | MoreLessBox(pos_x, mouse_frame.start_y + 142, 120, 121, mouse_cfg.pointer_speed, POINTER_SPEED); |
167 | MoreLessBox(pos_x, mouse_frame.start_y + 170, 122, 123, mouse_cfg.acceleration, ACCELERATION_TEXT); |
167 | MoreLessBox(pos_x, mouse_frame.start_y + 172, 122, 123, mouse_cfg.acceleration, ACCELERATION_TEXT); |
168 | MoreLessBox(pos_x, mouse_frame.start_y + 198, 124, 125, mouse_cfg.double_click_delay, DOUBLE_CLICK_TEXT); |
168 | MoreLessBox(pos_x, mouse_frame.start_y + 202, 124, 125, mouse_cfg.double_click_delay, DOUBLE_CLICK_TEXT); |
169 | CheckBox(pos_x, mouse_frame.start_y + 230, 100, MOUSE_EMULATION, mouse_cfg.emulation); |
169 | CheckBox(pos_x, mouse_frame.start_y + 236, 100, MOUSE_EMULATION, mouse_cfg.emulation); |
170 | CheckBox(pos_x, mouse_frame.start_y + 254, 101, MADMOUSE, mouse_cfg.madmouse); |
170 | CheckBox(pos_x, mouse_frame.start_y + 262, 101, MADMOUSE, mouse_cfg.madmouse); |
Line 171... | Line 171... | ||
171 | } |
171 | } |
172 | 172 | ||
173 | void SetFrameColors() { |
173 | void SetFrameColors() { |