forked from pyrite-dev/milsko
dont shift coord
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@54 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
f0b0ad820c
commit
3cb4492952
1 changed files with 4 additions and 4 deletions
|
|
@ -110,10 +110,10 @@ void MwDrawFrame(MwWidget handle, MwRect* rect, MwLLColor color, int invert) {
|
|||
MwLLFreeColor(lighter);
|
||||
MwLLFreeColor(darker);
|
||||
|
||||
rect->x += border + (invert ? border : 0);
|
||||
rect->y += border + (invert ? border : 0);
|
||||
rect->width -= border * 2 + (invert ? border : 0);
|
||||
rect->height -= border * 2 + (invert ? border : 0);
|
||||
rect->x += border;
|
||||
rect->y += border;
|
||||
rect->width -= border * 2;
|
||||
rect->height -= border * 2;
|
||||
}
|
||||
|
||||
void MwDrawText(MwWidget handle, MwPoint* point, const char* text, MwLLColor color) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue