Lines Matching refs:IMGUI_API

32 #ifndef IMGUI_API
33 #define IMGUI_API macro
36 #define IMGUI_IMPL_API IMGUI_API
163 IMGUI_API ImGuiContext* CreateContext(ImFontAtlas* shared_font_atlas = NULL);
164IMGUI_API void DestroyContext(ImGuiContext* ctx = NULL); // NULL = destroy current cont…
165 IMGUI_API ImGuiContext* GetCurrentContext();
166 IMGUI_API void SetCurrentContext(ImGuiContext* ctx);
167IMGUI_API bool DebugCheckVersionAndDataLayout(const char* version_str, size_t sz_io, size…
170IMGUI_API ImGuiIO& GetIO(); // access the IO structure (mo…
171IMGUI_API ImGuiStyle& GetStyle(); // access the Style structure …
172IMGUI_API void NewFrame(); // start a new ImGui frame, yo…
173IMGUI_API void EndFrame(); // ends the ImGui frame. autom…
174IMGUI_API void Render(); // ends the ImGui frame, final…
175IMGUI_API ImDrawData* GetDrawData(); // valid after Render() and un…
178IMGUI_API void ShowDemoWindow(bool* p_open = NULL); // create demo/test window (pr…
179IMGUI_API void ShowMetricsWindow(bool* p_open = NULL); // create metrics window. disp…
180IMGUI_API void ShowStyleEditor(ImGuiStyle* ref = NULL); // add style editor block (not…
181IMGUI_API bool ShowStyleSelector(const char* label); // add style selector block (n…
182IMGUI_API void ShowFontSelector(const char* label); // add font selector block (no…
183IMGUI_API void ShowUserGuide(); // add basic help/info block (…
184IMGUI_API const char* GetVersion(); // get the compiled version st…
187IMGUI_API void StyleColorsDark(ImGuiStyle* dst = NULL); // new, recommended style (def…
188 IMGUI_API void StyleColorsClassic(ImGuiStyle* dst = NULL); // classic imgui style
189IMGUI_API void StyleColorsLight(ImGuiStyle* dst = NULL); // best used with borders and …
197IMGUI_API bool Begin(const char* name, bool* p_open = NULL, ImGuiWindowFlags flags = 0);
198 IMGUI_API void End();
205IMGUI_API bool BeginChild(const char* str_id, const ImVec2& size = ImVec2(0,0), bool bord…
206IMGUI_API bool BeginChild(ImGuiID id, const ImVec2& size = ImVec2(0,0), bool border = fal…
207 IMGUI_API void EndChild();
210 IMGUI_API bool IsWindowAppearing();
211 IMGUI_API bool IsWindowCollapsed();
212IMGUI_API bool IsWindowFocused(ImGuiFocusedFlags flags=0); // is current window focused? …
213IMGUI_API bool IsWindowHovered(ImGuiHoveredFlags flags=0); // is current window hovered (…
214IMGUI_API ImDrawList* GetWindowDrawList(); // get draw list associated to…
215IMGUI_API ImVec2 GetWindowPos(); // get current window position…
216 IMGUI_API ImVec2 GetWindowSize(); // get current window size
217IMGUI_API float GetWindowWidth(); // get current window width (s…
218IMGUI_API float GetWindowHeight(); // get current window height (…
219IMGUI_API ImVec2 GetContentRegionMax(); // current content boundaries …
220IMGUI_API ImVec2 GetContentRegionAvail(); // == GetContentRegionMax() - …
221 IMGUI_API float GetContentRegionAvailWidth(); //
222IMGUI_API ImVec2 GetWindowContentRegionMin(); // content boundaries min (rou…
223IMGUI_API ImVec2 GetWindowContentRegionMax(); // content boundaries max (rou…
224 IMGUI_API float GetWindowContentRegionWidth(); //
226IMGUI_API void SetNextWindowPos(const ImVec2& pos, ImGuiCond cond = 0, const ImVec2& pivo…
227IMGUI_API void SetNextWindowSize(const ImVec2& size, ImGuiCond cond = 0); …
228IMGUI_API void SetNextWindowSizeConstraints(const ImVec2& size_min, const ImVec2& size_ma…
229IMGUI_API void SetNextWindowContentSize(const ImVec2& size); …
230IMGUI_API void SetNextWindowCollapsed(bool collapsed, ImGuiCond cond = 0); …
231IMGUI_API void SetNextWindowFocus(); …
232IMGUI_API void SetNextWindowBgAlpha(float alpha); …
233IMGUI_API void SetWindowPos(const ImVec2& pos, ImGuiCond cond = 0); …
234IMGUI_API void SetWindowSize(const ImVec2& size, ImGuiCond cond = 0); …
235IMGUI_API void SetWindowCollapsed(bool collapsed, ImGuiCond cond = 0); …
236IMGUI_API void SetWindowFocus(); …
237IMGUI_API void SetWindowFontScale(float scale); …
238IMGUI_API void SetWindowPos(const char* name, const ImVec2& pos, ImGuiCond cond = 0); …
239IMGUI_API void SetWindowSize(const char* name, const ImVec2& size, ImGuiCond cond = 0); …
240IMGUI_API void SetWindowCollapsed(const char* name, bool collapsed, ImGuiCond cond = 0); …
241IMGUI_API void SetWindowFocus(const char* name); …
244IMGUI_API float GetScrollX(); // get scr…
245IMGUI_API float GetScrollY(); // get scr…
246IMGUI_API float GetScrollMaxX(); // get max…
247IMGUI_API float GetScrollMaxY(); // get max…
248IMGUI_API void SetScrollX(float scroll_x); // set scr…
249IMGUI_API void SetScrollY(float scroll_y); // set scr…
250IMGUI_API void SetScrollHereY(float center_y_ratio = 0.5f); // adjust…
251IMGUI_API void SetScrollFromPosY(float pos_y, float center_y_ratio = 0.5f); // adjust …
254IMGUI_API void PushFont(ImFont* font); // use NUL…
255 IMGUI_API void PopFont();
256 IMGUI_API void PushStyleColor(ImGuiCol idx, ImU32 col);
257 IMGUI_API void PushStyleColor(ImGuiCol idx, const ImVec4& col);
258 IMGUI_API void PopStyleColor(int count = 1);
259 IMGUI_API void PushStyleVar(ImGuiStyleVar idx, float val);
260 IMGUI_API void PushStyleVar(ImGuiStyleVar idx, const ImVec2& val);
261 IMGUI_API void PopStyleVar(int count = 1);
262IMGUI_API const ImVec4& GetStyleColorVec4(ImGuiCol idx); // retriev…
263IMGUI_API ImFont* GetFont(); // get cur…
264IMGUI_API float GetFontSize(); // get cur…
265IMGUI_API ImVec2 GetFontTexUvWhitePixel(); // get UV …
266IMGUI_API ImU32 GetColorU32(ImGuiCol idx, float alpha_mul = 1.0f); // retriev…
267IMGUI_API ImU32 GetColorU32(const ImVec4& col); // retriev…
268IMGUI_API ImU32 GetColorU32(ImU32 col); // retriev…
271IMGUI_API void PushItemWidth(float item_width); // width o…
272 IMGUI_API void PopItemWidth();
273IMGUI_API float CalcItemWidth(); // width o…
274IMGUI_API void PushTextWrapPos(float wrap_pos_x = 0.0f); // word-wr…
275 IMGUI_API void PopTextWrapPos();
276IMGUI_API void PushAllowKeyboardFocus(bool allow_keyboard_focus); // allow f…
277 IMGUI_API void PopAllowKeyboardFocus();
278IMGUI_API void PushButtonRepeat(bool repeat); // in 'rep…
279 IMGUI_API void PopButtonRepeat();
282IMGUI_API void Separator(); // separat…
283IMGUI_API void SameLine(float pos_x = 0.0f, float spacing_w = -1.0f); // call be…
284IMGUI_API void NewLine(); // undo a …
285IMGUI_API void Spacing(); // add ver…
286IMGUI_API void Dummy(const ImVec2& size); // add a d…
287IMGUI_API void Indent(float indent_w = 0.0f); // move co…
288IMGUI_API void Unindent(float indent_w = 0.0f); // move co…
289IMGUI_API void BeginGroup(); // lock ho…
290 IMGUI_API void EndGroup();
291IMGUI_API ImVec2 GetCursorPos(); // cursor …
292 IMGUI_API float GetCursorPosX(); // "
293 IMGUI_API float GetCursorPosY(); // "
294 IMGUI_API void SetCursorPos(const ImVec2& local_pos); // "
295 IMGUI_API void SetCursorPosX(float x); // "
296 IMGUI_API void SetCursorPosY(float y); // "
297IMGUI_API ImVec2 GetCursorStartPos(); // initial…
298IMGUI_API ImVec2 GetCursorScreenPos(); // cursor …
299IMGUI_API void SetCursorScreenPos(const ImVec2& screen_pos); // cursor …
300IMGUI_API void AlignTextToFramePadding(); // vertica…
301IMGUI_API float GetTextLineHeight(); // ~ FontS…
302IMGUI_API float GetTextLineHeightWithSpacing(); // ~ FontS…
303IMGUI_API float GetFrameHeight(); // ~ FontS…
304IMGUI_API float GetFrameHeightWithSpacing(); // ~ FontS…
312IMGUI_API void PushID(const char* str_id); // push id…
313 IMGUI_API void PushID(const char* str_id_begin, const char* str_id_end);
314 IMGUI_API void PushID(const void* ptr_id);
315 IMGUI_API void PushID(int int_id);
316 IMGUI_API void PopID();
317IMGUI_API ImGuiID GetID(const char* str_id); // calcula…
318 IMGUI_API ImGuiID GetID(const char* str_id_begin, const char* str_id_end);
319 IMGUI_API ImGuiID GetID(const void* ptr_id);
322IMGUI_API void TextUnformatted(const char* text, const char* text_end = NULL); …
323IMGUI_API void Text(const char* fmt, ...) IM_FMTARGS…
324IMGUI_API void TextV(const char* fmt, va_list args) IM_FMTLIST…
325IMGUI_API void TextColored(const ImVec4& col, const char* fmt, ...) IM_FMTARGS…
326IMGUI_API void TextColoredV(const ImVec4& col, const char* fmt, va_list args) IM_FMTLIST…
327IMGUI_API void TextDisabled(const char* fmt, ...) IM_FMTARGS…
328IMGUI_API void TextDisabledV(const char* fmt, va_list args) IM_FMTLIST…
329IMGUI_API void TextWrapped(const char* fmt, ...) IM_FMTARGS…
330IMGUI_API void TextWrappedV(const char* fmt, va_list args) IM_FMTLIST…
331IMGUI_API void LabelText(const char* label, const char* fmt, ...) IM_FMTARGS…
332IMGUI_API void LabelTextV(const char* label, const char* fmt, va_list args) IM_FMTLIST…
333IMGUI_API void BulletText(const char* fmt, ...) IM_FMTARGS…
334IMGUI_API void BulletTextV(const char* fmt, va_list args) IM_FMTLIST…
338IMGUI_API bool Button(const char* label, const ImVec2& size = ImVec2(0,0)); // button
339IMGUI_API bool SmallButton(const char* label); // button …
340IMGUI_API bool InvisibleButton(const char* str_id, const ImVec2& size); // button …
341IMGUI_API bool ArrowButton(const char* str_id, ImGuiDir dir); // square …
342IMGUI_API void Image(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 =…
343IMGUI_API bool ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2&…
344 IMGUI_API bool Checkbox(const char* label, bool* v);
345IMGUI_API bool CheckboxFlags(const char* label, unsigned int* flags, unsigned int flags_v…
346IMGUI_API bool RadioButton(const char* label, bool active); // use wit…
347IMGUI_API bool RadioButton(const char* label, int* v, int v_button); // shortcu…
348IMGUI_API void ProgressBar(float fraction, const ImVec2& size_arg = ImVec2(-1,0), const c…
349IMGUI_API void Bullet(); // draw a …
354IMGUI_API bool BeginCombo(const char* label, const char* preview_value, ImGuiComboFlags f…
355 IMGUI_API void EndCombo(); // only call EndCombo() if BeginCombo() returns true!
356IMGUI_API bool Combo(const char* label, int* current_item, const char* const items[], int…
357IMGUI_API bool Combo(const char* label, int* current_item, const char* items_separated_by…
358IMGUI_API bool Combo(const char* label, int* current_item, bool(*items_getter)(void* data…
364IMGUI_API bool DragFloat(const char* label, float* v, float v_speed = 1.0f, float v_min =…
365IMGUI_API bool DragFloat2(const char* label, float v[2], float v_speed = 1.0f, float v_mi…
366IMGUI_API bool DragFloat3(const char* label, float v[3], float v_speed = 1.0f, float v_mi…
367IMGUI_API bool DragFloat4(const char* label, float v[4], float v_speed = 1.0f, float v_mi…
368IMGUI_API bool DragFloatRange2(const char* label, float* v_current_min, float* v_current_…
369IMGUI_API bool DragInt(const char* label, int* v, float v_speed = 1.0f, int v_min = 0, in…
370IMGUI_API bool DragInt2(const char* label, int v[2], float v_speed = 1.0f, int v_min = 0,…
371IMGUI_API bool DragInt3(const char* label, int v[3], float v_speed = 1.0f, int v_min = 0,…
372IMGUI_API bool DragInt4(const char* label, int v[4], float v_speed = 1.0f, int v_min = 0,…
373IMGUI_API bool DragIntRange2(const char* label, int* v_current_min, int* v_current_max, f…
374IMGUI_API bool DragScalar(const char* label, ImGuiDataType data_type, void* v, float v_sp…
375IMGUI_API bool DragScalarN(const char* label, ImGuiDataType data_type, void* v, int compo…
379IMGUI_API bool SliderFloat(const char* label, float* v, float v_min, float v_max, const c…
380IMGUI_API bool SliderFloat2(const char* label, float v[2], float v_min, float v_max, cons…
381IMGUI_API bool SliderFloat3(const char* label, float v[3], float v_min, float v_max, cons…
382IMGUI_API bool SliderFloat4(const char* label, float v[4], float v_min, float v_max, cons…
383IMGUI_API bool SliderAngle(const char* label, float* v_rad, float v_degrees_min = -360.0f…
384IMGUI_API bool SliderInt(const char* label, int* v, int v_min, int v_max, const char* for…
385IMGUI_API bool SliderInt2(const char* label, int v[2], int v_min, int v_max, const char* …
386IMGUI_API bool SliderInt3(const char* label, int v[3], int v_min, int v_max, const char* …
387IMGUI_API bool SliderInt4(const char* label, int v[4], int v_min, int v_max, const char* …
388IMGUI_API bool SliderScalar(const char* label, ImGuiDataType data_type, void* v, const vo…
389IMGUI_API bool SliderScalarN(const char* label, ImGuiDataType data_type, void* v, int com…
390IMGUI_API bool VSliderFloat(const char* label, const ImVec2& size, float* v, float v_min,…
391IMGUI_API bool VSliderInt(const char* label, const ImVec2& size, int* v, int v_min, int v…
392IMGUI_API bool VSliderScalar(const char* label, const ImVec2& size, ImGuiDataType data_ty…
396IMGUI_API bool InputText(const char* label, char* buf, size_t buf_size, ImGuiInputTextFla…
397IMGUI_API bool InputTextMultiline(const char* label, char* buf, size_t buf_size, const Im…
398IMGUI_API bool InputFloat(const char* label, float* v, float step = 0.0f, float step_fast…
399IMGUI_API bool InputFloat2(const char* label, float v[2], const char* format = "%.3f", Im…
400IMGUI_API bool InputFloat3(const char* label, float v[3], const char* format = "%.3f", Im…
401IMGUI_API bool InputFloat4(const char* label, float v[4], const char* format = "%.3f", Im…
402IMGUI_API bool InputInt(const char* label, int* v, int step = 1, int step_fast = 100, ImG…
403IMGUI_API bool InputInt2(const char* label, int v[2], ImGuiInputTextFlags extra_flags = 0…
404IMGUI_API bool InputInt3(const char* label, int v[3], ImGuiInputTextFlags extra_flags = 0…
405IMGUI_API bool InputInt4(const char* label, int v[4], ImGuiInputTextFlags extra_flags = 0…
406IMGUI_API bool InputDouble(const char* label, double* v, double step = 0.0f, double step_…
407IMGUI_API bool InputScalar(const char* label, ImGuiDataType data_type, void* v, const voi…
408IMGUI_API bool InputScalarN(const char* label, ImGuiDataType data_type, void* v, int comp…
412IMGUI_API bool ColorEdit3(const char* label, float col[3], ImGuiColorEditFlags flags = 0);
413IMGUI_API bool ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flags = 0);
414IMGUI_API bool ColorPicker3(const char* label, float col[3], ImGuiColorEditFlags flags = …
415IMGUI_API bool ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags flags = …
416IMGUI_API bool ColorButton(const char* desc_id, const ImVec4& col, ImGuiColorEditFlags fl…
417IMGUI_API void SetColorEditOptions(ImGuiColorEditFlags flags); // ini…
421 IMGUI_API bool TreeNode(const char* label);
422IMGUI_API bool TreeNode(const char* str_id, const char* fmt, ...) IM_FMTARGS(2); // hel…
423 IMGUI_API bool TreeNode(const void* ptr_id, const char* fmt, ...) IM_FMTARGS(2); // "
424IMGUI_API bool TreeNodeV(const char* str_id, const char* fmt, va_list args) IM_FMTLIST(2);
425IMGUI_API bool TreeNodeV(const void* ptr_id, const char* fmt, va_list args) IM_FMTLIST(2);
426 IMGUI_API bool TreeNodeEx(const char* label, ImGuiTreeNodeFlags flags = 0);
427IMGUI_API bool TreeNodeEx(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt, …
428IMGUI_API bool TreeNodeEx(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, …
429IMGUI_API bool TreeNodeExV(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt,…
430IMGUI_API bool TreeNodeExV(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt,…
431IMGUI_API void TreePush(const char* str_id); // ~ I…
432 IMGUI_API void TreePush(const void* ptr_id = NULL); // "
433IMGUI_API void TreePop(); // ~ U…
434IMGUI_API void TreeAdvanceToLabelPos(); // adv…
435IMGUI_API float GetTreeNodeToLabelSpacing(); // hor…
436IMGUI_API void SetNextTreeNodeOpen(bool is_open, ImGuiCond cond = 0); // set…
437IMGUI_API bool CollapsingHeader(const char* label, ImGuiTreeNodeFlags flags = 0); // if …
438IMGUI_API bool CollapsingHeader(const char* label, bool* p_open, ImGuiTreeNodeFlags flags…
441IMGUI_API bool Selectable(const char* label, bool selected = false, ImGuiSelectableFlags …
442IMGUI_API bool Selectable(const char* label, bool* p_selected, ImGuiSelectableFlags flags…
445IMGUI_API bool ListBox(const char* label, int* current_item, const char* const items[], i…
446IMGUI_API bool ListBox(const char* label, int* current_item, bool (*items_getter)(void* d…
447IMGUI_API bool ListBoxHeader(const char* label, const ImVec2& size = ImVec2(0,0)); // use…
448IMGUI_API bool ListBoxHeader(const char* label, int items_count, int height_in_items = -1…
449IMGUI_API void ListBoxFooter(); // ter…
452IMGUI_API void PlotLines(const char* label, const float* values, int values_count, int va…
453IMGUI_API void PlotLines(const char* label, float(*values_getter)(void* data, int idx), v…
454IMGUI_API void PlotHistogram(const char* label, const float* values, int values_count, in…
455IMGUI_API void PlotHistogram(const char* label, float(*values_getter)(void* data, int idx…
458 IMGUI_API void Value(const char* prefix, bool b);
459 IMGUI_API void Value(const char* prefix, int v);
460 IMGUI_API void Value(const char* prefix, unsigned int v);
461 IMGUI_API void Value(const char* prefix, float v, const char* float_format = NULL);
464IMGUI_API bool BeginMainMenuBar(); // cre…
465IMGUI_API void EndMainMenuBar(); // onl…
466IMGUI_API bool BeginMenuBar(); // app…
467IMGUI_API void EndMenuBar(); // onl…
468IMGUI_API bool BeginMenu(const char* label, bool enabled = true); // cre…
469IMGUI_API void EndMenu(); // onl…
470IMGUI_API bool MenuItem(const char* label, const char* shortcut = NULL, bool selected = f…
471IMGUI_API bool MenuItem(const char* label, const char* shortcut, bool* p_selected, bool e…
474IMGUI_API void BeginTooltip(); // beg…
475 IMGUI_API void EndTooltip();
476IMGUI_API void SetTooltip(const char* fmt, ...) IM_FMTARGS(1); // set…
477 IMGUI_API void SetTooltipV(const char* fmt, va_list args) IM_FMTLIST(1);
480IMGUI_API void OpenPopup(const char* str_id); // cal…
481IMGUI_API bool BeginPopup(const char* str_id, ImGuiWindowFlags flags = 0); …
482IMGUI_API bool BeginPopupContextItem(const char* str_id = NULL, int mouse_button = 1); …
483IMGUI_API bool BeginPopupContextWindow(const char* str_id = NULL, int mouse_button = 1, b…
484IMGUI_API bool BeginPopupContextVoid(const char* str_id = NULL, int mouse_button = 1); …
485IMGUI_API bool BeginPopupModal(const char* name, bool* p_open = NULL, ImGuiWindowFlags fl…
486IMGUI_API void EndPopup(); …
487IMGUI_API bool OpenPopupOnItemClick(const char* str_id = NULL, int mouse_button = 1); …
488IMGUI_API bool IsPopupOpen(const char* str_id); // ret…
489IMGUI_API void CloseCurrentPopup(); // clo…
493 IMGUI_API void Columns(int count = 1, const char* id = NULL, bool border = true);
494IMGUI_API void NextColumn(); // nex…
495IMGUI_API int GetColumnIndex(); // get…
496IMGUI_API float GetColumnWidth(int column_index = -1); // get…
497IMGUI_API void SetColumnWidth(int column_index, float width); // set…
498IMGUI_API float GetColumnOffset(int column_index = -1); // get…
499IMGUI_API void SetColumnOffset(int column_index, float offset_x); // set…
500 IMGUI_API int GetColumnsCount();
503IMGUI_API void LogToTTY(int max_depth = -1); // sta…
504IMGUI_API void LogToFile(int max_depth = -1, const char* filename = NULL); // sta…
505IMGUI_API void LogToClipboard(int max_depth = -1); // sta…
506IMGUI_API void LogFinish(); // sto…
507IMGUI_API void LogButtons(); // hel…
508IMGUI_API void LogText(const char* fmt, ...) IM_FMTARGS(1); // pas…
512IMGUI_API bool BeginDragDropSource(ImGuiDragDropFlags flags = 0); …
513IMGUI_API bool SetDragDropPayload(const char* type, const void* data, size_t size, ImGuiC…
514IMGUI_API void EndDragDropSource(); …
515IMGUI_API bool BeginDragDropTarget(); …
516IMGUI_API const ImGuiPayload* AcceptDragDropPayload(const char* type, ImGuiDragDropFlags flags =…
517IMGUI_API void EndDragDropTarget(); …
518IMGUI_API const ImGuiPayload* GetDragDropPayload(); …
521IMGUI_API void PushClipRect(const ImVec2& clip_rect_min, const ImVec2& clip_rect_max, boo…
522 IMGUI_API void PopClipRect();
526IMGUI_API void SetItemDefaultFocus(); // mak…
527IMGUI_API void SetKeyboardFocusHere(int offset = 0); // foc…
531IMGUI_API bool IsItemHovered(ImGuiHoveredFlags flags = 0); // is …
532IMGUI_API bool IsItemActive(); // is …
533IMGUI_API bool IsItemFocused(); // is …
534IMGUI_API bool IsItemClicked(int mouse_button = 0); // is …
535IMGUI_API bool IsItemVisible(); // is …
536IMGUI_API bool IsItemEdited(); // did…
537IMGUI_API bool IsItemDeactivated(); // was…
538IMGUI_API bool IsItemDeactivatedAfterEdit(); // was…
539 IMGUI_API bool IsAnyItemHovered();
540 IMGUI_API bool IsAnyItemActive();
541 IMGUI_API bool IsAnyItemFocused();
542IMGUI_API ImVec2 GetItemRectMin(); // get…
543 IMGUI_API ImVec2 GetItemRectMax(); // "
544IMGUI_API ImVec2 GetItemRectSize(); // get…
545IMGUI_API void SetItemAllowOverlap(); // all…
548IMGUI_API bool IsRectVisible(const ImVec2& size); // tes…
549IMGUI_API bool IsRectVisible(const ImVec2& rect_min, const ImVec2& rect_max); // tes…
550 IMGUI_API double GetTime();
551 IMGUI_API int GetFrameCount();
552IMGUI_API ImDrawList* GetOverlayDrawList(); // thi…
553IMGUI_API ImDrawListSharedData* GetDrawListSharedData(); // you…
554 IMGUI_API const char* GetStyleColorName(ImGuiCol idx);
555IMGUI_API void SetStateStorage(ImGuiStorage* storage); // rep…
556 IMGUI_API ImGuiStorage* GetStateStorage();
557IMGUI_API ImVec2 CalcTextSize(const char* text, const char* text_end = NULL, bool hide_text…
558IMGUI_API void CalcListClipping(int items_count, float items_height, int* out_items_displ…
559IMGUI_API bool BeginChildFrame(ImGuiID id, const ImVec2& size, ImGuiWindowFlags flags = 0…
560IMGUI_API void EndChildFrame(); // alw…
563 IMGUI_API ImVec4 ColorConvertU32ToFloat4(ImU32 in);
564 IMGUI_API ImU32 ColorConvertFloat4ToU32(const ImVec4& in);
565IMGUI_API void ColorConvertRGBtoHSV(float r, float g, float b, float& out_h, float& out_s…
566IMGUI_API void ColorConvertHSVtoRGB(float h, float s, float v, float& out_r, float& out_g…
569IMGUI_API int GetKeyIndex(ImGuiKey imgui_key); // map…
570IMGUI_API bool IsKeyDown(int user_key_index); // is …
571IMGUI_API bool IsKeyPressed(int user_key_index, bool repeat = true); // was…
572IMGUI_API bool IsKeyReleased(int user_key_index); // was…
573IMGUI_API int GetKeyPressedAmount(int key_index, float repeat_delay, float rate); // use…
574IMGUI_API bool IsMouseDown(int button); // is …
575IMGUI_API bool IsAnyMouseDown(); // is …
576IMGUI_API bool IsMouseClicked(int button, bool repeat = false); // did…
577IMGUI_API bool IsMouseDoubleClicked(int button); // did…
578IMGUI_API bool IsMouseReleased(int button); // did…
579IMGUI_API bool IsMouseDragging(int button = 0, float lock_threshold = -1.0f); // is …
580IMGUI_API bool IsMouseHoveringRect(const ImVec2& r_min, const ImVec2& r_max, bool clip = …
581 IMGUI_API bool IsMousePosValid(const ImVec2* mouse_pos = NULL); //
582IMGUI_API ImVec2 GetMousePos(); // sho…
583IMGUI_API ImVec2 GetMousePosOnOpeningCurrentPopup(); // ret…
584IMGUI_API ImVec2 GetMouseDragDelta(int button = 0, float lock_threshold = -1.0f); // dra…
585 IMGUI_API void ResetMouseDragDelta(int button = 0); //
586IMGUI_API ImGuiMouseCursor GetMouseCursor(); // get…
587IMGUI_API void SetMouseCursor(ImGuiMouseCursor type); // set…
588IMGUI_API void CaptureKeyboardFromApp(bool capture = true); // man…
589IMGUI_API void CaptureMouseFromApp(bool capture = true); // man…
592 IMGUI_API const char* GetClipboardText();
593 IMGUI_API void SetClipboardText(const char* text);
598IMGUI_API void LoadIniSettingsFromDisk(const char* ini_filename); // cal…
599IMGUI_API void LoadIniSettingsFromMemory(const char* ini_data, size_t ini_size=0); // cal…
600 IMGUI_API void SaveIniSettingsToDisk(const char* ini_filename);
601IMGUI_API const char* SaveIniSettingsToMemory(size_t* out_ini_size = NULL); // ret…
606IMGUI_API void SetAllocatorFunctions(void* (*alloc_func)(size_t sz, void* user_data), voi…
607 IMGUI_API void* MemAlloc(size_t size);
608 IMGUI_API void MemFree(void* ptr);
1084 IMGUI_API ImGuiStyle();
1085 IMGUI_API void ScaleAllSizes(float scale_factor);
1166IMGUI_API void AddInputCharacter(ImWchar c); // Add new character into Inpu…
1167IMGUI_API void AddInputCharactersUTF8(const char* utf8_chars); // Add new characters into Inp…
1209 IMGUI_API ImGuiIO();
1224IMGUI_API bool InputFloat(const char* label, float* v, float step, float step_fast, int decim…
1225IMGUI_API bool InputFloat2(const char* label, float v[2], int decimal_precision, ImGuiInputTe…
1226IMGUI_API bool InputFloat3(const char* label, float v[3], int decimal_precision, ImGuiInputTe…
1227IMGUI_API bool InputFloat4(const char* label, float v[4], int decimal_precision, ImGuiInputTe…
1239IMGUI_API bool Begin(const char* name, bool* p_open, const ImVec2& size_on_first_use, float b…
1347 IMGUI_API ImGuiTextFilter(const char* default_filter = "");
1348IMGUI_API bool Draw(const char* label = "Filter (inc,-exc)", float width = 0.0f); // Helpe…
1349 IMGUI_API bool PassFilter(const char* text, const char* text_end = NULL) const;
1350 IMGUI_API void Build();
1365 IMGUI_API void split(char separator, ImVector<TextRange>* out) const;
1388 IMGUI_API void appendf(const char* fmt, ...) IM_FMTARGS(2);
1389 IMGUI_API void appendfv(const char* fmt, va_list args) IM_FMTLIST(2);
1416 IMGUI_API int GetInt(ImGuiID key, int default_val = 0) const;
1417 IMGUI_API void SetInt(ImGuiID key, int val);
1418 IMGUI_API bool GetBool(ImGuiID key, bool default_val = false) const;
1419 IMGUI_API void SetBool(ImGuiID key, bool val);
1420 IMGUI_API float GetFloat(ImGuiID key, float default_val = 0.0f) const;
1421 IMGUI_API void SetFloat(ImGuiID key, float val);
1422 IMGUI_API void* GetVoidPtr(ImGuiID key) const; // default_val is NULL
1423 IMGUI_API void SetVoidPtr(ImGuiID key, void* val);
1429 IMGUI_API int* GetIntRef(ImGuiID key, int default_val = 0);
1430 IMGUI_API bool* GetBoolRef(ImGuiID key, bool default_val = false);
1431 IMGUI_API float* GetFloatRef(ImGuiID key, float default_val = 0.0f);
1432 IMGUI_API void** GetVoidPtrRef(ImGuiID key, void* default_val = NULL);
1435 IMGUI_API void SetAllInt(int val);
1438 IMGUI_API void BuildSortByKey();
1470 IMGUI_API ImGuiInputTextCallbackData();
1471 IMGUI_API void DeleteChars(int pos, int bytes_count);
1472 IMGUI_API void InsertChars(int pos, const char* text, const char* text_end = NULL);
1578IMGUI_API bool Step(); // Call until it returns false…
1579IMGUI_API void Begin(int items_count, float items_height = -1.0f); // Automatically called by con…
1580IMGUI_API void End(); // Automatically called on the…
1684IMGUI_API void PushClipRect(ImVec2 clip_rect_min, ImVec2 clip_rect_max, bool intersect_with_curre…
1685 IMGUI_API void PushClipRectFullScreen();
1686 IMGUI_API void PopClipRect();
1687 IMGUI_API void PushTextureID(ImTextureID texture_id);
1688 IMGUI_API void PopTextureID();
1693 IMGUI_API void AddLine(const ImVec2& a, const ImVec2& b, ImU32 col, float thickness = 1.0f);
1694IMGUI_API void AddRect(const ImVec2& a, const ImVec2& b, ImU32 col, float rounding = 0.0f, int ro…
1695IMGUI_API void AddRectFilled(const ImVec2& a, const ImVec2& b, ImU32 col, float rounding = 0.0f, …
1696IMGUI_API void AddRectFilledMultiColor(const ImVec2& a, const ImVec2& b, ImU32 col_upr_left, ImU3…
1697IMGUI_API void AddQuad(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& d, ImU32 …
1698IMGUI_API void AddQuadFilled(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& d, …
1699IMGUI_API void AddTriangle(const ImVec2& a, const ImVec2& b, const ImVec2& c, ImU32 col, float th…
1700 IMGUI_API void AddTriangleFilled(const ImVec2& a, const ImVec2& b, const ImVec2& c, ImU32 col);
1701IMGUI_API void AddCircle(const ImVec2& centre, float radius, ImU32 col, int num_segments = 12, fl…
1702IMGUI_API void AddCircleFilled(const ImVec2& centre, float radius, ImU32 col, int num_segments = …
1703IMGUI_API void AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end…
1704IMGUI_API void AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const c…
1705IMGUI_API void AddImage(ImTextureID user_texture_id, const ImVec2& a, const ImVec2& b, const ImVe…
1706IMGUI_API void AddImageQuad(ImTextureID user_texture_id, const ImVec2& a, const ImVec2& b, const …
1707IMGUI_API void AddImageRounded(ImTextureID user_texture_id, const ImVec2& a, const ImVec2& b, con…
1708IMGUI_API void AddPolyline(const ImVec2* points, const int num_points, ImU32 col, bool closed, fl…
1709IMGUI_API void AddConvexPolyFilled(const ImVec2* points, const int num_points, ImU32 col); // Not…
1710IMGUI_API void AddBezierCurve(const ImVec2& pos0, const ImVec2& cp0, const ImVec2& cp1, const ImV…
1718IMGUI_API void PathArcTo(const ImVec2& centre, float radius, float a_min, float a_max, int num_se…
1719IMGUI_API void PathArcToFast(const ImVec2& centre, float radius, int a_min_of_12, int a_max_of_12…
1720IMGUI_API void PathBezierCurveTo(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, int num_se…
1721IMGUI_API void PathRect(const ImVec2& rect_min, const ImVec2& rect_max, float rounding = 0.0f, in…
1726 IMGUI_API void ChannelsSplit(int channels_count);
1727 IMGUI_API void ChannelsMerge();
1728 IMGUI_API void ChannelsSetCurrent(int channel_index);
1731IMGUI_API void AddCallback(ImDrawCallback callback, void* callback_data); // Your rendering func…
1732IMGUI_API void AddDrawCmd(); // This is useful if y…
1733IMGUI_API ImDrawList* CloneOutput() const; // Create a clone of t…
1737 IMGUI_API void Clear();
1738 IMGUI_API void ClearFreeMemory();
1739 IMGUI_API void PrimReserve(int idx_count, int vtx_count);
1740IMGUI_API void PrimRect(const ImVec2& a, const ImVec2& b, ImU32 col); // Axis aligned rectan…
1741IMGUI_API void PrimRectUV(const ImVec2& a, const ImVec2& b, const ImVec2& uv_a, const ImVec2& uv_…
1742IMGUI_API void PrimQuadUV(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& d, con…
1746 IMGUI_API void UpdateClipRect();
1747 IMGUI_API void UpdateTextureID();
1766IMGUI_API void DeIndexAllBuffers(); // Helper to convert all buffers from indexed …
1767IMGUI_API void ScaleClipRects(const ImVec2& sc); // Helper to scale the ClipRect field of each …
1793 IMGUI_API ImFontConfig();
1830 IMGUI_API ImFontAtlas();
1831 IMGUI_API ~ImFontAtlas();
1832 IMGUI_API ImFont* AddFont(const ImFontConfig* font_cfg);
1833 IMGUI_API ImFont* AddFontDefault(const ImFontConfig* font_cfg = NULL);
1834IMGUI_API ImFont* AddFontFromFileTTF(const char* filename, float size_pixels, const ImFo…
1835IMGUI_API ImFont* AddFontFromMemoryTTF(void* font_data, int font_size, float size_pixels…
1836IMGUI_API ImFont* AddFontFromMemoryCompressedTTF(const void* compressed_font_data, int c…
1837IMGUI_API ImFont* AddFontFromMemoryCompressedBase85TTF(const char* compressed_font_data_…
1838IMGUI_API void ClearInputData(); // Clear input data (all ImFontConfig stru…
1839IMGUI_API void ClearTexData(); // Clear output texture data (CPU side). S…
1840IMGUI_API void ClearFonts(); // Clear output font data (glyphs storage,…
1841 IMGUI_API void Clear(); // Clear all input and output.
1848IMGUI_API bool Build(); // Build pixels data. This is called autom…
1849IMGUI_API bool IsBuilt() { return Fonts.Size > 0 && (TexPixelsAlpha… in IsBuilt()
1850IMGUI_API void GetTexDataAsAlpha8(unsigned char** out_pixels, int* out_width, int* ou…
1851IMGUI_API void GetTexDataAsRGBA32(unsigned char** out_pixels, int* out_width, int* ou…
1861IMGUI_API const ImWchar* GetGlyphRangesDefault(); // Basic Latin, Extended Latin
1862IMGUI_API const ImWchar* GetGlyphRangesKorean(); // Default + Korean characters
1863IMGUI_API const ImWchar* GetGlyphRangesJapanese(); // Default + Hiragana, Katakan…
1864IMGUI_API const ImWchar* GetGlyphRangesChineseFull(); // Default + Half-Width + Japa…
1865IMGUI_API const ImWchar* GetGlyphRangesChineseSimplifiedCommon();// Default + Half-Width + Japa…
1866IMGUI_API const ImWchar* GetGlyphRangesCyrillic(); // Default + about 400 Cyrilli…
1867 IMGUI_API const ImWchar* GetGlyphRangesThai(); // Default + Thai characters
1877IMGUI_API void AddText(const char* text, const char* text_end = NULL); // Add string (each ch…
1878IMGUI_API void AddRanges(const ImWchar* ranges); // Add ranges, e.g. bu…
1879IMGUI_API void BuildRanges(ImVector<ImWchar>* out_ranges); // Output new ranges
1900IMGUI_API int AddCustomRectRegular(unsigned int id, int width, int height); …
1901IMGUI_API int AddCustomRectFontGlyph(ImFont* font, ImWchar id, int width, int height, float …
1905IMGUI_API void CalcCustomRectUV(const CustomRect* rect, ImVec2* out_uv_min, ImVec2* out_uv_ma…
1906IMGUI_API bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ImVec2* out_offset, ImVec2* out…
1956 IMGUI_API ImFont();
1957 IMGUI_API ~ImFont();
1958 IMGUI_API void ClearOutputData();
1959 IMGUI_API void BuildLookupTable();
1960 IMGUI_API const ImFontGlyph*FindGlyph(ImWchar c) const;
1961 IMGUI_API const ImFontGlyph*FindGlyphNoFallback(ImWchar c) const;
1962 IMGUI_API void SetFallbackChar(ImWchar c);
1969IMGUI_API ImVec2 CalcTextSizeA(float size, float max_width, float wrap_width, const cha…
1970IMGUI_API const char* CalcWordWrapPositionA(float scale, const char* text, const char* text_…
1971IMGUI_API void RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, I…
1972IMGUI_API void RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, c…
1975 IMGUI_API void GrowIndex(int new_size);
1976IMGUI_API void AddGlyph(ImWchar c, float x0, float y0, float x1, float y1, float u0, …
1977IMGUI_API void AddRemapChar(ImWchar dst, ImWchar src, bool overwrite_dst = true); // …