September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -24,14 +24,14 @@ function esc_close(Ihandle /*ih*/, atom c)
|
|||
return iff(c=K_ESC?IUP_CLOSE:IUP_CONTINUE)
|
||||
end function
|
||||
|
||||
IupOpen("../pGUI/")
|
||||
txt = IupText(Icallback("action_cb"),"EXPAND=YES")
|
||||
increment = IupButton("increment",Icallback("increment_cb"))
|
||||
random = IupButton("random",Icallback("random_cb"))
|
||||
hbx = IupHbox({increment,random},"MARGIN=0x10, GAP=20")
|
||||
vbx = IupVbox({txt,hbx},"MARGIN=40x20")
|
||||
dlg = IupDialog(vbx)
|
||||
IupSetCallback(dlg, "K_ANY", Icallback("esc_close"))
|
||||
IupShow(dlg)
|
||||
IupMainLoop()
|
||||
IupClose()
|
||||
IupOpen()
|
||||
txt = IupText(Icallback("action_cb"),"EXPAND=YES")
|
||||
increment = IupButton("increment",Icallback("increment_cb"))
|
||||
random = IupButton("random",Icallback("random_cb"))
|
||||
hbx = IupHbox({increment,random},"MARGIN=0x10, GAP=20")
|
||||
vbx = IupVbox({txt,hbx},"MARGIN=40x20")
|
||||
dlg = IupDialog(vbx)
|
||||
IupSetCallback(dlg, "K_ANY", Icallback("esc_close"))
|
||||
IupShow(dlg)
|
||||
IupMainLoop()
|
||||
IupClose()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue