Rev 7637 | Rev 7647 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7637 | Rev 7645 | ||
---|---|---|---|
Line 91... | Line 91... | ||
91 | PutPixel(x,y+3,col_pxl); |
91 | PutPixel(x,y+3,col_pxl); |
92 | PutPixel(x+3,y+3,col_pxl); |
92 | PutPixel(x+3,y+3,col_pxl); |
93 | } |
93 | } |
94 | 94 | ||
Line 95... | Line 95... | ||
95 | :void DrawCaptButtonSmallText(dword x,y,w,h,id,color_b, color_t,text) |
95 | void DrawCaptButtonSmallText(dword x,y,w,h,id,color_b, color_t,text) |
96 | { |
96 | { |
97 | dword tx = -strlen(text)*6+w/2+x; |
97 | dword tx = -strlen(text)*6+w/2+x; |
98 | dword ty = h/2-3+y; |
98 | dword ty = h/2-3+y; |
99 | DefineButton(x,y,w,h,id,color_b); |
99 | DefineButton(x,y,w,h,id,color_b); |
100 | WriteText(tx,ty,0x80,color_t,text); |
100 | WriteText(tx,ty,0x80,color_t,text); |