Rev 7286 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7286 | Rev 7293 | ||
---|---|---|---|
Line 45... | Line 45... | ||
45 | STEP_3_DRAW_PAGE_INTO_BUFFER = 60, |
45 | STEP_3_DRAW_PAGE_INTO_BUFFER = 60, |
46 | STEP_4_SMOOTH_FONT = 88, |
46 | STEP_4_SMOOTH_FONT = 88, |
47 | STEP_5_STOP = 100, |
47 | STEP_5_STOP = 100, |
48 | }; |
48 | }; |
Line 49... | Line 49... | ||
49 | 49 | ||
50 | void DrawProgress(int percent) |
50 | void DrawProgress(dword percent) |
51 | { |
51 | { |
52 | int progress_width; |
52 | dword progress_width; |
53 | if (percent<100) { |
53 | if (percent<100) { |
54 | progress_width = address_box.width+5*percent/100; |
54 | progress_width = address_box.width+5*percent/100; |
55 | DrawBar(address_box.left-3, address_box.top+16, progress_width, 2, 0x72B7EA); |
55 | DrawBar(address_box.left-3, address_box.top+16, progress_width, 2, 0x72B7EA); |
56 | } |
56 | } |