format
This commit is contained in:
parent
55f82e4fbc
commit
9ea54b4f88
2 changed files with 2 additions and 2 deletions
|
|
@ -108,7 +108,7 @@ struct _MwMenu {
|
||||||
int keep;
|
int keep;
|
||||||
MwWidget wsub;
|
MwWidget wsub;
|
||||||
MwMenu* sub;
|
MwMenu* sub;
|
||||||
void* user;
|
void* user;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _MwEntry {
|
struct _MwEntry {
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ static void draw(MwWidget handle) {
|
||||||
if(menu->sub[i]->wsub != NULL) {
|
if(menu->sub[i]->wsub != NULL) {
|
||||||
r.x = 0;
|
r.x = 0;
|
||||||
r.y = p.y - 3;
|
r.y = p.y - 3;
|
||||||
r.width = MwGetInteger(handle, MwNwidth);
|
r.width = MwGetInteger(handle, MwNwidth);
|
||||||
r.height = th + 3 * 2;
|
r.height = th + 3 * 2;
|
||||||
MwDrawWidgetBack(handle, &r, base, 0, MwTRUE);
|
MwDrawWidgetBack(handle, &r, base, 0, MwTRUE);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue