Rev 7977 | Rev 8952 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7977 | Rev 8789 | ||
---|---|---|---|
Line 21... | Line 21... | ||
21 | if (_icon_n==-1) { |
21 | if (_icon_n==-1) { |
22 | DrawBar(_x+6, _y+5, 16, 16, semi_white); |
22 | DrawBar(_x+6, _y+5, 16, 16, semi_white); |
23 | for (i=0; i<=2; i++) DrawBar(_x+6, i*5+_y+7, 15, 3, sc.work_graph); |
23 | for (i=0; i<=2; i++) DrawBar(_x+6, i*5+_y+7, 15, 3, sc.work_graph); |
24 | } else { |
24 | } else { |
25 | img_draw stdcall(top_icons.image, _x+6, _y+5+pressed, 16, 16, 0, _icon_n*16); |
25 | i = TSZE - top_icons.w / 2; //icon pos |
- | 26 | img_draw stdcall(top_icons.image, _x+i+2, _y+i+1+pressed, top_icons.w, top_icons.w, 0, _icon_n*top_icons.w); |
|
26 | } |
27 | } |
27 | 28 | ||
Line 28... | Line 29... | ||
28 | if (!pressed) { |
29 | if (!pressed) { |
29 | DrawOvalBorder(_x, _y, TSZE, TSZE, bg_col_light, bg_col_dark, semi_white, sc.work); |
30 | DrawOvalBorder(_x, _y, TSZE, TSZE, bg_col_light, bg_col_dark, semi_white, sc.work); |
30 | } else { |
31 | } else { |