Rev 9455 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9455 | Rev 9465 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | static dword checkbox_flag; |
29 | static dword checkbox_flag; |
30 | dword text_col = sc.work_text; |
30 | dword text_col = sc.work_text; |
31 | if (!id) id = GetFreeButtonId(); |
31 | if (!id) id = GetFreeButtonId(); |
32 | x=_x; y=_y; |
32 | x=_x; y=_y; |
Line 33... | Line 33... | ||
33 | 33 | ||
- | 34 | DefineHiddenButton(x-1, y-1, strlen(text)*8 + SIZE + 17, SIZE+2, id+BT_NOFRAME); |
|
34 | DefineButton(x-1, y-1, strlen(text)*8 + SIZE + 17, SIZE+2, id+BT_HIDE+BT_NOFRAME, 0); |
35 | UnsafeDefineButton(x, y, SIZE, SIZE, id, 0); |
35 | DrawRectangle(x, y, SIZE, SIZE, sc.work_graph); |
36 | DrawRectangle(x, y, SIZE, SIZE, sc.work_graph); |
36 | if (disabled) |
37 | if (disabled) |
37 | { |
38 | { |
38 | DrawRectangle(x+1, y+1, SIZE-2, SIZE-2, 0xffffff); |
39 | DrawRectangle(x+1, y+1, SIZE-2, SIZE-2, 0xffffff); |