Lines Matching refs:IMGUI_API
54 #ifndef IMGUI_API
55 #define IMGUI_API macro
58 #define IMGUI_IMPL_API IMGUI_API
201 IMGUI_API ImGuiContext* CreateContext(ImFontAtlas* shared_font_atlas = NULL);
202 …IMGUI_API void DestroyContext(ImGuiContext* ctx = NULL); // NULL = destroy current cont…
203 IMGUI_API ImGuiContext* GetCurrentContext();
204 IMGUI_API void SetCurrentContext(ImGuiContext* ctx);
205 …IMGUI_API bool DebugCheckVersionAndDataLayout(const char* version_str, size_t sz_io, size…
208 …IMGUI_API ImGuiIO& GetIO(); // access the IO structure (mo…
209 …IMGUI_API ImGuiStyle& GetStyle(); // access the Style structure …
210 …IMGUI_API void NewFrame(); // start a new ImGui frame, yo…
211 …IMGUI_API void EndFrame(); // ends the ImGui frame. autom…
212 …IMGUI_API void Render(); // ends the ImGui frame, final…
213 …IMGUI_API ImDrawData* GetDrawData(); // valid after Render() and un…
216 …IMGUI_API void ShowDemoWindow(bool* p_open = NULL); // create demo/test window (pr…
217 …IMGUI_API void ShowAboutWindow(bool* p_open = NULL); // create about window. displa…
218 …IMGUI_API void ShowMetricsWindow(bool* p_open = NULL); // create metrics window. disp…
219 …IMGUI_API void ShowStyleEditor(ImGuiStyle* ref = NULL); // add style editor block (not…
220 …IMGUI_API bool ShowStyleSelector(const char* label); // add style selector block (n…
221 …IMGUI_API void ShowFontSelector(const char* label); // add font selector block (no…
222 …IMGUI_API void ShowUserGuide(); // add basic help/info block (…
223 …IMGUI_API const char* GetVersion(); // get the compiled version st…
226 …IMGUI_API void StyleColorsDark(ImGuiStyle* dst = NULL); // new, recommended style (def…
227 IMGUI_API void StyleColorsClassic(ImGuiStyle* dst = NULL); // classic imgui style
228 …IMGUI_API void StyleColorsLight(ImGuiStyle* dst = NULL); // best used with borders and …
240 … IMGUI_API bool Begin(const char* name, bool* p_open = NULL, ImGuiWindowFlags flags = 0);
241 IMGUI_API void End();
248 …IMGUI_API bool BeginChild(const char* str_id, const ImVec2& size = ImVec2(0,0), bool bord…
249 …IMGUI_API bool BeginChild(ImGuiID id, const ImVec2& size = ImVec2(0,0), bool border = fal…
250 IMGUI_API void EndChild();
254 IMGUI_API bool IsWindowAppearing();
255 IMGUI_API bool IsWindowCollapsed();
256 …IMGUI_API bool IsWindowFocused(ImGuiFocusedFlags flags=0); // is current window focused? …
257 …IMGUI_API bool IsWindowHovered(ImGuiHoveredFlags flags=0); // is current window hovered (…
258 …IMGUI_API ImDrawList* GetWindowDrawList(); // get draw list associated to…
260 …IMGUI_API ImVec2 GetWindowPos(); // get current window position…
261 IMGUI_API ImVec2 GetWindowSize(); // get current window size
262 …IMGUI_API float GetWindowWidth(); // get current window width (s…
263 …IMGUI_API float GetWindowHeight(); // get current window height (…
264 …IMGUI_API ImVec2 GetContentRegionMax(); // current content boundaries …
265 …IMGUI_API ImVec2 GetContentRegionAvail(); // == GetContentRegionMax() - …
266 IMGUI_API float GetContentRegionAvailWidth(); //
267 …IMGUI_API ImVec2 GetWindowContentRegionMin(); // content boundaries min (rou…
268 …IMGUI_API ImVec2 GetWindowContentRegionMax(); // content boundaries max (rou…
269 IMGUI_API float GetWindowContentRegionWidth(); //
271 …IMGUI_API void SetNextWindowPos(const ImVec2& pos, ImGuiCond cond = 0, const ImVec2& pivo…
272 …IMGUI_API void SetNextWindowSize(const ImVec2& size, ImGuiCond cond = 0); …
273 …IMGUI_API void SetNextWindowSizeConstraints(const ImVec2& size_min, const ImVec2& size_ma…
274 …IMGUI_API void SetNextWindowContentSize(const ImVec2& size); …
275 …IMGUI_API void SetNextWindowCollapsed(bool collapsed, ImGuiCond cond = 0); …
276 …IMGUI_API void SetNextWindowFocus(); …
277 …IMGUI_API void SetNextWindowBgAlpha(float alpha); …
278 …IMGUI_API void SetWindowPos(const ImVec2& pos, ImGuiCond cond = 0); …
279 …IMGUI_API void SetWindowSize(const ImVec2& size, ImGuiCond cond = 0); …
280 …IMGUI_API void SetWindowCollapsed(bool collapsed, ImGuiCond cond = 0); …
281 …IMGUI_API void SetWindowFocus(); …
282 …IMGUI_API void SetWindowFontScale(float scale); …
283 …IMGUI_API void SetWindowPos(const char* name, const ImVec2& pos, ImGuiCond cond = 0); …
284 …IMGUI_API void SetWindowSize(const char* name, const ImVec2& size, ImGuiCond cond = 0); …
285 …IMGUI_API void SetWindowCollapsed(const char* name, bool collapsed, ImGuiCond cond = 0); …
286 …IMGUI_API void SetWindowFocus(const char* name); …
289 …IMGUI_API float GetScrollX(); // get scr…
290 …IMGUI_API float GetScrollY(); // get scr…
291 …IMGUI_API float GetScrollMaxX(); // get max…
292 …IMGUI_API float GetScrollMaxY(); // get max…
293 …IMGUI_API void SetScrollX(float scroll_x); // set scr…
294 …IMGUI_API void SetScrollY(float scroll_y); // set scr…
295 …IMGUI_API void SetScrollHereY(float center_y_ratio = 0.5f); // adjust …
296 …IMGUI_API void SetScrollFromPosY(float local_y, float center_y_ratio = 0.5f); // adjust …
299 …IMGUI_API void PushFont(ImFont* font); // use NUL…
300 IMGUI_API void PopFont();
301 IMGUI_API void PushStyleColor(ImGuiCol idx, ImU32 col);
302 IMGUI_API void PushStyleColor(ImGuiCol idx, const ImVec4& col);
303 IMGUI_API void PopStyleColor(int count = 1);
304 IMGUI_API void PushStyleVar(ImGuiStyleVar idx, float val);
305 IMGUI_API void PushStyleVar(ImGuiStyleVar idx, const ImVec2& val);
306 IMGUI_API void PopStyleVar(int count = 1);
307 …IMGUI_API const ImVec4& GetStyleColorVec4(ImGuiCol idx); // retriev…
308 …IMGUI_API ImFont* GetFont(); // get cur…
309 …IMGUI_API float GetFontSize(); // get cur…
310 …IMGUI_API ImVec2 GetFontTexUvWhitePixel(); // get UV …
311 …IMGUI_API ImU32 GetColorU32(ImGuiCol idx, float alpha_mul = 1.0f); // retriev…
312 …IMGUI_API ImU32 GetColorU32(const ImVec4& col); // retriev…
313 …IMGUI_API ImU32 GetColorU32(ImU32 col); // retriev…
316 …IMGUI_API void PushItemWidth(float item_width); // width o…
317 IMGUI_API void PopItemWidth();
318 …IMGUI_API float CalcItemWidth(); // width o…
319 …IMGUI_API void PushTextWrapPos(float wrap_local_pos_x = 0.0f); // word-wr…
320 IMGUI_API void PopTextWrapPos();
321 …IMGUI_API void PushAllowKeyboardFocus(bool allow_keyboard_focus); // allow f…
322 IMGUI_API void PopAllowKeyboardFocus();
323 …IMGUI_API void PushButtonRepeat(bool repeat); // in 'rep…
324 IMGUI_API void PopButtonRepeat();
329 …IMGUI_API void Separator(); // separat…
330 …IMGUI_API void SameLine(float local_pos_x = 0.0f, float spacing_w = -1.0f); // call be…
331 …IMGUI_API void NewLine(); // undo a …
332 …IMGUI_API void Spacing(); // add ver…
333 …IMGUI_API void Dummy(const ImVec2& size); // add a d…
334 …IMGUI_API void Indent(float indent_w = 0.0f); // move co…
335 …IMGUI_API void Unindent(float indent_w = 0.0f); // move co…
336 …IMGUI_API void BeginGroup(); // lock ho…
337 …IMGUI_API void EndGroup(); // unlock …
338 …IMGUI_API ImVec2 GetCursorPos(); // cursor …
339 …IMGUI_API float GetCursorPosX(); // (some…
340 …IMGUI_API float GetCursorPosY(); // othe…
341 …IMGUI_API void SetCursorPos(const ImVec2& local_pos); // are …
342 …IMGUI_API void SetCursorPosX(float local_x); // GetW…
343 IMGUI_API void SetCursorPosY(float local_y); //
344 …IMGUI_API ImVec2 GetCursorStartPos(); // initial…
345 …IMGUI_API ImVec2 GetCursorScreenPos(); // cursor …
346 …IMGUI_API void SetCursorScreenPos(const ImVec2& pos); // cursor …
347 …IMGUI_API void AlignTextToFramePadding(); // vertica…
348 …IMGUI_API float GetTextLineHeight(); // ~ FontS…
349 …IMGUI_API float GetTextLineHeightWithSpacing(); // ~ FontS…
350 …IMGUI_API float GetFrameHeight(); // ~ FontS…
351 …IMGUI_API float GetFrameHeightWithSpacing(); // ~ FontS…
360 …IMGUI_API void PushID(const char* str_id); // push st…
361 …IMGUI_API void PushID(const char* str_id_begin, const char* str_id_end); // push st…
362 …IMGUI_API void PushID(const void* ptr_id); // push po…
363 …IMGUI_API void PushID(int int_id); // push in…
364 …IMGUI_API void PopID(); // pop fro…
365 …IMGUI_API ImGuiID GetID(const char* str_id); // calcula…
366 IMGUI_API ImGuiID GetID(const char* str_id_begin, const char* str_id_end);
367 IMGUI_API ImGuiID GetID(const void* ptr_id);
370 …IMGUI_API void TextUnformatted(const char* text, const char* text_end = NULL); …
371 …IMGUI_API void Text(const char* fmt, ...) IM_FMTARGS…
372 …IMGUI_API void TextV(const char* fmt, va_list args) IM_FMTLIST…
373 …IMGUI_API void TextColored(const ImVec4& col, const char* fmt, ...) IM_FMTARGS…
374 …IMGUI_API void TextColoredV(const ImVec4& col, const char* fmt, va_list args) IM_FMTLIST…
375 …IMGUI_API void TextDisabled(const char* fmt, ...) IM_FMTARGS…
376 …IMGUI_API void TextDisabledV(const char* fmt, va_list args) IM_FMTLIST…
377 …IMGUI_API void TextWrapped(const char* fmt, ...) IM_FMTARGS…
378 …IMGUI_API void TextWrappedV(const char* fmt, va_list args) IM_FMTLIST…
379 …IMGUI_API void LabelText(const char* label, const char* fmt, ...) IM_FMTARGS…
380 …IMGUI_API void LabelTextV(const char* label, const char* fmt, va_list args) IM_FMTLIST…
381 …IMGUI_API void BulletText(const char* fmt, ...) IM_FMTARGS…
382 …IMGUI_API void BulletTextV(const char* fmt, va_list args) IM_FMTLIST…
386 … IMGUI_API bool Button(const char* label, const ImVec2& size = ImVec2(0,0)); // button
387 …IMGUI_API bool SmallButton(const char* label); // button …
388 …IMGUI_API bool InvisibleButton(const char* str_id, const ImVec2& size); // button …
389 …IMGUI_API bool ArrowButton(const char* str_id, ImGuiDir dir); // square …
390 …IMGUI_API void Image(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 =…
391 …IMGUI_API bool ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2&…
392 IMGUI_API bool Checkbox(const char* label, bool* v);
393 …IMGUI_API bool CheckboxFlags(const char* label, unsigned int* flags, unsigned int flags_v…
394 …IMGUI_API bool RadioButton(const char* label, bool active); // use wit…
395 …IMGUI_API bool RadioButton(const char* label, int* v, int v_button); // shortcu…
396 …IMGUI_API void ProgressBar(float fraction, const ImVec2& size_arg = ImVec2(-1,0), const c…
397 …IMGUI_API void Bullet(); // draw a …
402 …IMGUI_API bool BeginCombo(const char* label, const char* preview_value, ImGuiComboFlags f…
403 IMGUI_API void EndCombo(); // only call EndCombo() if BeginCombo() returns true!
404 …IMGUI_API bool Combo(const char* label, int* current_item, const char* const items[], int…
405 …IMGUI_API bool Combo(const char* label, int* current_item, const char* items_separated_by…
406 …IMGUI_API bool Combo(const char* label, int* current_item, bool(*items_getter)(void* data…
413 …IMGUI_API bool DragFloat(const char* label, float* v, float v_speed = 1.0f, float v_min =…
414 …IMGUI_API bool DragFloat2(const char* label, float v[2], float v_speed = 1.0f, float v_mi…
415 …IMGUI_API bool DragFloat3(const char* label, float v[3], float v_speed = 1.0f, float v_mi…
416 …IMGUI_API bool DragFloat4(const char* label, float v[4], float v_speed = 1.0f, float v_mi…
417 …IMGUI_API bool DragFloatRange2(const char* label, float* v_current_min, float* v_current_…
418 …IMGUI_API bool DragInt(const char* label, int* v, float v_speed = 1.0f, int v_min = 0, in…
419 …IMGUI_API bool DragInt2(const char* label, int v[2], float v_speed = 1.0f, int v_min = 0,…
420 …IMGUI_API bool DragInt3(const char* label, int v[3], float v_speed = 1.0f, int v_min = 0,…
421 …IMGUI_API bool DragInt4(const char* label, int v[4], float v_speed = 1.0f, int v_min = 0,…
422 …IMGUI_API bool DragIntRange2(const char* label, int* v_current_min, int* v_current_max, f…
423 …IMGUI_API bool DragScalar(const char* label, ImGuiDataType data_type, void* v, float v_sp…
424 …IMGUI_API bool DragScalarN(const char* label, ImGuiDataType data_type, void* v, int compo…
429 …IMGUI_API bool SliderFloat(const char* label, float* v, float v_min, float v_max, const c…
430 …IMGUI_API bool SliderFloat2(const char* label, float v[2], float v_min, float v_max, cons…
431 …IMGUI_API bool SliderFloat3(const char* label, float v[3], float v_min, float v_max, cons…
432 …IMGUI_API bool SliderFloat4(const char* label, float v[4], float v_min, float v_max, cons…
433 …IMGUI_API bool SliderAngle(const char* label, float* v_rad, float v_degrees_min = -360.0f…
434 …IMGUI_API bool SliderInt(const char* label, int* v, int v_min, int v_max, const char* for…
435 …IMGUI_API bool SliderInt2(const char* label, int v[2], int v_min, int v_max, const char* …
436 …IMGUI_API bool SliderInt3(const char* label, int v[3], int v_min, int v_max, const char* …
437 …IMGUI_API bool SliderInt4(const char* label, int v[4], int v_min, int v_max, const char* …
438 …IMGUI_API bool SliderScalar(const char* label, ImGuiDataType data_type, void* v, const vo…
439 …IMGUI_API bool SliderScalarN(const char* label, ImGuiDataType data_type, void* v, int com…
440 …IMGUI_API bool VSliderFloat(const char* label, const ImVec2& size, float* v, float v_min,…
441 …IMGUI_API bool VSliderInt(const char* label, const ImVec2& size, int* v, int v_min, int v…
442 …IMGUI_API bool VSliderScalar(const char* label, const ImVec2& size, ImGuiDataType data_ty…
447 …IMGUI_API bool InputText(const char* label, char* buf, size_t buf_size, ImGuiInputTextFla…
448 …IMGUI_API bool InputTextMultiline(const char* label, char* buf, size_t buf_size, const Im…
449 …IMGUI_API bool InputFloat(const char* label, float* v, float step = 0.0f, float step_fast…
450 …IMGUI_API bool InputFloat2(const char* label, float v[2], const char* format = "%.3f", Im…
451 …IMGUI_API bool InputFloat3(const char* label, float v[3], const char* format = "%.3f", Im…
452 …IMGUI_API bool InputFloat4(const char* label, float v[4], const char* format = "%.3f", Im…
453 …IMGUI_API bool InputInt(const char* label, int* v, int step = 1, int step_fast = 100, ImG…
454 IMGUI_API bool InputInt2(const char* label, int v[2], ImGuiInputTextFlags flags = 0);
455 IMGUI_API bool InputInt3(const char* label, int v[3], ImGuiInputTextFlags flags = 0);
456 IMGUI_API bool InputInt4(const char* label, int v[4], ImGuiInputTextFlags flags = 0);
457 …IMGUI_API bool InputDouble(const char* label, double* v, double step = 0.0, double step_f…
458 …IMGUI_API bool InputScalar(const char* label, ImGuiDataType data_type, void* v, const voi…
459 …IMGUI_API bool InputScalarN(const char* label, ImGuiDataType data_type, void* v, int comp…
463 …IMGUI_API bool ColorEdit3(const char* label, float col[3], ImGuiColorEditFlags flags = 0);
464 …IMGUI_API bool ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flags = 0);
465 …IMGUI_API bool ColorPicker3(const char* label, float col[3], ImGuiColorEditFlags flags = …
466 …IMGUI_API bool ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags flags = …
467 …IMGUI_API bool ColorButton(const char* desc_id, const ImVec4& col, ImGuiColorEditFlags fl…
468 …IMGUI_API void SetColorEditOptions(ImGuiColorEditFlags flags); // ini…
472 IMGUI_API bool TreeNode(const char* label);
473 …IMGUI_API bool TreeNode(const char* str_id, const char* fmt, ...) IM_FMTARGS(2); // hel…
474 IMGUI_API bool TreeNode(const void* ptr_id, const char* fmt, ...) IM_FMTARGS(2); // "
475 …IMGUI_API bool TreeNodeV(const char* str_id, const char* fmt, va_list args) IM_FMTLIST(2);
476 …IMGUI_API bool TreeNodeV(const void* ptr_id, const char* fmt, va_list args) IM_FMTLIST(2);
477 IMGUI_API bool TreeNodeEx(const char* label, ImGuiTreeNodeFlags flags = 0);
478 …IMGUI_API bool TreeNodeEx(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt, …
479 …IMGUI_API bool TreeNodeEx(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt, …
480 …IMGUI_API bool TreeNodeExV(const char* str_id, ImGuiTreeNodeFlags flags, const char* fmt,…
481 …IMGUI_API bool TreeNodeExV(const void* ptr_id, ImGuiTreeNodeFlags flags, const char* fmt,…
482 …IMGUI_API void TreePush(const char* str_id); // ~ I…
483 IMGUI_API void TreePush(const void* ptr_id = NULL); // "
484 …IMGUI_API void TreePop(); // ~ U…
485 …IMGUI_API void TreeAdvanceToLabelPos(); // adv…
486 …IMGUI_API float GetTreeNodeToLabelSpacing(); // hor…
487 …IMGUI_API void SetNextTreeNodeOpen(bool is_open, ImGuiCond cond = 0); // set…
488 …IMGUI_API bool CollapsingHeader(const char* label, ImGuiTreeNodeFlags flags = 0); // if …
489 …IMGUI_API bool CollapsingHeader(const char* label, bool* p_open, ImGuiTreeNodeFlags flags…
494 …IMGUI_API bool Selectable(const char* label, bool selected = false, ImGuiSelectableFlags …
495 …IMGUI_API bool Selectable(const char* label, bool* p_selected, ImGuiSelectableFlags flags…
499 …IMGUI_API bool ListBox(const char* label, int* current_item, const char* const items[], i…
500 …IMGUI_API bool ListBox(const char* label, int* current_item, bool (*items_getter)(void* d…
501 …IMGUI_API bool ListBoxHeader(const char* label, const ImVec2& size = ImVec2(0,0)); // use…
502 …IMGUI_API bool ListBoxHeader(const char* label, int items_count, int height_in_items = -1…
503 …IMGUI_API void ListBoxFooter(); // ter…
506 …IMGUI_API void PlotLines(const char* label, const float* values, int values_count, int va…
507 …IMGUI_API void PlotLines(const char* label, float(*values_getter)(void* data, int idx), v…
508 …IMGUI_API void PlotHistogram(const char* label, const float* values, int values_count, in…
509 …IMGUI_API void PlotHistogram(const char* label, float(*values_getter)(void* data, int idx…
513 IMGUI_API void Value(const char* prefix, bool b);
514 IMGUI_API void Value(const char* prefix, int v);
515 IMGUI_API void Value(const char* prefix, unsigned int v);
516 IMGUI_API void Value(const char* prefix, float v, const char* float_format = NULL);
519 …IMGUI_API bool BeginMainMenuBar(); // cre…
520 …IMGUI_API void EndMainMenuBar(); // onl…
521 …IMGUI_API bool BeginMenuBar(); // app…
522 …IMGUI_API void EndMenuBar(); // onl…
523 …IMGUI_API bool BeginMenu(const char* label, bool enabled = true); // cre…
524 …IMGUI_API void EndMenu(); // onl…
525 …IMGUI_API bool MenuItem(const char* label, const char* shortcut = NULL, bool selected = f…
526 …IMGUI_API bool MenuItem(const char* label, const char* shortcut, bool* p_selected, bool e…
529 …IMGUI_API void BeginTooltip(); // beg…
530 IMGUI_API void EndTooltip();
531 …IMGUI_API void SetTooltip(const char* fmt, ...) IM_FMTARGS(1); // set…
532 IMGUI_API void SetTooltipV(const char* fmt, va_list args) IM_FMTLIST(1);
542 …IMGUI_API void OpenPopup(const char* str_id); // cal…
543 …IMGUI_API bool BeginPopup(const char* str_id, ImGuiWindowFlags flags = 0); …
544 …IMGUI_API bool BeginPopupContextItem(const char* str_id = NULL, int mouse_button = 1); …
545 …IMGUI_API bool BeginPopupContextWindow(const char* str_id = NULL, int mouse_button = 1, b…
546 …IMGUI_API bool BeginPopupContextVoid(const char* str_id = NULL, int mouse_button = 1); …
547 …IMGUI_API bool BeginPopupModal(const char* name, bool* p_open = NULL, ImGuiWindowFlags fl…
548 …IMGUI_API void EndPopup(); …
549 …IMGUI_API bool OpenPopupOnItemClick(const char* str_id = NULL, int mouse_button = 1); …
550 …IMGUI_API bool IsPopupOpen(const char* str_id); // ret…
551 …IMGUI_API void CloseCurrentPopup(); // clo…
556 IMGUI_API void Columns(int count = 1, const char* id = NULL, bool border = true);
557 …IMGUI_API void NextColumn(); // nex…
558 …IMGUI_API int GetColumnIndex(); // get…
559 …IMGUI_API float GetColumnWidth(int column_index = -1); // get…
560 …IMGUI_API void SetColumnWidth(int column_index, float width); // set…
561 …IMGUI_API float GetColumnOffset(int column_index = -1); // get…
562 …IMGUI_API void SetColumnOffset(int column_index, float offset_x); // set…
563 IMGUI_API int GetColumnsCount();
567 …IMGUI_API bool BeginTabBar(const char* str_id, ImGuiTabBarFlags flags = 0); // cre…
568 …IMGUI_API void EndTabBar(); // onl…
569 …IMGUI_API bool BeginTabItem(const char* label, bool* p_open = NULL, ImGuiTabItemFlags fla…
570 …IMGUI_API void EndTabItem(); // onl…
571 …IMGUI_API void SetTabItemClosed(const char* tab_or_docked_window_label); // not…
575 …IMGUI_API void LogToTTY(int max_depth = -1); // sta…
576 …IMGUI_API void LogToFile(int max_depth = -1, const char* filename = NULL); // sta…
577 …IMGUI_API void LogToClipboard(int max_depth = -1); // sta…
578 …IMGUI_API void LogFinish(); // sto…
579 …IMGUI_API void LogButtons(); // hel…
580 …IMGUI_API void LogText(const char* fmt, ...) IM_FMTARGS(1); // pas…
584 …IMGUI_API bool BeginDragDropSource(ImGuiDragDropFlags flags = 0); …
585 …IMGUI_API bool SetDragDropPayload(const char* type, const void* data, size_t size, ImGuiC…
586 …IMGUI_API void EndDragDropSource(); …
587 …IMGUI_API bool BeginDragDropTarget(); …
588 …IMGUI_API const ImGuiPayload* AcceptDragDropPayload(const char* type, ImGuiDragDropFlags flags =…
589 …IMGUI_API void EndDragDropTarget(); …
590 …IMGUI_API const ImGuiPayload* GetDragDropPayload(); …
593 …IMGUI_API void PushClipRect(const ImVec2& clip_rect_min, const ImVec2& clip_rect_max, boo…
594 IMGUI_API void PopClipRect();
598 …IMGUI_API void SetItemDefaultFocus(); // mak…
599 …IMGUI_API void SetKeyboardFocusHere(int offset = 0); // foc…
604 …IMGUI_API bool IsItemHovered(ImGuiHoveredFlags flags = 0); // is …
605 …IMGUI_API bool IsItemActive(); // is …
606 …IMGUI_API bool IsItemFocused(); // is …
607 …IMGUI_API bool IsItemClicked(int mouse_button = 0); // is …
608 …IMGUI_API bool IsItemVisible(); // is …
609 …IMGUI_API bool IsItemEdited(); // did…
610 …IMGUI_API bool IsItemActivated(); // was…
611 …IMGUI_API bool IsItemDeactivated(); // was…
612 …IMGUI_API bool IsItemDeactivatedAfterEdit(); // was…
613 IMGUI_API bool IsAnyItemHovered();
614 IMGUI_API bool IsAnyItemActive();
615 IMGUI_API bool IsAnyItemFocused();
616 …IMGUI_API ImVec2 GetItemRectMin(); // get…
617 …IMGUI_API ImVec2 GetItemRectMax(); // get…
618 …IMGUI_API ImVec2 GetItemRectSize(); // get…
619 …IMGUI_API void SetItemAllowOverlap(); // all…
622 …IMGUI_API bool IsRectVisible(const ImVec2& size); // tes…
623 …IMGUI_API bool IsRectVisible(const ImVec2& rect_min, const ImVec2& rect_max); // tes…
624 …IMGUI_API double GetTime(); // get…
625 …IMGUI_API int GetFrameCount(); // get…
626 …IMGUI_API ImDrawList* GetOverlayDrawList(); // thi…
627 …IMGUI_API ImDrawListSharedData* GetDrawListSharedData(); // you…
628 IMGUI_API const char* GetStyleColorName(ImGuiCol idx);
629 …IMGUI_API void SetStateStorage(ImGuiStorage* storage); // rep…
630 IMGUI_API ImGuiStorage* GetStateStorage();
631 …IMGUI_API ImVec2 CalcTextSize(const char* text, const char* text_end = NULL, bool hide_text…
632 …IMGUI_API void CalcListClipping(int items_count, float items_height, int* out_items_displ…
633 …IMGUI_API bool BeginChildFrame(ImGuiID id, const ImVec2& size, ImGuiWindowFlags flags = 0…
634 …IMGUI_API void EndChildFrame(); // alw…
637 IMGUI_API ImVec4 ColorConvertU32ToFloat4(ImU32 in);
638 IMGUI_API ImU32 ColorConvertFloat4ToU32(const ImVec4& in);
639 …IMGUI_API void ColorConvertRGBtoHSV(float r, float g, float b, float& out_h, float& out_s…
640 …IMGUI_API void ColorConvertHSVtoRGB(float h, float s, float v, float& out_r, float& out_g…
643 …IMGUI_API int GetKeyIndex(ImGuiKey imgui_key); // map…
644 …IMGUI_API bool IsKeyDown(int user_key_index); // is …
645 …IMGUI_API bool IsKeyPressed(int user_key_index, bool repeat = true); // was…
646 …IMGUI_API bool IsKeyReleased(int user_key_index); // was…
647 …IMGUI_API int GetKeyPressedAmount(int key_index, float repeat_delay, float rate); // use…
648 …IMGUI_API bool IsMouseDown(int button); // is …
649 …IMGUI_API bool IsAnyMouseDown(); // is …
650 …IMGUI_API bool IsMouseClicked(int button, bool repeat = false); // did…
651 …IMGUI_API bool IsMouseDoubleClicked(int button); // did…
652 …IMGUI_API bool IsMouseReleased(int button); // did…
653 …IMGUI_API bool IsMouseDragging(int button = 0, float lock_threshold = -1.0f); // is …
654 …IMGUI_API bool IsMouseHoveringRect(const ImVec2& r_min, const ImVec2& r_max, bool clip = …
655 IMGUI_API bool IsMousePosValid(const ImVec2* mouse_pos = NULL); //
656 …IMGUI_API ImVec2 GetMousePos(); // sho…
657 …IMGUI_API ImVec2 GetMousePosOnOpeningCurrentPopup(); // ret…
658 …IMGUI_API ImVec2 GetMouseDragDelta(int button = 0, float lock_threshold = -1.0f); // ret…
659 IMGUI_API void ResetMouseDragDelta(int button = 0); //
660 …IMGUI_API ImGuiMouseCursor GetMouseCursor(); // get…
661 …IMGUI_API void SetMouseCursor(ImGuiMouseCursor type); // set…
662 …IMGUI_API void CaptureKeyboardFromApp(bool want_capture_keyboard_value = true); // att…
663 …IMGUI_API void CaptureMouseFromApp(bool want_capture_mouse_value = true); // att…
666 IMGUI_API const char* GetClipboardText();
667 IMGUI_API void SetClipboardText(const char* text);
672 …IMGUI_API void LoadIniSettingsFromDisk(const char* ini_filename); // cal…
673 …IMGUI_API void LoadIniSettingsFromMemory(const char* ini_data, size_t ini_size=0); // cal…
674 IMGUI_API void SaveIniSettingsToDisk(const char* ini_filename);
675 …IMGUI_API const char* SaveIniSettingsToMemory(size_t* out_ini_size = NULL); // ret…
680 …IMGUI_API void SetAllocatorFunctions(void* (*alloc_func)(size_t sz, void* user_data), voi…
681 IMGUI_API void* MemAlloc(size_t size);
682 IMGUI_API void MemFree(void* ptr);
1270 IMGUI_API ImGuiStyle();
1271 IMGUI_API void ScaleAllSizes(float scale_factor);
1362 IMGUI_API void AddInputCharacter(ImWchar c); // Queue new character input
1363 …IMGUI_API void AddInputCharactersUTF8(const char* str); // Queue new characters input from an …
1364 …IMGUI_API void ClearInputCharacters(); // Clear the text input buffer manually
1406 IMGUI_API ImGuiIO();
1442 IMGUI_API ImGuiInputTextCallbackData();
1443 IMGUI_API void DeleteChars(int pos, int bytes_count);
1444 IMGUI_API void InsertChars(int pos, const char* text, const char* text_end = NULL);
1493 …IMGUI_API bool InputFloat(const char* label, float* v, float step, float step_fast, int decim…
1494 …IMGUI_API bool InputFloat2(const char* label, float v[2], int decimal_precision, ImGuiInputTe…
1495 …IMGUI_API bool InputFloat3(const char* label, float v[3], int decimal_precision, ImGuiInputTe…
1496 …IMGUI_API bool InputFloat4(const char* label, float v[4], int decimal_precision, ImGuiInputTe…
1508 …IMGUI_API bool Begin(const char* name, bool* p_open, const ImVec2& size_on_first_use, float b…
1553 IMGUI_API ImGuiTextFilter(const char* default_filter = "");
1554 …IMGUI_API bool Draw(const char* label = "Filter (inc,-exc)", float width = 0.0f); // Helper …
1555 IMGUI_API bool PassFilter(const char* text, const char* text_end = NULL) const;
1556 IMGUI_API void Build();
1571 IMGUI_API void split(char separator, ImVector<TextRange>* out) const;
1594 IMGUI_API void append(const char* str, const char* str_end = NULL);
1595 IMGUI_API void appendf(const char* fmt, ...) IM_FMTARGS(2);
1596 IMGUI_API void appendfv(const char* fmt, va_list args) IM_FMTLIST(2);
1623 IMGUI_API int GetInt(ImGuiID key, int default_val = 0) const;
1624 IMGUI_API void SetInt(ImGuiID key, int val);
1625 IMGUI_API bool GetBool(ImGuiID key, bool default_val = false) const;
1626 IMGUI_API void SetBool(ImGuiID key, bool val);
1627 IMGUI_API float GetFloat(ImGuiID key, float default_val = 0.0f) const;
1628 IMGUI_API void SetFloat(ImGuiID key, float val);
1629 IMGUI_API void* GetVoidPtr(ImGuiID key) const; // default_val is NULL
1630 IMGUI_API void SetVoidPtr(ImGuiID key, void* val);
1636 IMGUI_API int* GetIntRef(ImGuiID key, int default_val = 0);
1637 IMGUI_API bool* GetBoolRef(ImGuiID key, bool default_val = false);
1638 IMGUI_API float* GetFloatRef(ImGuiID key, float default_val = 0.0f);
1639 IMGUI_API void** GetVoidPtrRef(ImGuiID key, void* default_val = NULL);
1642 IMGUI_API void SetAllInt(int val);
1645 IMGUI_API void BuildSortByKey();
1673 …IMGUI_API bool Step(); // Call until it returns false…
1674 …IMGUI_API void Begin(int items_count, float items_height = -1.0f); // Automatically called by con…
1675 …IMGUI_API void End(); // Automatically called on the…
1821 …IMGUI_API void PushClipRect(ImVec2 clip_rect_min, ImVec2 clip_rect_max, bool intersect_with_curre…
1822 IMGUI_API void PushClipRectFullScreen();
1823 IMGUI_API void PopClipRect();
1824 IMGUI_API void PushTextureID(ImTextureID texture_id);
1825 IMGUI_API void PopTextureID();
1830 IMGUI_API void AddLine(const ImVec2& a, const ImVec2& b, ImU32 col, float thickness = 1.0f);
1831 …IMGUI_API void AddRect(const ImVec2& a, const ImVec2& b, ImU32 col, float rounding = 0.0f, int ro…
1832 …IMGUI_API void AddRectFilled(const ImVec2& a, const ImVec2& b, ImU32 col, float rounding = 0.0f, …
1833 …IMGUI_API void AddRectFilledMultiColor(const ImVec2& a, const ImVec2& b, ImU32 col_upr_left, ImU3…
1834 …IMGUI_API void AddQuad(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& d, ImU32 …
1835 …IMGUI_API void AddQuadFilled(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& d, …
1836 …IMGUI_API void AddTriangle(const ImVec2& a, const ImVec2& b, const ImVec2& c, ImU32 col, float th…
1837 IMGUI_API void AddTriangleFilled(const ImVec2& a, const ImVec2& b, const ImVec2& c, ImU32 col);
1838 …IMGUI_API void AddCircle(const ImVec2& centre, float radius, ImU32 col, int num_segments = 12, fl…
1839 …IMGUI_API void AddCircleFilled(const ImVec2& centre, float radius, ImU32 col, int num_segments = …
1840 …IMGUI_API void AddText(const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end…
1841 …IMGUI_API void AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const c…
1842 …IMGUI_API void AddImage(ImTextureID user_texture_id, const ImVec2& a, const ImVec2& b, const ImVe…
1843 …IMGUI_API void AddImageQuad(ImTextureID user_texture_id, const ImVec2& a, const ImVec2& b, const …
1844 …IMGUI_API void AddImageRounded(ImTextureID user_texture_id, const ImVec2& a, const ImVec2& b, con…
1845 …IMGUI_API void AddPolyline(const ImVec2* points, const int num_points, ImU32 col, bool closed, fl…
1846 …IMGUI_API void AddConvexPolyFilled(const ImVec2* points, const int num_points, ImU32 col); // Not…
1847 …IMGUI_API void AddBezierCurve(const ImVec2& pos0, const ImVec2& cp0, const ImVec2& cp1, const ImV…
1855 …IMGUI_API void PathArcTo(const ImVec2& centre, float radius, float a_min, float a_max, int num_se…
1856 …IMGUI_API void PathArcToFast(const ImVec2& centre, float radius, int a_min_of_12, int a_max_of_12…
1857 …IMGUI_API void PathBezierCurveTo(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, int num_se…
1858 …IMGUI_API void PathRect(const ImVec2& rect_min, const ImVec2& rect_max, float rounding = 0.0f, in…
1863 IMGUI_API void ChannelsSplit(int channels_count);
1864 IMGUI_API void ChannelsMerge();
1865 IMGUI_API void ChannelsSetCurrent(int channel_index);
1868 …IMGUI_API void AddCallback(ImDrawCallback callback, void* callback_data); // Your rendering func…
1869 …IMGUI_API void AddDrawCmd(); // This is useful if y…
1870 …IMGUI_API ImDrawList* CloneOutput() const; // Create a clone of t…
1874 IMGUI_API void Clear();
1875 IMGUI_API void ClearFreeMemory();
1876 IMGUI_API void PrimReserve(int idx_count, int vtx_count);
1877 …IMGUI_API void PrimRect(const ImVec2& a, const ImVec2& b, ImU32 col); // Axis aligned rectan…
1878 …IMGUI_API void PrimRectUV(const ImVec2& a, const ImVec2& b, const ImVec2& uv_a, const ImVec2& uv_…
1879 …IMGUI_API void PrimQuadUV(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& d, con…
1883 IMGUI_API void UpdateClipRect();
1884 IMGUI_API void UpdateTextureID();
1904 …IMGUI_API void DeIndexAllBuffers(); // Helper to convert all buffers from inde…
1905 …IMGUI_API void ScaleClipRects(const ImVec2& fb_scale); // Helper to scale the ClipRect field of e…
1935 IMGUI_API ImFontConfig();
1956 …IMGUI_API void AddText(const char* text, const char* text_end = NULL); // Add string (each ch…
1957 …IMGUI_API void AddRanges(const ImWchar* ranges); // Add ranges, e.g. bu…
1958 IMGUI_API void BuildRanges(ImVector<ImWchar>* out_ranges); // Output new ranges
1987 IMGUI_API ImFontAtlas();
1988 IMGUI_API ~ImFontAtlas();
1989 IMGUI_API ImFont* AddFont(const ImFontConfig* font_cfg);
1990 IMGUI_API ImFont* AddFontDefault(const ImFontConfig* font_cfg = NULL);
1991 …IMGUI_API ImFont* AddFontFromFileTTF(const char* filename, float size_pixels, const ImFo…
1992 …IMGUI_API ImFont* AddFontFromMemoryTTF(void* font_data, int font_size, float size_pixels…
1993 …IMGUI_API ImFont* AddFontFromMemoryCompressedTTF(const void* compressed_font_data, int c…
1994 …IMGUI_API ImFont* AddFontFromMemoryCompressedBase85TTF(const char* compressed_font_data_…
1995 …IMGUI_API void ClearInputData(); // Clear input data (all ImFontConfig stru…
1996 …IMGUI_API void ClearTexData(); // Clear output texture data (CPU side). S…
1997 …IMGUI_API void ClearFonts(); // Clear output font data (glyphs storage,…
1998 IMGUI_API void Clear(); // Clear all input and output.
2005 …IMGUI_API bool Build(); // Build pixels data. This is called autom…
2006 …IMGUI_API void GetTexDataAsAlpha8(unsigned char** out_pixels, int* out_width, int* ou…
2007 …IMGUI_API void GetTexDataAsRGBA32(unsigned char** out_pixels, int* out_width, int* ou…
2018 … IMGUI_API const ImWchar* GetGlyphRangesDefault(); // Basic Latin, Extended Latin
2019 … IMGUI_API const ImWchar* GetGlyphRangesKorean(); // Default + Korean characters
2020 …IMGUI_API const ImWchar* GetGlyphRangesJapanese(); // Default + Hiragana, Katakan…
2021 …IMGUI_API const ImWchar* GetGlyphRangesChineseFull(); // Default + Half-Width + Japa…
2022 …IMGUI_API const ImWchar* GetGlyphRangesChineseSimplifiedCommon();// Default + Half-Width + Japa…
2023 …IMGUI_API const ImWchar* GetGlyphRangesCyrillic(); // Default + about 400 Cyrilli…
2024 IMGUI_API const ImWchar* GetGlyphRangesThai(); // Default + Thai characters
2044 …IMGUI_API int AddCustomRectRegular(unsigned int id, int width, int height); …
2045 …IMGUI_API int AddCustomRectFontGlyph(ImFont* font, ImWchar id, int width, int height, float …
2049 …IMGUI_API void CalcCustomRectUV(const CustomRect* rect, ImVec2* out_uv_min, ImVec2* out_uv_ma…
2050 …IMGUI_API bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ImVec2* out_offset, ImVec2* out…
2106 IMGUI_API ImFont();
2107 IMGUI_API ~ImFont();
2108 IMGUI_API const ImFontGlyph*FindGlyph(ImWchar c) const;
2109 IMGUI_API const ImFontGlyph*FindGlyphNoFallback(ImWchar c) const;
2116 …IMGUI_API ImVec2 CalcTextSizeA(float size, float max_width, float wrap_width, const cha…
2117 …IMGUI_API const char* CalcWordWrapPositionA(float scale, const char* text, const char* text_…
2118 …IMGUI_API void RenderChar(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, I…
2119 …IMGUI_API void RenderText(ImDrawList* draw_list, float size, ImVec2 pos, ImU32 col, c…
2122 IMGUI_API void BuildLookupTable();
2123 IMGUI_API void ClearOutputData();
2124 IMGUI_API void GrowIndex(int new_size);
2125 …IMGUI_API void AddGlyph(ImWchar c, float x0, float y0, float x1, float y1, float u0, …
2126 …IMGUI_API void AddRemapChar(ImWchar dst, ImWchar src, bool overwrite_dst = true); // …
2127 IMGUI_API void SetFallbackChar(ImWchar c);