mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-05 00:50:53 +00:00
dont shift coord
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@54 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user