Rev 6638 | Rev 6651 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6638 | Rev 6649 | ||
---|---|---|---|
Line 151... | Line 151... | ||
151 | dword value_text = itoa(value); |
151 | dword value_text = itoa(value); |
Line 152... | Line 152... | ||
152 | 152 | ||
153 | DrawRectangle(x, y, VALUE_FIELD_W, SIZE, system.color.work_graph); |
153 | DrawRectangle(x, y, VALUE_FIELD_W, SIZE, system.color.work_graph); |
154 | DrawRectangle3D(x+1, y+1, VALUE_FIELD_W-2, SIZE-2, 0xDDDddd, 0xffffff); |
154 | DrawRectangle3D(x+1, y+1, VALUE_FIELD_W-2, SIZE-2, 0xDDDddd, 0xffffff); |
155 | DrawBar(x+2, y+2, VALUE_FIELD_W-3, SIZE-3, 0xffffff); |
155 | DrawBar(x+2, y+2, VALUE_FIELD_W-3, SIZE-3, 0xffffff); |
Line 156... | Line 156... | ||
156 | WriteText( -strlen(value_text)+3*8 + x+6, SIZE / 2 + y -6, 0x90, system.color.work_text, value_text); |
156 | WriteText( -strlen(value_text)+3*8 + x+6, SIZE / 2 + y -6, 0x90, 0x333333, value_text); |
157 | 157 | ||
158 | DrawCaptButton(VALUE_FIELD_W + x, y, SIZE, SIZE, bt_id_more, system.color.work_button, system.color.work_button_text, "+"); |
158 | DrawCaptButton(VALUE_FIELD_W + x, y, SIZE, SIZE, bt_id_more, system.color.work_button, system.color.work_button_text, "+"); |
159 | DrawCaptButton(VALUE_FIELD_W + x + SIZE, y, SIZE, SIZE, bt_id_less, system.color.work_button, system.color.work_button_text, "-"); |
159 | DrawCaptButton(VALUE_FIELD_W + x + SIZE, y, SIZE, SIZE, bt_id_less, system.color.work_button, system.color.work_button_text, "-"); |
Line 169... | Line 169... | ||
169 | x = ESI.edit_box.left; |
169 | x = ESI.edit_box.left; |
170 | y = ESI.edit_box.top; |
170 | y = ESI.edit_box.top; |
171 | w = ESI.edit_box.width+1; |
171 | w = ESI.edit_box.width+1; |
172 | if (ESI.edit_box.flags & 100000000000b) bg = 0xCACACA; else bg = 0xFFFfff; |
172 | if (ESI.edit_box.flags & 100000000000b) bg = 0xCACACA; else bg = 0xFFFfff; |
173 | h = 15; |
173 | h = 15; |
174 | DrawRectangle(x-1, y-1, w+2, h+2, bg); |
174 | DrawRectangle(x-1, y-1, w+1, h+1, bg); |
175 | DrawRectangle3D(x-2, y-2, w+2, h+2, 0xDDDddd, bg); |
175 | DrawRectangle3D(x-2, y-2, w+3, h+3, 0xDDDddd, bg); |
176 | DrawRectangle(x-3, y-3, w+6, h+6, system.color.work_graph); |
176 | DrawRectangle(x-3, y-3, w+5, h+5, system.color.work_graph); |
177 | DrawRectangle3D(x-4, y-4, w+8, h+8, system.color.work_dark, system.color.work_light); |
177 | DrawRectangle3D(x-4, y-4, w+7, h+7, system.color.work_dark, system.color.work_light); |
178 | edit_box_draw stdcall (edit_box_pointer); |
178 | edit_box_draw stdcall (edit_box_pointer); |
179 | } |
179 | } |
Line 180... | Line 180... | ||
180 | 180 | ||
181 | :void DrawProgressBar(dword st_x, st_y, st_w, st_h, col_fon, col_border, col_fill, col_text, progress_percent) |
181 | :void DrawProgressBar(dword st_x, st_y, st_w, st_h, col_fon, col_border, col_fill, col_text, progress_percent) |