49,7 → 49,7 |
check_values(); |
x=_x; y=_y; |
|
DrawRectangle(x, y, VALUE_FIELD_W+1, SIZE, sc.work_graph); |
DrawRectangle(x, y, VALUE_FIELD_W+1, SIZE, sc.line); |
DrawRectangle3D(x+1, y+1, VALUE_FIELD_W-2, SIZE-2, 0xDDDddd, 0xffffff); |
|
if (disabled) |
56,7 → 56,7 |
{ |
DrawRectangle(x+1, y+1, VALUE_FIELD_W-2, SIZE-2, 0xffffff); |
DrawBar(x+2, y+2, VALUE_FIELD_W-3, SIZE-3, 0xCCCccc); |
text_col = sc.work_graph; |
text_col = sc.line; |
} |
else |
{ |
69,7 → 69,7 |
DrawCaptButton(VALUE_FIELD_W + x + 1, y, SIZE, SIZE, id_inc, sc.button, sc.button_text, "+"); |
DrawCaptButton(VALUE_FIELD_W + x + SIZE, y, SIZE, SIZE, id_dec, sc.button, sc.button_text, "-"); |
WriteTextWithBg(x+VALUE_FIELD_W+SIZE+SIZE+10, SIZE / 2 + y -7, 0xD0, text_col, text, sc.work); |
DrawRectangle3D(x-1,y-1,VALUE_FIELD_W+SIZE+SIZE+2,SIZE+2,sc.work_dark,sc.work_light); |
DrawRectangle3D(x-1,y-1,VALUE_FIELD_W+SIZE+SIZE+2,SIZE+2,sc.dark,sc.light); |
} |
|
:void more_less_box::redraw() |