![]() |
RigsofRods
2023.09
Soft-body Physics Simulation
|
DearIMGUI-AngelScript bindings; Actually named ImGui
in the scripts, just changed for docs to separate things; Note we use somewhat outdated version (v1.73) with hand-rolled bindings and some source tweaks.
More...
Functions | |
void | Columns (int=1, const string &in=string(), bool=true) |
void | NextColumn () |
int | GetColumnIndex () |
float | GetColumnWidth (int=-1) |
float | GetColumnOffset (int=-1) |
void | SetColumnOffset (int, float) |
int | GetColumnsCount () |
void | PushID (const string &in) |
void | PushID (int int_id) |
void | PopID () |
uint | GetID (const string &in) |
bool | BeginMainMenuBar () |
void | EndMainMenuBar () |
bool | BeginMenuBar () |
void | EndMenuBar () |
bool | BeginMenu (const string &in, bool=true) |
void | EndMenu () |
bool | MenuItem (const string &in, const string &in=string(), bool=false, bool=true) |
bool | MenuItem (const string &in, const string &in, bool &inout, bool=true) |
void | OpenPopup (const string &in) |
bool | BeginPopup (const string &in, int=0) |
bool | BeginPopupContextItem (const string &in=string(), int=1) |
bool | BeginPopupContextWindow (const string &in=string(), int=1, bool=true) |
bool | BeginPopupContextVoid (const string &in=string(), int=1) |
bool | BeginPopupModal (const string &in, bool &inout=null, int=0) |
void | EndPopup () |
void | CloseCurrentPopup () |
bool | BeginTabBar (const string &in, int=0) |
bool | BeginTabItem (const string &in, int=0) |
BeginTabItem() without X close button. More... | |
bool | BeginTabItem (const string &in, bool &inout, int=0) |
BeginTabItem() with X close button. More... | |
void | SetTabItemClosed (const string &in) |
void | BeginTooltip () |
void | EndTooltip () |
void | SetTooltip (const string &in) |
void | PushClipRect (const vector2 &, const vector2 &, bool) |
void | PopClipRect () |
void | SetKeyboardFocusHere (int=0) |
bool | IsItemHovered (int=0) |
bool | IsItemActive () |
bool | IsItemClicked (int=0) |
bool | IsItemVisible () |
bool | IsAnyItemHovered () |
bool | IsAnyItemActive () |
vector2 | GetItemRectMin () |
vector2 | GetItemRectMax () |
vector2 | GetItemRectSize () |
void | SetItemAllowOverlap () |
bool | IsWindowFocused (int=0) |
bool | IsWindowHovered (int=0) |
bool | IsRectVisible (const vector2 &) |
bool | IsRectVisible (const vector2 &, const vector2 &) |
float | GetTime () |
int | GetFrameCount () |
vector2 | CalcTextSize (const string &in, bool hide_text_after_double_hash=false, float wrap_width=-1.0f) |
void | CalcListClipping (int, float, int &inout, int &inout) |
bool | BeginChildFrame (uint, const vector2 &, int=0) |
void | EndChildFrame () |
int | GetKeyIndex (int) |
bool | IsKeyDown (int) |
bool | IsKeyPressed (int, bool=true) |
bool | IsKeyReleased (int) |
bool | IsMouseDown (int) |
bool | IsMouseClicked (int, bool=false) |
bool | IsMouseDoubleClicked (int) |
bool | IsMouseReleased (int) |
bool | IsMouseDragging (int=0, float=-1.0f) |
bool | IsMouseHoveringRect (const vector2 &in, const vector2 &in, bool=true) |
vector2 | GetMousePos () |
vector2 | GetMousePosOnOpeningCurrentPopup () |
vector2 | GetMouseDragDelta (int=0, float=-1.0f) |
void | ResetMouseDragDelta (int=0) |
int | GetMouseCursor () |
void | SetMouseCursor (int) |
void | CaptureKeyboardFromApp (bool=true) |
void | CaptureMouseFromApp (bool=true) |
string | GetClipboardText () |
void | SetClipboardText (const string &in) |
void | PlotLines (const string &in label, array< float > &in values, int values_count, int values_offset=0, const string &in overlay_text=string(), float scale_min=FLT_MAX, float scale_max=FLT_MAX, vector2 graph_size=vector2(0, 0)) |
Data plotting - we wrap the 'getter func' variant to resemble the 'float*' variant. More... | |
DearIMGUI-AngelScript bindings; Actually named ImGui
in the scripts, just changed for docs to separate things; Note we use somewhat outdated version (v1.73) with hand-rolled bindings and some source tweaks.