refactor font api
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
9fc659b652
commit
0de09207a4
31 changed files with 12209 additions and 6149 deletions
|
|
@ -102,7 +102,7 @@ MwWidget MwMessageBox(MwWidget handle, const char* text, const char* title, unsi
|
|||
left = 8 + 48 + 8;
|
||||
}
|
||||
|
||||
th = MwTextHeight(handle, text);
|
||||
th = MwTextHeight(handle, NULL, text);
|
||||
(void)MwVaCreateWidget(MwLabelClass, "label", window, left, (h - th) / 2, w - left - 8, th,
|
||||
MwNtext, text,
|
||||
MwNalignment, MwALIGNMENT_BEGINNING,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue