30,7 → 30,6 |
|
:void DrawRectangle(dword x,y,w,h,color1) |
{ |
if (w<=0) || (h<=0) return; |
DrawBar(x,y,w,1,color1); |
DrawBar(x,y+h,w,1,color1); |
DrawBar(x,y,1,h,color1); |
39,7 → 38,6 |
|
:void DrawWideRectangle(dword x,y,w,h,boder,color1) |
{ |
if (w<=0) || (h<=0) return; |
DrawBar(x, y, w, boder, color1); |
DrawBar(x, y+h-boder, w, boder, color1); |
DrawBar(x, y+boder, boder, h-boder-boder, color1); |
48,7 → 46,6 |
|
:void DrawRectangle3D(dword x,y,w,h,color1,color2) |
{ |
if (w<=0) || (h<=0) return; |
DrawBar(x,y,w+1,1,color1); |
DrawBar(x,y+1,1,h-1,color1); |
DrawBar(x+w,y+1,1,h,color2); |