Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
ImGuiAngelscriptWrappers.h File Reference

Description

Helper/wrapper functions shared by native (ImGuiAngelscript.cpp) and generic (ImGuiAngelscriptGeneric.cpp) DearIMGUI bindings.

Native bindings register these directly (asCALL_CDECL/asCALL_CDECL_OBJFIRST), generic bindings wrap them using WRAP_FN()/WRAP_OBJ_FIRST().

Definition in file ImGuiAngelscriptWrappers.h.

#include "OgreImGui.h"
#include "scriptarray/scriptarray.h"
#include <angelscript.h>
#include <Ogre.h>
#include <string>

Go to the source code of this file.

Namespaces

namespace  ImGuiAngelscriptWrappers
 

Functions

static float ImGuiAngelscriptWrappers::ImGuiPlotLinesScriptValueGetterFunc (void *data, int index)
 
static void ImGuiAngelscriptWrappers::ImDrawList_AddLine (ImDrawList *drawlist, Ogre::Vector2 const &p1, Ogre::Vector2 const &p2, Ogre::ColourValue const &col, float thickness)
 
static void ImGuiAngelscriptWrappers::ImDrawList_AddTriangle (ImDrawList *drawlist, Ogre::Vector2 const &p1, Ogre::Vector2 const &p2, Ogre::Vector2 const &p3, Ogre::ColourValue const &col, float thickness)
 
static void ImGuiAngelscriptWrappers::ImDrawList_AddTriangleFilled (ImDrawList *drawlist, Ogre::Vector2 const &p1, Ogre::Vector2 const &p2, Ogre::Vector2 const &p3, Ogre::ColourValue const &col)
 
static void ImGuiAngelscriptWrappers::ImDrawList_AddRect (ImDrawList *drawlist, Ogre::Vector2 const &p1, Ogre::Vector2 const &p2, Ogre::ColourValue const &col, float rounding, int rounding_corners, float thickness)
 
static void ImGuiAngelscriptWrappers::ImDrawList_AddRectFilled (ImDrawList *drawlist, Ogre::Vector2 const &p1, Ogre::Vector2 const &p2, Ogre::ColourValue const &col, float rounding, int rounding_corners)
 
static void ImGuiAngelscriptWrappers::ImDrawList_AddCircle (ImDrawList *drawlist, Ogre::Vector2 const &center, float radius, Ogre::ColourValue const &col, int num_segments, float thickness)
 
static void ImGuiAngelscriptWrappers::ImDrawList_AddCircleFilled (ImDrawList *drawlist, Ogre::Vector2 const &center, float radius, Ogre::ColourValue const &col, int num_segments)
 
static void ImGuiAngelscriptWrappers::ImDrawList_AddText (ImDrawList *drawlist, Ogre::Vector2 const &pos, Ogre::ColourValue const &col, std::string const &text)
 
static void ImGuiAngelscriptWrappers::ImDrawList_AddImage (ImDrawList *drawlist, Ogre::TexturePtr const &tex, Ogre::Vector2 const &p_min, Ogre::Vector2 const &p_max, Ogre::Vector2 const &uv_min, Ogre::Vector2 const &uv_max, Ogre::ColourValue const &col)
 
static bool ImGuiAngelscriptWrappers::ImGui_Begin (const string &name, bool &opened, int flags)
 
static bool ImGuiAngelscriptWrappers::ImGui_BeginChild (const string &name, const Ogre::Vector2 &size, bool border, int flags)
 
static bool ImGuiAngelscriptWrappers::ImGui_BeginChildById (ImGuiID id, const Ogre::Vector2 &size, bool border, int flags)
 
static void ImGuiAngelscriptWrappers::ImGui_PushStyleVarFloat (int index, float val)
 
static void ImGuiAngelscriptWrappers::ImGui_PushStyleVarVector2 (int index, const Ogre::Vector2 &val)
 
static void ImGuiAngelscriptWrappers::ImGui_PushStyleColor (int index, Ogre::ColourValue const &col)
 
