mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
22 lines
390 B
C
22 lines
390 B
C
|
|
#include <Mw/Milsko.h>
|
|
|
|
int main() {
|
|
MwWidget window;
|
|
int i;
|
|
|
|
MwLibraryInit();
|
|
|
|
window = MwVaCreateWidget(MwWindowClass, "main", NULL, MwDEFAULT, MwDEFAULT, 500, 500,
|
|
MwNtitle, "main",
|
|
NULL);
|
|
|
|
for(i = 0; i < 500 / 16; i++) {
|
|
MwVaCreateWidget(MwScrollBarClass, "scroll", window, 16 * i, 0, 16, 500,
|
|
MwNorientation, MwVERTICAL,
|
|
NULL);
|
|
}
|
|
|
|
MwLoop(window);
|
|
}
|