1 macro DrawBar x, y, width, height, color
\r
3 mcall 13, (x) shl 16 + (width), (y) shl 16 + (height), color
\r
6 macro DrawRectangle x, y, w, h, color
\r
8 DrawBar x,y,w,1,color
\r
14 macro DrawRectangle3D x, y, w, h, color1, color2
\r
16 DrawBar x,y,w,1,color1
\r
18 DrawBar x,y+h,w,1,color2
\r
22 macro DrawWideRectangle x, y, w, h, boder, color
\r
24 DrawBar x, y, w, boder, color
\r
25 DrawBar x, y+h-boder, w, boder
\r
26 DrawBar x, y+boder, boder, h-boder-boder
\r
27 DrawBar x+w-boder, y+boder, boder, h-boder-boder
\r