static Vector2 ImGuiAngelscriptWrappers::ImGui_GetContentRegionMax ()
 
static Vector2 ImGuiAngelscriptWrappers::ImGui_GetContentRegionAvail ()
 
static Vector2 ImGuiAngelscriptWrappers::ImGui_GetWindowContentRegionMin ()
 
static Vector2 ImGuiAngelscriptWrappers::ImGui_GetWindowContentRegionMax ()
 
static Vector2 ImGuiAngelscriptWrappers::ImGui_GetWindowPos ()
 
static Vector2 ImGuiAngelscriptWrappers::ImGui_GetWindowSize ()
 
static void ImGuiAngelscriptWrappers::ImGui_SetNextWindowPos (Vector2 v, int flags, Vector2 pivot)
 
static void ImGuiAngelscriptWrappers::ImGui_SetNextWindowSize (Vector2 v)
 
static void ImGuiAngelscriptWrappers::ImGui_SetNextWindowContentSize (Vector2 v)
 
static void ImGuiAngelscriptWrappers::ImGui_SetNextWindowCollapsed (bool v)
 
static void ImGuiAngelscriptWrappers::ImGui_SetNextWindowFocus ()
 
static void ImGuiAngelscriptWrappers::ImGui_SetWindowPos (Vector2 v)
 
static void ImGuiAngelscriptWrappers::ImGui_SetWindowSize (Vector2 v)
 
static void ImGuiAngelscriptWrappers::ImGui_SetWindowCollapsed (bool v)
 
static void ImGuiAngelscriptWrappers::ImGui_SetWindowFocus ()
 
static void ImGuiAngelscriptWrappers::ImGui_SetWindowPosByName (const string &name, Vector2 v)
 
static void ImGuiAngelscriptWrappers::ImGui_SetWindowSizeByName (const string &name, Vector2 v)
 
static void ImGuiAngelscriptWrappers::ImGui_SetWindowCollapsedByName (const string &name, bool v)
 
static void ImGuiAngelscriptWrappers::ImGui_SetWindowFocusByName (const string &v)
 
static void ImGuiAngelscriptWrappers::ImGui_Dummy (Vector2 v)
 
static Vector2 ImGuiAngelscriptWrappers::ImGui_GetCursorPos ()
 
static void ImGuiAngelscriptWrappers::ImGui_SetCursorPos (Vector2 v)
 
static Vector2 ImGuiAngelscriptWrappers::ImGui_GetCursorStartPos ()
 
static Vector2 ImGuiAngelscriptWrappers::ImGui_GetCursorScreenPos ()
 
static void ImGuiAngelscriptWrappers::ImGui_SetCursorScreenPos (Vector2 v)
 
static void ImGuiAngelscriptWrappers::ImGui_Columns (int a, const string &b, bool c)
 
static void ImGuiAngelscriptWrappers::ImGui_NextColumn ()
 
static int ImGuiAngelscriptWrappers::ImGui_GetColumnIndex ()
 
static float ImGuiAngelscriptWrappers::ImGui_GetColumnWidth (int a)
 
static float ImGuiAngelscriptWrappers::ImGui_GetColumnOffset (int a)
 
static void ImGuiAngelscriptWrappers::ImGui_SetColumnOffset (int a, float b)
 
static int ImGuiAngelscriptWrappers::ImGui_GetColumnsCount ()
 
static bool ImGuiAngelscriptWrappers::ImGui_BeginTabBar (const string &str_id, ImGuiTabBarFlags flags)
 
static bool ImGuiAngelscriptWrappers::ImGui_BeginTabItem (const string &label, ImGuiTabItemFlags flags)
 
static bool ImGuiAngelscriptWrappers::ImGui_BeginTabItemClosable (const string &label, bool &p_open, ImGuiTabItemFlags flags)
 
static void ImGuiAngelscriptWrappers::ImGui_SetTabItemClosed (const string &tab_or_docked_window_label)
 
