111,7 → 111,7 |
else DrawTabsBar(); |
} |
|
void DrawNewTabButton() |
int DrawNewTabButton() |
{ |
dword btn_light = MixColors(system.color.work_button, 0xFFFfff, 220); |
dword btn_dark = MixColors(system.color.work_button, 0, 180); |
124,6 → 124,9 |
PutPixel(xxx+1+TAB_H, TOOLBAR_H, btn_dark); |
DefineHiddenButton(xxx+1, TOOLBAR_H, TAB_H-1, TAB_H-1, NEW_TAB); |
WriteText(xxx+7, TOOLBAR_H+2, 0x90, system.color.work_button_text, "+"); |
return xxx + TAB_H + 2; |
} else { |
return xxx; |
} |
} |
|
132,8 → 135,7 |
dword i; |
tab_w = GetTabWidth(); |
for (i=0; i<tab.count; i++) DrawTab(i); |
DrawNewTabButton(); |
i = tab_w * i + TAB_H + 2; |
i = DrawNewTabButton(); |
DrawBar(i, TOOLBAR_H, Form.cwidth-i, TAB_H-1, MixColors(system.color.work_dark, system.color.work, 128)); |
DrawBar(i, TOOLBAR_H+TAB_H-1, Form.cwidth-i, 1, system.color.work_graph); |
} |