mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
add
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@527 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
14
examples/basic/progressbar.c
Normal file
14
examples/basic/progressbar.c
Normal file
@@ -0,0 +1,14 @@
|
||||
#include <Mw/Milsko.h>
|
||||
|
||||
int main() {
|
||||
MwWidget w = MwVaCreateWidget(MwWindowClass, "main", NULL, MwDEFAULT, MwDEFAULT, 5 + 640 + 5, 5 + 32 + 5,
|
||||
MwNtitle, "progress bar",
|
||||
NULL);
|
||||
MwWidget p = MwVaCreateWidget(MwProgressBarClass, "progress", w, 5, 5, 640, 32,
|
||||
MwNvalue, 25,
|
||||
NULL);
|
||||
|
||||
(void)p;
|
||||
|
||||
MwLoop(w);
|
||||
}
|
||||
Reference in New Issue
Block a user