add progressbar
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@525 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
e2b654853c
commit
e5e0de7765
25 changed files with 159 additions and 52 deletions
|
|
@ -38,8 +38,8 @@ static void draw(MwWidget handle) {
|
|||
r.width = px->width * sh;
|
||||
r.height = px->height * sh;
|
||||
}
|
||||
r.width -= MwGetDefaultBorderWidth(handle) * 2;
|
||||
r.height -= MwGetDefaultBorderWidth(handle) * 2;
|
||||
r.width -= MwDefaultBorderWidth(handle) * 2;
|
||||
r.height -= MwDefaultBorderWidth(handle) * 2;
|
||||
|
||||
r.x += (double)(ow - r.width) / 2;
|
||||
r.y += (double)(oh - r.height) / 2;
|
||||
|
|
@ -75,7 +75,7 @@ MwClassRec MwButtonClassRec = {
|
|||
MwForceRender2, /* mouse_up */
|
||||
MwForceRender2, /* mouse_down */
|
||||
NULL, /* key */
|
||||
NULL, /* custom */
|
||||
NULL, /* execute */
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue