IUP: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
=== Alarm === | === Alarm === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/dlg/iupalarm.html] | [http://www.tecgraf.puc-rio.br/iup/en/dlg/iupalarm.html] | ||
Line 47: | Line 45: | ||
=== Appand === | === Appand === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupappend.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupappend.html] | ||
<br> | <br> | ||
=== Button === | === Button === | ||
Line 68: | Line 63: | ||
''button'' [[API_iup_button|button]] | ''button'' [[API_iup_button|button]] | ||
<br> | <br> | ||
=== CancelDragDrop === | === CancelDragDrop === | ||
Line 77: | Line 71: | ||
[[DragDrop]] | [[DragDrop]] | ||
<br> | <br> | ||
=== Canvas === | === Canvas === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
[[IUP Generator function]]. See:[[API_iup_canvas|iup.canvas]] | |||
<br> | <br> | ||
=== Cboxv === | === Cboxv === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
[[IUP Generator function]]. See:[[API_iup_cbox|iup.cbox]] | |||
<br> | <br> | ||
=== Destroy === | === Destroy === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupdestroy.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupdestroy.html] | ||
Line 114: | Line 89: | ||
=== Detach === | === Detach === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupdetach.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupdetach.html] | ||
Line 121: | Line 94: | ||
=== Dialog === | === Dialog === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
[[IUP Generator function]]. See:[[API_iup_dialog|iup.dialog]] | |||
<br> | <br> | ||
=== DoDragDrop === | === DoDragDrop === | ||
Line 144: | Line 108: | ||
=== FileDlg === | === FileDlg === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
does nothing | does nothing | ||
Line 152: | Line 113: | ||
=== Fill === | === Fill === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
[[IUP Generator function]]. See:[[API_iup_fill|iup.fill]] | |||
<br> | <br> | ||
=== Flush === | === Flush === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupflush.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupflush.html] | ||
<br> | <br> | ||
=== Frame === | === Frame === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
[[IUP Generator function]]. See:[[API_iup_frame|iup.frame]] | |||
<br> | <br> | ||
=== GetAttribute === | === GetAttribute === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupgetattribute.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupgetattribute.html] | ||
Line 196: | Line 134: | ||
=== GetAttributeData === | === GetAttributeData === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupgetattribute.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupgetattribute.html] | ||
Line 203: | Line 139: | ||
=== GetAttributes === | === GetAttributes === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupgetattribute.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupgetattribute.html] | ||
Line 211: | Line 145: | ||
=== GetBrother === | === GetBrother === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupgetattribute.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupgetattribute.html] | ||
Line 218: | Line 150: | ||
=== GetBrother === | === GetBrother === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupgetattribute.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupgetattribute.html] | ||
Line 225: | Line 155: | ||
=== GetCapture === | === GetCapture === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
no clue | no clue | ||
Line 232: | Line 160: | ||
=== GetDialog === | === GetDialog === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/dlg/iupgetdialog.html] | [http://www.tecgraf.puc-rio.br/iup/en/dlg/iupgetdialog.html] | ||
Line 239: | Line 165: | ||
=== GetFocus === | === GetFocus === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupgetfocus.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupgetfocus.html] | ||
Line 246: | Line 170: | ||
=== GetFromC === | === GetFromC === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
no idea | no idea | ||
Line 253: | Line 175: | ||
=== GetGlobal === | === GetGlobal === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupgetglobal.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupgetglobal.html] | ||
Line 260: | Line 180: | ||
=== GetHandle === | === GetHandle === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupgethandle.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupgethandle.html] | ||
Line 267: | Line 185: | ||
=== GetLanguage === | === GetLanguage === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupgetlanguage.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupgetlanguage.html] | ||
Line 275: | Line 191: | ||
=== GetName === | === GetName === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupgetname.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupgetname.html] | ||
Line 282: | Line 196: | ||
=== GetNextChild === | === GetNextChild === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupgetnextchild.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupgetnextchild.html] | ||
Line 289: | Line 201: | ||
=== GetParent === | === GetParent === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupgetparent.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupgetparent.html] | ||
Line 319: | Line 229: | ||
=== Hbox === | === Hbox === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
[[IUP Generator function]]. See:[[API_iup_hbox|iup.hbox]] | |||
<br> | <br> | ||
=== Help === | === Help === | ||
Line 340: | Line 244: | ||
=== Hide === | === Hide === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
http://www.tecgraf.puc-rio.br/iup/en/func//iuphide.html | http://www.tecgraf.puc-rio.br/iup/en/func//iuphide.html | ||
Line 348: | Line 250: | ||
=== Image === | === Image === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
Create iup image. It doesn't seem to be possible to use the returned image in other elements. | Create iup image. It doesn't seem to be possible to use the returned image in other elements. | ||
Line 355: | Line 255: | ||
=== Item === | === Item === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
Create iup item for iup menus, which don't seem to work. | Create iup item for iup menus, which don't seem to work. | ||
Line 362: | Line 260: | ||
=== Joystick === | === Joystick === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
[[IUP Generator function]]. See:[[API_iup_joystick|iup.joystick]] | |||
<br> | <br> | ||
=== Label === | === Label === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
[[IUP Generator function]]. See:[[API_iup_label|iup.label]] | |||
<br> | <br> | ||
=== List === | === List === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
[[IUP Generator function]]. See:[[API_iup_list|iup.list]] | |||
<br> | <br> | ||
=== ListDialog === | === ListDialog === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
http://www.tecgraf.puc-rio.br/iup/en/dlg/iuplistdialog.html | http://www.tecgraf.puc-rio.br/iup/en/dlg/iuplistdialog.html | ||
Line 410: | Line 281: | ||
=== LoadImage === | === LoadImage === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
Create iup image. It doesn't seem to be possible to use the returned image in other elements. | Create iup image. It doesn't seem to be possible to use the returned image in other elements. see iup2 docs. | ||
<br> | <br> | ||
Line 426: | Line 295: | ||
''map'' [[API_iup_navmap|navmap]]<br> | ''map'' [[API_iup_navmap|navmap]]<br> | ||
''type'' map type. system (1), sector (2)<br> | ''type'' map type. system (1), sector (2)<br> | ||
''name'' map to load<br> | ''name'' map to load. "lua/maps/systemXXmap.lua" (where XX is the system id) or "lua/maps/universemap.lua" | ||
''arg3'' no idea. | <br> | ||
''arg3'' no idea. selected system - 1 for type 1 and 0 for type 2 | |||
<br> | <br> | ||
=== LoopStep === | === LoopStep === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iuploopstep.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iuploopstep.html] | ||
Line 438: | Line 306: | ||
=== MainLoop === | === MainLoop === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupmainloop.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupmainloop.html] | ||
Line 445: | Line 311: | ||
=== Map === | === Map === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupmap.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupmap.html] | ||
Line 452: | Line 316: | ||
=== MapFont === | === MapFont === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/ | [http://www.tecgraf.puc-rio.br/iup/en/func/iupmapfont.html] | ||
Doesn't seem to work. | Doesn't seem to work. | ||
<br> | <br> | ||
=== Matrix === | === Matrix === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
[[IUP Generator function]]. See:[[API_iup_matrix|iup.matrix]] | |||
<br> | <br> | ||
=== MatrixGetAttribute === | === MatrixGetAttribute === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/ctrl/iupmatrix.html] | [http://www.tecgraf.puc-rio.br/iup/en/ctrl/iupmatrix.html] | ||
Line 479: | Line 332: | ||
=== MatrixGetCell === | === MatrixGetCell === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/ctrl/iupmatrix.html] | [http://www.tecgraf.puc-rio.br/iup/en/ctrl/iupmatrix.html] | ||
Line 486: | Line 337: | ||
=== MatrixSetAttribute === | === MatrixSetAttribute === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/ctrl/iupmatrix.html] | [http://www.tecgraf.puc-rio.br/iup/en/ctrl/iupmatrix.html] | ||
Line 493: | Line 342: | ||
=== MatrixSetCell === | === MatrixSetCell === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/ctrl/iupmatrix.html] | [http://www.tecgraf.puc-rio.br/iup/en/ctrl/iupmatrix.html] | ||
Line 500: | Line 347: | ||
=== Menu === | === Menu === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
Create iup menu. Doesn't seem to work. | Create iup menu. Doesn't seem to work. | ||
Line 507: | Line 352: | ||
=== Message === | === Message === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/dlg/iupmessage.html] | [http://www.tecgraf.puc-rio.br/iup/en/dlg/iupmessage.html] | ||
Line 514: | Line 357: | ||
=== Modelview === | === Modelview === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
[[IUP Generator function]]. See:[[API_iup_modelview|iup.modelview]] | |||
<br> | <br> | ||
=== Navmap === | === Navmap === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
[[IUP Generator function]]. See:[[API_iup_navmap|iup.navmap]] | |||
<br> | <br> | ||
=== NextField === | === NextField === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupnextfield.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iupnextfield.html] | ||
Line 546: | Line 372: | ||
=== Popup === | === Popup === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iuppopup.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iuppopup.html] | ||
Line 553: | Line 377: | ||
=== PreviousField === | === PreviousField === | ||
'''Description:'''<br> | '''Description:'''<br> | ||
[http://www.tecgraf.puc-rio.br/iup/en/func/iuppreviousfield.html] | [http://www.tecgraf.puc-rio.br/iup/en/func/iuppreviousfield.html] | ||
Line 560: | Line 382: | ||
=== Progressbar === | === Progressbar === | ||
'''Description:''' <br> | '''Description:''' <br> | ||
[[IUP Generator function]]. See:[[API_iup_progressbar|iup.progressbar]] | |||
<br> | <br> | ||
Line 600: | Line 415: | ||
'''Returns:'''<br> | '''Returns:'''<br> | ||
''iupcolor'' [[iupcolor]] | ''iupcolor'' [[iupcolor]] | ||
<br> | |||
=== Radar === | |||
'''Description:''' <br> | |||
[[IUP Generator function]]. See:[[API_iup_radar|iup.radar]] | |||
<br> | |||
=== Radio === | |||
'''Description:''' <br> | |||
[[IUP Generator function]]. See:[[API_iup_radio|iup.radio]] | |||
<br> | |||
=== Refresh === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/func/iuprefresh.html] | |||
<br> | |||
=== ReleaseCapture === | |||
'''Definition:''' | |||
ReleaseCapture(userdata element) -> nil | |||
<br> | |||
'''Description:''' <br> | |||
Stop directing all input to the given element (check this)<br> | |||
<br> | |||
'''Arguments:'''<br> | |||
''element'' an iup element (must be canvas?)<br> | |||
<br> | |||
=== SaveImage === | |||
'''Description:''' <br> | |||
Save iup image. Probably doesn't work. see iup2 docs. | |||
<br> | |||
=== Sbox === | |||
'''Description:''' <br> | |||
[[IUP Generator function]]. See:[[API_iup_sbox|iup.sbox]] | |||
<br> | |||
=== Scanf === | |||
'''Description:''' <br> | |||
no idea | |||
<br> | |||
=== Separator === | |||
'''Description:''' <br> | |||
[[IUP Generator function]]. See:[[API_iup_separator|iup.separator]] | |||
<br> | |||
=== SetAttribute === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupsetattribute.html] | |||
Accessing globals doesn't work as described. | |||
<br> | |||
=== SetAttributes === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupsetattributes.html] | |||
<br> | |||
=== SetCapture === | |||
'''Definition:''' | |||
SetCapture(userdata element) -> nil | |||
<br> | |||
'''Description:''' <br> | |||
Direct all input to the given element (check this)<br> | |||
<br> | |||
'''Arguments:'''<br> | |||
''element'' an iup element (must be canvas?)<br> | |||
<br> | |||
=== SetDefaultFontSize === | |||
'''Definition:''' | |||
SetDefaultFontSize(int size) -> nil | |||
<br> | |||
'''Description:''' <br> | |||
Set default font size for widgets that don't have it set explicitely. <br> | |||
Desn't seem to resize existing text properly<br> | |||
<br> | |||
'''Arguments:'''<br> | |||
''size'' font size<br> | |||
<br> | |||
=== SetFocus === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupsetfocus.html] | |||
<br> | |||
=== SetGlobal === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupsetglobal.html] | |||
<br> | |||
=== SetHandle === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupsethandle.html] | |||
<br> | |||
=== SetIdle === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/call/iup_idle_action.html]<br> | |||
Doesn't seem to work | |||
<br> | |||
=== SetLanguage === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupsetlanguage.html] | |||
<br> | |||
=== SetNavmapPath === | |||
'''Definition:''' | |||
SetNavmapPath(userdata map, path) -> nil | |||
<br> | |||
'''Description:''' <br> | |||
Set path in navmap | |||
<br> | |||
'''Arguments:'''<br> | |||
''map'' [[API_iup_navmap|navmap]]<br> | |||
''path'' full navmap path. see [[API_GetFullPath|GetFullPath]] | |||
<br> | |||
=== SetOrientation === | |||
'''Definition:''' | |||
SetOrientation(userdata mv, quaternion orient) -> nil | |||
<br> | |||
'''Description:''' <br> | |||
Set the orientation of an object within a modelview | |||
<br> | |||
'''Arguments:'''<br> | |||
''mw'' [[API_iup_modelview|modelview]]<br> | |||
''orient'' orientation of object | |||
<br> | |||
=== SetOwner === | |||
'''Description:'''<br> | |||
no idea | |||
<br> | |||
=== SetPosition === | |||
'''Definition:''' | |||
SetPosition(userdata mv, gevector pos) -> nil | |||
<br> | |||
'''Description:''' <br> | |||
Set the position of an object within a modelview | |||
<br> | |||
'''Arguments:'''<br> | |||
''mw'' [[API_iup_modelview|modelview]]<br> | |||
''pos'' position of object | |||
<br> | |||
=== Show === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupshow.html] | |||
<br> | |||
=== ShowXY === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupshowxy.html] | |||
<br> | |||
=== StoreAttribute === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupstoreattribute.html] | |||
<br> | |||
=== StoreGlobal === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupstoreglobal.html] | |||
<br> | |||
=== Submenu === | |||
'''Description:''' <br> | |||
[[IUP Generator function]]. See:[[API_iup_submenu|iup.submenu]] | |||
<br> | |||
=== Tabsv === | |||
'''Description:''' <br> | |||
[[IUP Generator function]]. See:[[API_iup_tabs|iup.tabs]] | |||
<br> | |||
=== Text === | |||
'''Description:''' <br> | |||
[[IUP Generator function]]. See:[[API_iup_text|iup.text]] | |||
<br> | |||
=== Timer === | |||
'''Description:''' <br> | |||
[[IUP Generator function]]. See:[[API_iup_timer|iup.timer]] | |||
<br> | |||
=== Tabsv === | |||
'''Description:''' <br> | |||
[[IUP Generator function]]. See:[[API_iup_tabs|iup.tabs]] | |||
<br> | |||
=== Toggle === | |||
'''Description:''' <br> | |||
[[IUP Generator function]]. See:[[API_iup_toggle|iup.toggle]] | |||
<br> | |||
=== Tree === | |||
'''Description:''' <br> | |||
[[IUP Generator function]]. See:[[API_iup_tree|iup.tree]] | |||
<br> | |||
=== TreeGetAttribute === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/elem/iuptree.html] | |||
<br> | |||
=== TreeGetId === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/elem/iuptree.html] | |||
<br> | |||
=== TreeGetTable === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/elem/iuptree.html] | |||
<br> | |||
=== TreeGetTableId === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/elem/iuptree.html] | |||
<br> | |||
=== TreeGetUserId === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/elem/iuptree.html] | |||
<br> | |||
=== TreeSetAttribute === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/elem/iuptree.html] | |||
<br> | |||
=== TreeSetTableId === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/elem/iuptree.html] | |||
<br> | |||
=== TreeSetUserId === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/elem/iuptree.html] | |||
<br> | |||
=== TreeSetValue === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/elem/iuptree.html] | |||
<br> | |||
=== TreeSetValueRec === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/elem/iuptree.html] | |||
<br> | |||
=== TreeStoreAttribute === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/elem/iuptree.html] | |||
<br> | |||
=== UnMapFont === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupunmapfont.html] | |||
Doesn't seem to work. | |||
<br> | |||
=== Vbox === | |||
'''Description:''' <br> | |||
[[IUP Generator function]]. See:[[API_iup_vbox|iup.vbox]] | |||
<br> | |||
=== Version === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br/iup/en/func/iupversion.html] | |||
<br> | |||
=== VersionNumber === | |||
'''Description:'''<br> | |||
[http://www.tecgraf.puc-rio.br /iup/en/func/iupversion.html] | |||
<br> | |||
=== Zbox === | |||
'''Description:''' <br> | |||
[[IUP Generator function]]. See:[[API_iup_zbox|iup.zbox]] | |||
<br> | |||
=== button === | |||
'''Definition:''' | |||
button{table attribs} -> userdata element | |||
<br> | |||
'''Description:''' <br> | |||
Create a button. see [[API_iup_button|button]]<br> | |||
<br> | |||
'''Arguments:'''<br> | |||
''attribs'' element attributes | |||
<br> | |||
'''Returns:'''<br> | |||
''element'' [[API_iup_button|button]] | |||
<br> | <br> |
Revision as of 19:51, 9 June 2010
Alarm
Description:
[1]
The ICON and PARENTDIALOG globals seem to be ignored
Animate
Definition:
Animate(userdate element, float xstart, ystart, wstart, hstart, xend, yend, wend, hend, length, int type) -> userdata dialog
Description:
Move and resize a control or dialog according to given parameters.
Arguments:
element control or dialog to animate. The animation of controls is clipped to their parent dialog
xstart initial horizontal position. value is relative to the screen. if nil the current position is used (0 - screenwidth)
ystart initial vertical position
wstart initial width
hstart initial height
xend final horizontal position
yend final vertical position
wend final width
hend final height
length animation time in milliseconds
type animation type. if 1 bounce between initial and final state otherwise transform lineary from initial to final state
Example
<source lang="lua">
-- make a dialog and resize it to a size of 200x200 do
local d = iup.dialog{iup.label{title="bla"}} d:show() iup.Animate(d, nil, nil, nil, nil, nil, nil, 200, 200, 1000, 0)
end
-- make a dialog and bounce between the positions 10,10 and 200,10 do
local d = iup.dialog{iup.label{title="bla"}} d:show() iup.Animate(d, 10, 10, nil, nil, 200, 10, nil, nil, 1000, 1)
end </source>
Appand
Description:
[2]
Button
Definition:
Button(string title) -> userdata button
Description:
Create a button.
Note: iup.button is normally used to create this element.
Arguments:
title button title
Returns:
button button
CancelDragDrop
Definition:
CancelDragDrop() -> nil
Description:
DragDrop
Canvas
Description:
IUP Generator function. See:iup.canvas
Cboxv
Description:
IUP Generator function. See:iup.cbox
Destroy
Description:
[3]
Detach
Description:
[4]
Dialog
Description:
IUP Generator function. See:iup.dialog
DoDragDrop
Definition:
DoDragDrop(dataobject, datasource, effectsallowed) -> nil
Description:
DragDrop
FileDlg
Description:
does nothing
Fill
Description:
IUP Generator function. See:iup.fill
Flush
Description:
[5]
Frame
Description:
IUP Generator function. See:iup.frame
GetAttribute
Description:
[6]
Accessing globals doesn't work as described.
GetAttributeData
Description:
[7]
GetAttributes
Description:
[8]
The docs suggest iup.GetAllAttributes, which doesn't exist in the game.
GetBrother
Description:
[9]
GetBrother
Description:
[10]
GetCapture
Description:
no clue
GetDialog
Description:
[11]
GetFocus
Description:
[12]
GetFromC
Description:
no idea
GetGlobal
Description:
[13]
GetHandle
Description:
[14]
GetLanguage
Description:
[15]
It seems to return garbage in the game.
GetName
Description:
[16]
GetNextChild
Description:
[17]
GetParent
Description:
[18]
GetText
Definition:
GetBrother(string title, deftext) -> string text
Description:
Shows a modal dialog to edit a multiline text. See iup2 docs.
It doesn't seem to work properly.
GetType
Definition:
GetType(userdata element) -> string type
Description:
Returns the type of an interface element.
Arguments:
element an interface element
Returns:
type type of element
Hbox
Description:
IUP Generator function. See:iup.hbox
Help
Definition:
Help(string url) -> nil
Description:
http://www.tecgraf.puc-rio.br/iup/en/func//iuphelp.html
This doesn't seem to work.
Hide
Description:
http://www.tecgraf.puc-rio.br/iup/en/func//iuphide.html
Image
Description:
Create iup image. It doesn't seem to be possible to use the returned image in other elements.
Item
Description:
Create iup item for iup menus, which don't seem to work.
Joystick
Description:
IUP Generator function. See:iup.joystick
Label
Description:
IUP Generator function. See:iup.label
List
Description:
IUP Generator function. See:iup.list
ListDialog
Description:
http://www.tecgraf.puc-rio.br/iup/en/dlg/iuplistdialog.html
Crashes the game.
LoadImage
Description:
Create iup image. It doesn't seem to be possible to use the returned image in other elements. see iup2 docs.
Definition:
LoadNavmap(userdata map, int type, string name, int arg3) -> nil
Description:
Set the map that is displayed in a navmap element
Arguments:
map navmap
type map type. system (1), sector (2)
name map to load. "lua/maps/systemXXmap.lua" (where XX is the system id) or "lua/maps/universemap.lua"
arg3 no idea. selected system - 1 for type 1 and 0 for type 2
LoopStep
Description:
[19]
MainLoop
Description:
[20]
Map
Description:
[21]
MapFont
Description:
[22]
Doesn't seem to work.
Matrix
Description:
IUP Generator function. See:iup.matrix
MatrixGetAttribute
Description:
[23]
MatrixGetCell
Description:
[24]
MatrixSetAttribute
Description:
[25]
MatrixSetCell
Description:
[26]
Menu
Description:
Create iup menu. Doesn't seem to work.
Message
Description:
[27]
Modelview
Description:
IUP Generator function. See:iup.modelview
Description:
IUP Generator function. See:iup.navmap
NextField
Description:
[28]
Popup
Description:
[29]
PreviousField
Description:
[30]
Progressbar
Description:
IUP Generator function. See:iup.progressbar
ProjectPoint
Definition:
ProjectPoint(userdata modelview, gvector meshpos) -> gvection projectpos
Description:
Get projection coordinates of a mesh position in a modelview. (check this)
Arguments:
modelview button
pos gvector mesh position
Returns:
projectpos gvector or projected position
RGB
Definition:
RGB(fload r, g, b) -> string iupcolor
Description:
Convert float rgb colors into an iup color string
Arguments:
r red component (0 - 1)
g green component (0 - 1)
g bluw component (0 - 1)
Returns:
iupcolor iupcolor
Radar
Description:
IUP Generator function. See:iup.radar
Radio
Description:
IUP Generator function. See:iup.radio
Refresh
Description:
[31]
ReleaseCapture
Definition:
ReleaseCapture(userdata element) -> nil
Description:
Stop directing all input to the given element (check this)
Arguments:
element an iup element (must be canvas?)
SaveImage
Description:
Save iup image. Probably doesn't work. see iup2 docs.
Sbox
Description:
IUP Generator function. See:iup.sbox
Scanf
Description:
no idea
Separator
Description:
IUP Generator function. See:iup.separator
SetAttribute
Description:
[32]
Accessing globals doesn't work as described.
SetAttributes
Description:
[33]
SetCapture
Definition:
SetCapture(userdata element) -> nil
Description:
Direct all input to the given element (check this)
Arguments:
element an iup element (must be canvas?)
SetDefaultFontSize
Definition:
SetDefaultFontSize(int size) -> nil
Description:
Set default font size for widgets that don't have it set explicitely.
Desn't seem to resize existing text properly
Arguments:
size font size
SetFocus
Description:
[34]
SetGlobal
Description:
[35]
SetHandle
Description:
[36]
SetIdle
Description:
[37]
Doesn't seem to work
SetLanguage
Description:
[38]
Definition:
SetNavmapPath(userdata map, path) -> nil
Description:
Set path in navmap
Arguments:
map navmap
path full navmap path. see GetFullPath
SetOrientation
Definition:
SetOrientation(userdata mv, quaternion orient) -> nil
Description:
Set the orientation of an object within a modelview
Arguments:
mw modelview
orient orientation of object
SetOwner
Description:
no idea
SetPosition
Definition:
SetPosition(userdata mv, gevector pos) -> nil
Description:
Set the position of an object within a modelview
Arguments:
mw modelview
pos position of object
Show
Description:
[39]
ShowXY
Description:
[40]
StoreAttribute
Description:
[41]
StoreGlobal
Description:
[42]
Description:
IUP Generator function. See:iup.submenu
Tabsv
Description:
IUP Generator function. See:iup.tabs
Text
Description:
IUP Generator function. See:iup.text
Timer
Description:
IUP Generator function. See:iup.timer
Tabsv
Description:
IUP Generator function. See:iup.tabs
Toggle
Description:
IUP Generator function. See:iup.toggle
Tree
Description:
IUP Generator function. See:iup.tree
TreeGetAttribute
Description:
[43]
TreeGetId
Description:
[44]
TreeGetTable
Description:
[45]
TreeGetTableId
Description:
[46]
TreeGetUserId
Description:
[47]
TreeSetAttribute
Description:
[48]
TreeSetTableId
Description:
[49]
TreeSetUserId
Description:
[50]
TreeSetValue
Description:
[51]
TreeSetValueRec
Description:
[52]
TreeStoreAttribute
Description:
[53]
UnMapFont
Description:
[54]
Doesn't seem to work.
Vbox
Description:
IUP Generator function. See:iup.vbox
Version
Description:
[55]
VersionNumber
Description:
/iup/en/func/iupversion.html
Zbox
Description:
IUP Generator function. See:iup.zbox
button
Definition:
button{table attribs} -> userdata element
Description:
Create a button. see button
Arguments:
attribs element attributes
Returns:
element button