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