static void ImGuiAngelscriptWrappers::ImGui_PushIDStr (const string &n)
 
static void ImGuiAngelscriptWrappers::ImGui_PushIDInt (int id)
 
static unsigned ImGuiAngelscriptWrappers::ImGui_GetID (const string &n)
 
static void ImGuiAngelscriptWrappers::ImGui_Text (const string &n)
 
static void ImGuiAngelscriptWrappers::ImGui_TextDisabled (const string &n)
 
static void ImGuiAngelscriptWrappers::ImGui_TextColored (ColourValue c, const string &n)
 
static void ImGuiAngelscriptWrappers::ImGui_TextWrapped (const string &n)
 
static void ImGuiAngelscriptWrappers::ImGui_LabelText (const string &l, const string &n)
 
static void ImGuiAngelscriptWrappers::ImGui_BulletText (const string &n)
 
static bool ImGuiAngelscriptWrappers::ImGui_Button (const string &n, Vector2 v)
 
static bool ImGuiAngelscriptWrappers::ImGui_SmallButton (const string &n)
 
static bool ImGuiAngelscriptWrappers::ImGui_InvisibleButton (const string &id, Vector2 v)
 
static void ImGuiAngelscriptWrappers::ImGui_Image (Ogre::TexturePtr const &tex, Vector2 v)
 
static bool ImGuiAngelscriptWrappers::ImGui_Checkbox (const string &n, bool &v)
 
static bool ImGuiAngelscriptWrappers::ImGui_CheckboxFlags (const string &n, unsigned &f, unsigned v)
 
static bool ImGuiAngelscriptWrappers::ImGui_RadioButton (const string &n, bool v)
 
static bool ImGuiAngelscriptWrappers::ImGui_RadioButtonInt (const string &n, int &v, int vv)
 
static void ImGuiAngelscriptWrappers::ImGui_ProgressBar (float v, Ogre::Vector2 size, const string &overlay)
 
static bool ImGuiAngelscriptWrappers::ImGui_DragFloat (const string &n, float &v, float speed, float mn, float mx)
 
static bool ImGuiAngelscriptWrappers::ImGui_DragFloat2 (const string &n, Vector2 &v)
 
static bool ImGuiAngelscriptWrappers::ImGui_DragFloat3 (const string &n, Vector3 &v)
 
static bool ImGuiAngelscriptWrappers::ImGui_DragFloatRange2 (const string &n, float &v0, float &v1, float mn, float mx)
 
static bool ImGuiAngelscriptWrappers::ImGui_DragIntRange2 (const string &n, int &v0, int &v1, int mn, int mx)
 
static bool ImGuiAngelscriptWrappers::ImGui_InputText (const string &id, string &val)
 
static bool ImGuiAngelscriptWrappers::ImGui_InputTextMultiline (const string &id, string &val, const Ogre::Vector2 &size)
 
static bool ImGuiAngelscriptWrappers::ImGui_InputFloat (const string &id, float &val)
 
static bool ImGuiAngelscriptWrappers::ImGui_InputFloat2 (const string &id, Vector2 &val)
 
static bool ImGuiAngelscriptWrappers::ImGui_InputFloat3 (const string &id, Vector3 &val)
 
static bool ImGuiAngelscriptWrappers::ImGui_InputInt (const string &id, int &val)
 
static bool ImGuiAngelscriptWrappers::ImGui_SliderFloat (const string &n, float &v, float mn, float mx)
 
static bool ImGuiAngelscriptWrappers::ImGui_SliderFloat2 (const string &n, Vector2 &v, float mn, float mx)
 
static bool ImGuiAngelscriptWrappers::ImGui_SliderFloat3 (const string &n, Vector3 &v, float mn, float mx)
 
static bool ImGuiAngelscriptWrappers::ImGui_SliderInt (const string &n, int &v, int mn, int mx)
 
static bool ImGuiAngelscriptWrappers::ImGui_ColorEdit3 (const string &id, ColourValue &val)
 
static bool ImGuiAngelscriptWrappers::ImGui_ColorEdit4 (const string &id, ColourValue &val)
 
static bool ImGuiAngelscriptWrappers::ImGui_ColorButton (const string &id, ColourValue val)
 
static bool ImGuiAngelscriptWrappers::ImGui_TreeNode (const string &id)
 
static void ImGuiAngelscriptWrappers::ImGui_TreePush (const string &id)
 
static void ImGuiAngelscriptWrappers::ImGui_SetNextTreeNodeOpen (bool val)
 
static bool ImGuiAngelscriptWrappers::ImGui_CollapsingHeader (const string &n)
 
static bool ImGuiAngelscriptWrappers::ImGui_CollapsingHeaderClosable (const string &n, bool &v)
 
static bool ImGuiAngelscriptWrappers::ImGui_Selectable (const string &n, bool v)
 
static bool ImGuiAngelscriptWrappers::ImGui_ListBoxHeader (const string &n)
 
static void ImGuiAngelscriptWrappers::ImGui_ValueBool (const string &n, bool v)
 
static void ImGuiAngelscriptWrappers::ImGui_ValueInt (const string &n, int v)
 
static void ImGuiAngelscriptWrappers::ImGui_ValueUint (const string &n, unsigned v)
 
static void ImGuiAngelscriptWrappers::ImGui_ValueFloat (const string &n, float v)
 
static void ImGuiAngelscriptWrappers::ImGui_SetTooltip (const string &t)
 
static bool ImGuiAngelscriptWrappers::ImGui_BeginMainMenuBar ()
 
static void ImGuiAngelscriptWrappers::ImGui_EndMainMenuBar ()
 
static bool ImGuiAngelscriptWrappers::ImGui_BeginMenuBar ()
 
static void ImGuiAngelscriptWrappers::ImGui_EndMenuBar ()
 
static bool ImGuiAngelscriptWrappers::ImGui_BeginMenu (const string &a, bool b)
 
static void ImGuiAngelscriptWrappers::ImGui_EndMenu ()
 
static bool ImGuiAngelscriptWrappers::ImGui_MenuItem (const string &a, const string &b, bool c, bool d)
 
static bool ImGuiAngelscriptWrappers::ImGui_MenuItemToggle (const string &a, const string &b, bool &c, bool d)
 
static void ImGuiAngelscriptWrappers::ImGui_OpenPopup (const string &a)
 
static bool ImGuiAngelscriptWrappers::ImGui_BeginPopup (const string &a, int b)
 
static bool ImGuiAngelscriptWrappers::ImGui_BeginPopupContextItem (const string &a, int b)
 
static bool ImGuiAngelscriptWrappers::ImGui_BeginPopupContextWindow (const string &a, int b, bool c)
 
static bool ImGuiAngelscriptWrappers::ImGui_BeginPopupContextVoid (const string &a, int b)
 
static bool ImGuiAngelscriptWrappers::ImGui_BeginPopupModal (const string &a, bool &b, int c)
 
static void ImGuiAngelscriptWrappers::ImGui_EndPopup ()
 
static void ImGuiAngelscriptWrappers::ImGui_CloseCurrentPopup ()
 
static void ImGuiAngelscriptWrappers::ImGui_PushClipRect (const Vector2 &a, const Vector2 &b, bool c)
 
static void ImGuiAngelscriptWrappers::ImGui_PopClipRect ()
 
static void ImGuiAngelscriptWrappers::ImGui_SetKeyboardFocusHere (int a)
 
static bool ImGuiAngelscriptWrappers::ImGui_IsItemHovered (int a)
 
static bool ImGuiAngelscriptWrappers::ImGui_IsItemActive ()
 
static bool ImGuiAngelscriptWrappers::ImGui_IsItemClicked (int a)
 
static bool ImGuiAngelscriptWrappers::ImGui_IsItemVisible ()
 
static bool ImGuiAngelscriptWrappers::ImGui_IsAnyItemHovered ()
 
