Rev 6808 | Rev 7160 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6808 | Rev 6997 | ||
---|---|---|---|
Line 271... | Line 271... | ||
271 | } |
271 | } |
Line 272... | Line 272... | ||
272 | 272 | ||
273 | :int LABEL::WriteIntoWindowCenter(dword x,y,w,h; dword _background, _color; byte fontSizePoints; dword text1) |
273 | :int LABEL::WriteIntoWindowCenter(dword x,y,w,h; dword _background, _color; byte fontSizePoints; dword text1) |
274 | { |
274 | { |
275 | getsize(fontSizePoints, text1); |
275 | getsize(fontSizePoints, text1); |
276 | return WriteIntoWindow(w-size.width/2+x,y, _background, _color, fontSizePoints, text1); |
276 | return WriteIntoWindow(w-size.width/2+x-1,y, _background, _color, fontSizePoints, text1); |
Line 277... | Line 277... | ||
277 | } |
277 | } |
278 | 278 | ||
279 | :void LABEL::ShowBuffer(dword _x, _y) |
279 | :void LABEL::ShowBuffer(dword _x, _y) |