Rev 9585 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9585 | Rev 9602 | ||
---|---|---|---|
Line 383... | Line 383... | ||
383 | SetElementSizes(); |
383 | SetElementSizes(); |
Line 384... | Line 384... | ||
384 | 384 | ||
385 | if (!application_mode) { |
385 | if (!application_mode) { |
386 | DrawBar(0,0, Form.cwidth,PADDING, sc.work); |
386 | DrawBar(0,0, Form.cwidth,PADDING, sc.work); |
387 | DrawBar(0,PADDING+TSZE+1, Form.cwidth,PADDING-1, sc.work); |
387 | DrawBar(0,PADDING+TSZE+1, Form.cwidth,PADDING-1, sc.work); |
388 | DrawBar(0,TOOLBAR_H-2, Form.cwidth,1, MixColors(sc.work_dark, sc.work, 180)); |
388 | DrawBar(0,TOOLBAR_H-2, Form.cwidth,1, MixColors(sc.dark, sc.work, 180)); |
389 | DrawBar(0,TOOLBAR_H-1, Form.cwidth,1, sc.work_graph); |
389 | DrawBar(0,TOOLBAR_H-1, Form.cwidth,1, sc.line); |
390 | DrawBar(0, PADDING, omnibox_edit.left-2, TSZE+1, sc.work); |
390 | DrawBar(0, PADDING, omnibox_edit.left-2, TSZE+1, sc.work); |
Line 391... | Line 391... | ||
391 | DrawBar(omnibox_edit.left+omnibox_edit.width+18, PADDING, Form.cwidth-omnibox_edit.left-omnibox_edit.width-18, TSZE+1, sc.work); |
391 | DrawBar(omnibox_edit.left+omnibox_edit.width+18, PADDING, Form.cwidth-omnibox_edit.left-omnibox_edit.width-18, TSZE+1, sc.work); |
392 | 392 | ||
393 | DrawTopPanelButton(BACK_BUTTON, PADDING-1, PADDING, 30, false); |
393 | DrawTopPanelButton(BACK_BUTTON, PADDING-1, PADDING, 30, false); |
Line 394... | Line 394... | ||
394 | DrawTopPanelButton(FORWARD_BUTTON, PADDING+TSZE+PADDING-2, PADDING, 31, false); |
394 | DrawTopPanelButton(FORWARD_BUTTON, PADDING+TSZE+PADDING-2, PADDING, 31, false); |
Line 395... | Line 395... | ||
395 | DrawTopPanelButton(SANDWICH_BUTTON, Form.cwidth-PADDING-TSZE-3, PADDING, -1, burger_active); //burger menu |
395 | DrawTopPanelButton(SANDWICH_BUTTON, Form.cwidth-PADDING-TSZE-3, PADDING, -1, burger_active); //burger menu |
396 | 396 | ||
397 | DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,1, sc.work_graph); |
397 | DrawBar(0,Form.cheight - STATUSBAR_H, Form.cwidth,1, sc.line); |
Line 899... | Line 899... | ||
899 | 899 | ||
900 | void DrawOmnibox() |
900 | void DrawOmnibox() |
901 | { |
901 | { |
902 | int imgxoff; |
902 | int imgxoff; |
903 | if (application_mode) return; |
903 | if (application_mode) return; |
904 | DrawOvalBorder(omnibox_edit.left-2, omnibox_edit.top-3, omnibox_edit.width+18, 24, sc.work_graph, |
904 | DrawOvalBorder(omnibox_edit.left-2, omnibox_edit.top-3, omnibox_edit.width+18, 24, sc.line, |
905 | sc.work_graph, sc.work_graph, sc.work_dark); |
905 | sc.line, sc.line, sc.dark); |
906 | DrawBar(omnibox_edit.left-1, omnibox_edit.top-2, omnibox_edit.width+18, 1, 0xD8DCD8); |
906 | DrawBar(omnibox_edit.left-1, omnibox_edit.top-2, omnibox_edit.width+18, 1, 0xD8DCD8); |
907 | DrawBar(omnibox_edit.left-1, omnibox_edit.top-1, omnibox_edit.width+18, 1, omnibox_edit.color); |
907 | DrawBar(omnibox_edit.left-1, omnibox_edit.top-1, omnibox_edit.width+18, 1, omnibox_edit.color); |
Line 908... | Line 908... | ||
908 | DrawBar(omnibox_edit.left-1, omnibox_edit.top, 1, 22, omnibox_edit.color); |
908 | DrawBar(omnibox_edit.left-1, omnibox_edit.top, 1, 22, omnibox_edit.color); |
909 | 909 | ||
910 | if (omnibox_edit.flags & ed_focus) omnibox_edit.flags = ed_focus; else omnibox_edit.flags = 0; |
910 | if (omnibox_edit.flags & ed_focus) omnibox_edit.flags = ed_focus; else omnibox_edit.flags = 0; |
911 | EditBox_UpdateText(#omnibox_edit, omnibox_edit.flags); |
911 | EditBox_UpdateText(#omnibox_edit, omnibox_edit.flags); |
912 | edit_box_draw stdcall(#omnibox_edit); |
912 | edit_box_draw stdcall(#omnibox_edit); |
913 | if (http.transfer) imgxoff = 16*23*3; else imgxoff = 0; |
913 | if (http.transfer) imgxoff = 16*23*3; else imgxoff = 0; |
Line 914... | Line 914... | ||
914 | _PutImage(omnibox_edit.left+omnibox_edit.width+1, omnibox_edit.top-1, 16, 23, imgxoff + #editbox_icons); |
914 | PutImage(omnibox_edit.left+omnibox_edit.width+1, omnibox_edit.top-1, 16, 23, imgxoff + #editbox_icons); |
915 | DefineHiddenButton(omnibox_edit.left+omnibox_edit.width-1, omnibox_edit.top-2, 17, 23, REFRESH_BUTTON); |
915 | DefineHiddenButton(omnibox_edit.left+omnibox_edit.width-1, omnibox_edit.top-2, 17, 23, REFRESH_BUTTON); |