Rev 4475 | Rev 4666 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4475 | Rev 4486 | ||
---|---|---|---|
Line -... | Line 1... | ||
- | 1 | dword buf_data; |
|
1 | dword buf_data; |
2 | |
Line 2... | Line 3... | ||
2 | 3 | struct DrawBufer { |
|
3 | struct DrawBufer { |
4 | int bufx, bufy, bufw, bufh, buf_line_h; |
Line 25... | Line 26... | ||
25 | } |
26 | |
Line 26... | Line 27... | ||
26 | 27 | void DrawBufer::Fill(dword fill_color) |
|
27 | void DrawBufer::Fill(dword fill_color) |
28 | { |
28 | { |
29 | int i; |
29 | int i; |
30 | int max_i = bufw * buf_line_h + 4 * 4 + buf_data +8; |
30 | int max_i = bufw * buf_line_h + 4 * 4 + buf_data; |
31 | for (i=buf_data+8; i |
31 | for (i=buf_data; i |
32 | } |
Line 32... | Line 33... | ||
32 | } |
33 | |
33 | 34 | void DrawBufer::DrawBar(dword x, y, w, h, color) |
|
34 | void DrawBufer::DrawBar(dword x, y, w, h, color) |
35 | { |
35 | { |
36 | int i, j; |
36 | int i, j; |
37 | for (j=0; j |
37 | for (j=0; j |
38 | { |
38 | { |
39 | for (i = y+j*bufw+x*4+8+buf_data; i |
39 | for (i = y+j*bufw+x*4; i |
40 | } |
Line 40... | Line 41... | ||
40 | } |
41 | } |
41 | } |
42 |