| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
hpl3:game:scripting:function_reference:helper_imgui [2015/10/28 17:43] 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 416: | 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 "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. | + | 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. |
| ---- | ---- | ||