static bool ImGuiAngelscriptWrappers::ImGui_IsAnyItemActive ()
 
static Vector2 ImGuiAngelscriptWrappers::ImGui_GetItemRectMin ()
 
static Vector2 ImGuiAngelscriptWrappers::ImGui_GetItemRectMax ()
 
static Vector2 ImGuiAngelscriptWrappers::ImGui_GetItemRectSize ()
 
static void ImGuiAngelscriptWrappers::ImGui_SetItemAllowOverlap ()
 
static bool ImGuiAngelscriptWrappers::ImGui_IsWindowFocused (int a)
 
static bool ImGuiAngelscriptWrappers::ImGui_IsWindowHovered (int a)
 
static bool ImGuiAngelscriptWrappers::ImGui_IsRectVisibleSize (const Vector2 &a)
 
static bool ImGuiAngelscriptWrappers::ImGui_IsRectVisible (const Vector2 &a, const Vector2 &b)
 
static float ImGuiAngelscriptWrappers::ImGui_GetTime ()
 
static int ImGuiAngelscriptWrappers::ImGui_GetFrameCount ()
 
static Vector2 ImGuiAngelscriptWrappers::ImGui_CalcTextSize (const string &a, bool c, float d)
 
static void ImGuiAngelscriptWrappers::ImGui_CalcListClipping (int a, float b, int &c, int &d)
 
static bool ImGuiAngelscriptWrappers::ImGui_BeginChildFrame (unsigned a, const Vector2 &b, int c)
 
static void ImGuiAngelscriptWrappers::ImGui_EndChildFrame ()
 
static int ImGuiAngelscriptWrappers::ImGui_GetKeyIndex (int a)
 
static bool ImGuiAngelscriptWrappers::ImGui_IsKeyDown (int a)
 
static bool ImGuiAngelscriptWrappers::ImGui_IsKeyPressed (int a, bool b)
 
static bool ImGuiAngelscriptWrappers::ImGui_IsKeyReleased (int a)
 
static bool ImGuiAngelscriptWrappers::ImGui_IsMouseDown (int a)
 
static bool ImGuiAngelscriptWrappers::ImGui_IsMouseClicked (int a, bool b)
 
static bool ImGuiAngelscriptWrappers::ImGui_IsMouseDoubleClicked (int a)
 
static bool ImGuiAngelscriptWrappers::ImGui_IsMouseReleased (int a)
 
static bool ImGuiAngelscriptWrappers::ImGui_IsMouseDragging (int a, float b)
 
static bool ImGuiAngelscriptWrappers::ImGui_IsMouseHoveringRect (const Vector2 &a, const Vector2 &b, bool c)
 
static Vector2 ImGuiAngelscriptWrappers::ImGui_GetMousePos ()
 
static Vector2 ImGuiAngelscriptWrappers::ImGui_GetMousePosOnOpeningCurrentPopup ()
 
static Vector2 ImGuiAngelscriptWrappers::ImGui_GetMouseDragDelta (int a, float b)
 
static void ImGuiAngelscriptWrappers::ImGui_ResetMouseDragDelta (int a)
 
static int ImGuiAngelscriptWrappers::ImGui_GetMouseCursor ()
 
static void ImGuiAngelscriptWrappers::ImGui_SetMouseCursor (ImGuiMouseCursor a)
 
static void ImGuiAngelscriptWrappers::ImGui_CaptureKeyboardFromApp (bool a)
 
static void ImGuiAngelscriptWrappers::ImGui_CaptureMouseFromApp (bool a)
 
static string ImGuiAngelscriptWrappers::ImGui_GetClipboardText ()
 
static void ImGuiAngelscriptWrappers::ImGui_SetClipboardText (const string &a)
 
static void ImGuiAngelscriptWrappers::ImGui_PlotLines (const string &label, CScriptArray *values, int values_count, int values_offset, const string &overlay_text, float scale_min, float scale_max, Vector2 graph_size)
 

Variables

static char ImGuiAngelscriptWrappers::imgui_text_buffer [4096]