Rev 5676 | Rev 5761 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5676 | Rev 5738 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | DrawBar(x,y+h,w,1,color1); |
17 | DrawBar(x,y+h,w,1,color1); |
18 | DrawBar(x,y,1,h,color1); |
18 | DrawBar(x,y,1,h,color1); |
19 | DrawBar(x+w,y,1,h+1,color1); |
19 | DrawBar(x+w,y,1,h+1,color1); |
20 | } |
20 | } |
Line -... | Line 21... | ||
- | 21 | ||
- | 22 | :void DrawWideRectangle(dword x,y,w,h,boder,color1) |
|
- | 23 | { |
|
- | 24 | if (w<=0) || (h<=0) return; |
|
- | 25 | DrawBar(x, y, w, boder, color1); |
|
- | 26 | DrawBar(x, y+h-boder, w, boder, color1); |
|
- | 27 | DrawBar(x, y+boder, boder, h-boder-boder, color1); |
|
- | 28 | DrawBar(x+w-boder, y+boder, boder, h-boder-boder, color1); |
|
- | 29 | } |
|
21 | 30 | ||
22 | :void DrawRectangle3D(dword x,y,w,h,color1,color2) |
31 | :void DrawRectangle3D(dword x,y,w,h,color1,color2) |
23 | { |
32 | { |
24 | if (w<=0) || (h<=0) return; |
33 | if (w<=0) || (h<=0) return; |
25 | DrawBar(x,y,w+1,1,color1); |
34 | DrawBar(x,y,w+1,1,color1); |