Rev 3067 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3067 | Rev 3107 | ||
---|---|---|---|
Line 41... | Line 41... | ||
41 | 41 | ||
42 | void main() |
42 | void main() |
43 | { |
43 | { |
Line 44... | Line 44... | ||
44 | int key; |
44 | int key; |
Line 45... | Line 45... | ||
45 | 45 | ||
46 | Pause(10); |
46 | pause(10); |
Line 47... | Line 47... | ||
47 | 47 | ||
Line 117... | Line 117... | ||
117 | DrawBar(PANEL_X+1, PANEL_Y+NIGHT_PALEL_HEIGHT+1, PANEL_SIZE_X-1, PANEL_SIZE_Y-NIGHT_PALEL_HEIGHT-1, sc.work); |
117 | DrawBar(PANEL_X+1, PANEL_Y+NIGHT_PALEL_HEIGHT+1, PANEL_SIZE_X-1, PANEL_SIZE_Y-NIGHT_PALEL_HEIGHT-1, sc.work); |
Line 118... | Line 118... | ||
118 | 118 | ||
119 | for (i=0; i<4; i++) |
119 | for (i=0; i<4; i++) |
120 | { |
120 | { |
121 | DefineButton(PANEL_X+33, i*23 + PANEL_Y+NIGHT_PALEL_HEIGHT+16, 190,19, BUTTONS_CAPTIONS[i*2+1],sc.work_button); |
121 | DefineButton(PANEL_X+33, i*23 + PANEL_Y+NIGHT_PALEL_HEIGHT+16, 190,19, BUTTONS_CAPTIONS[i*2+1],sc.work_button); |
122 | WriteText(PANEL_X+59, i*23 + PANEL_Y+NIGHT_PALEL_HEIGHT+22, 0x80,sc.work_button_text, BUTTONS_CAPTIONS[i*2], 0); |
122 | WriteText(PANEL_X+59, i*23 + PANEL_Y+NIGHT_PALEL_HEIGHT+22, 0x80,sc.work_button_text, BUTTONS_CAPTIONS[i*2]); |
Line 123... | Line 123... | ||
123 | } |
123 | } |
124 | 124 |