User Tools

Site Tools


hpl3:game:scripting:function_reference:helper_imgui

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hpl3:game:scripting:function_reference:helper_imgui [2015/10/29 09:31]
luis
hpl3:game:scripting:function_reference:helper_imgui [2015/11/07 11:51] (current)
romulator old revision restored (2015/10/28 17:44) (Temporarily reverted due to formatting errors)
Line 1: Line 1:
-====== helper_imgui.hps ​======+===== helper_imgui.hps =====
  
-Helpers for creating immediate GUIs 
----- 
  
 == ImGui_ClearStates == == ImGui_ClearStates ==
Line 418: Line 416:
 void ImGui_SetUIMoveGroupFlags(int alGroupFlags) void ImGui_SetUIMoveGroupFlags(int alGroupFlags)
 </​code>​ </​code>​
-This sets what move group(s) the widget will belong to. When using keyboard/​gamepad movement, it is only possible to move between widget that share the same group. This is a bitflag, that it is not the number, but binary bits that matter. To set it, use one or more, eFlagBit_* combined with the bitwise-or-opterator "|". Example: SetUIMoveGroupFlags(eFlagBit_0 | eFlagBit_2); ​//This will make widgets belong to group 0 and 2. Applies to any widget declared after this call.+This sets what move group(s) the widget will belong to. When using keyboard/​gamepad movement, it is only possible to move between widget that share the same group. This is a bitflag, that it is not the number, but binary bits that matter. To set it, use one or more, eFlagBit_* combined with the bitwise-or-opterator "pipe" ​TODO: fix pipe char. Example: SetUIMoveGroupFlags(eFlagBit_0 | eFlagBit_2);​ This will make widgets belong to group 0 and 2. Applies to any widget declared after this call.
  
 ---- ----
Line 2254: Line 2252:
  
 ---- ----
- 
  
hpl3/game/scripting/function_reference/helper_imgui.1446111087.txt.gz ยท Last modified: 2015/10/29 09:31 by luis