Rigs of Rods 2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
AngelImGui_funcs_windows.h
Go to the documentation of this file.
1
2 // =================================================== //
3 // THIS IS NOT A C++ HEADER! Only a dummy for Doxygen. //
4 // =================================================== //
5
6namespace AngelImGui { // Dummy namespace, just to distinguish AngelScript from C++
7
16 // > Windows
17 bool Begin(const string&in, bool&inout, int=0);
18 void End();
19
20 // > Child windows
21 bool BeginChild(const string&in, const vector2&in=vector2(0,0), bool=false, int=0);
22 bool BeginChild(uint, const vector2&in=vector2(0,0), bool=false, int=0);
23 void EndChild();
24 ImDrawList@ GetWindowDrawList();
25 void PushStyleVar(int index, float val);
26 void PushStyleVar(int index, const vector2&in val);
27 void PopStyleVar(int count = 1)", asFUNCTION(ImGui::PopStyleVar), asCALL_CDECL);
28 void PushStyleColor(int index, const color&in color);
29 void PopStyleColor(int count = 1);
30 void SetNextItemWidth(float);
31 void SetNextItemOpen(bool, ImGuiCond);
32
33 vector2 GetContentRegionMax();
34 vector2 GetContentRegionAvail();
35 float GetContentRegionAvailWidth();
36 vector2 GetWindowContentRegionMin();
37 vector2 GetWindowContentRegionMax();
38 float GetWindowRegionWidth();
39
40 vector2 GetWindowPos();
41 vector2 GetWindowSize();
42 float GetWindowWedth();
43 float GetWindowHeight();
44 bool IsWindowCollapsed();
45 void SetWindowFontScale(float);
46
47 void SetNextWindowPos(vector2, int=0, vector2=vector2(0,0));
48 void SetNextWindowSize(vector2);
49 void SetNextWindowContentSize(vector2);
50 void SetNextWindowCollapsed(bool);
51 void SetNextWindowFocus();
52 void SetWindowPos(vector2);
53 void SetWindowSize(vector2);
54 void SetWindowCollapsed(bool);
55 void SetWindowFocus();
56
57 void SetWindowPos(const string&in, vector2);
58 void SetWindowSize(const string&in, vector2);
59 void SetWindowCollapsed(const string&in, bool);
60 void SetWindowFocus(const string&in);
61
62 float GetScrollX();
63 float GetScrollY();
64 float GetScrollMaxX();
65 float GetScrollMaxY();
66 void SetScrollX(float);
67 void SetScrollY(float);
68 void SetScrollHere(float = 0.5f);
69 void SetScrollFromPosY(float, float = 0.5f);
70
71 void Separator();
72 void SameLine(float = 0.0f, float = -1.0f);
73 void NewLine();
74 void Spacing();
75 void Dummy(vector2);
76 void Indent(float = 0.0f);
77 void Unindent(float = 0.0f);
78 void BeginGroup();
79 void EndGroup();
80 vector2 GetCursorPos();
81 float GetCursorPosX();
82 float GetCursorPosY();
83 void SetCursorPos(vector2);
84 void SetCursorPosX(float);
85 void SetCursorPosY(float);
86 vector2 GetCursorStartPos();
87 vector2 GetCursorScreenPos();
88 void SetCursorScreenPos(vector2);
89 void AlignTextToFramePadding();
90 float GetTextLineHeight();
91 float GetTextLineHeightWithSpacing();
92
93
94
97
98} // namespace AngelImGui (dummy, just to distinguish AngelScript from C++)
DearIMGUI-AngelScript bindings; Actually named ImGui in the scripts, just changed for docs to separat...