mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
fix demo
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@776 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user