background pixmap
This commit is contained in:
parent
e57f3fd910
commit
363897df74
8 changed files with 29 additions and 17 deletions
|
|
@ -35,9 +35,7 @@ static void draw(MwWidget handle) {
|
|||
} else {
|
||||
MwDrawWidgetBack(handle, &r, base, handle->pressed, 1);
|
||||
}
|
||||
if(bgpx != NULL) {
|
||||
MwLLDrawPixmap(handle->lowlevel, &r, bgpx);
|
||||
}
|
||||
if(bgpx != NULL) MwLLDrawPixmap(handle->lowlevel, &r, bgpx);
|
||||
if(MwGetInteger(handle, MwNflat) && !handle->pressed) {
|
||||
r.x += MwDefaultBorderWidth(handle);
|
||||
r.y += MwDefaultBorderWidth(handle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue