mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-16 22:24:07 +00:00
va
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@34 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -7,14 +7,10 @@ void handler(MilskoWidget handle){
|
||||
}
|
||||
|
||||
int main(){
|
||||
MilskoWidget window = MilskoCreateWidget(MilskoWindowClass, "main", NULL, 0, 0, 400, 400);
|
||||
MilskoWidget button = MilskoCreateWidget(MilskoButtonClass, "button", window, 50, 50, 300, 300);
|
||||
|
||||
MilskoApply(window,
|
||||
MilskoWidget window = MilskoVaCreateWidget(MilskoWindowClass, "main", NULL, 0, 0, 400, 400,
|
||||
MilskoNtitle, "hello world",
|
||||
NULL);
|
||||
|
||||
MilskoApply(button,
|
||||
MilskoWidget button = MilskoVaCreateWidget(MilskoButtonClass, "button", window, 50, 50, 300, 300,
|
||||
MilskoNactivateHandler, handler,
|
||||
NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user