git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@776 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-22 09:01:21 +00:00
parent 625f5144dd
commit 2b68d3d3b5
2 changed files with 4 additions and 2 deletions

View File

@@ -136,7 +136,9 @@ void resize(MwWidget handle, void* user, void* call) {
int main() {
MwLLColor bgcolor, fgcolor;
window = MwVaCreateWidget(MwWindowClass, "main", NULL, 0, 0, 250, 100,
MwLibraryInit();
window = MwVaCreateWidget(MwWindowClass, "main", NULL, MwDEFAULT, MwDEFAULT, 250, 100,
MwNtitle, "clock",
NULL);

View File

@@ -73,7 +73,7 @@ void activate(MwWidget handle, void* user_data, void* call_data) {
int main() {
MwLibraryInit();
window = MwVaCreateWidget(MwWindowClass, "main", NULL, 0, 0, 400, 450,
window = MwVaCreateWidget(MwWindowClass, "main", NULL, MwDEFAULT, MwDEFAULT, 400, 450,
MwNtitle, "hello world",
NULL);
opengl = MwCreateWidget(MwOpenGLClass, "opengl", window, 50, 50, (ow = 300), (oh = 300));