OpenRaider  0.1.4-dev
Open Source Tomb Raider Game Engine implementation
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
imgui.h File Reference
#include "imconfig.h"
#include <float.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include "imgui_user.h"
Include dependency graph for imgui.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ImVec2
 
struct  ImVec4
 
class  ImVector< T >
 
struct  ImGuiStyle
 
struct  ImGuiIO
 
struct  ImGuiOnceUponAFrame
 
struct  ImGuiTextFilter
 
struct  ImGuiTextFilter::TextRange
 
struct  ImGuiTextBuffer
 
struct  ImGuiStorage
 
struct  ImGuiStorage::Pair
 
struct  ImGuiTextEditCallbackData
 
struct  ImColor
 
struct  ImDrawCmd
 
struct  ImDrawVert
 
struct  ImDrawList
 
struct  ImFontAtlas
 
struct  ImFont
 
struct  ImFont::Glyph
 
union  ImGuiStorage::Pair.__unnamed__
 

Namespaces

 ImGui
 

Macros

#define IMGUI_API
 
#define IMGUI_ONCE_UPON_A_FRAME   static ImGuiOnceUponAFrame imgui_oaf##__LINE__; if (imgui_oaf##__LINE__)
 

Typedefs

typedef unsigned int ImU32
 
typedef unsigned short ImWchar
 
typedef void * ImTextureID
 
typedef ImU32 ImGuiID
 
typedef int ImGuiCol
 
typedef int ImGuiStyleVar
 
typedef int ImGuiKey
 
typedef int ImGuiColorEditMode
 
typedef int ImGuiWindowFlags
 
typedef int ImGuiSetCond
 
typedef int ImGuiInputTextFlags
 
typedef int(* ImGuiTextEditCallback) (ImGuiTextEditCallbackData *data)
 
typedef void(* ImDrawCallback) (const ImDrawList *parent_list, const ImDrawCmd *cmd)
 

Enumerations

enum  ImGuiWindowFlags_ {
  ImGuiWindowFlags_NoTitleBar = 1 << 0, ImGuiWindowFlags_NoResize = 1 << 1, ImGuiWindowFlags_NoMove = 1 << 2, ImGuiWindowFlags_NoScrollbar = 1 << 3,
  ImGuiWindowFlags_NoScrollWithMouse = 1 << 4, ImGuiWindowFlags_NoCollapse = 1 << 5, ImGuiWindowFlags_AlwaysAutoResize = 1 << 6, ImGuiWindowFlags_ShowBorders = 1 << 7,
  ImGuiWindowFlags_NoSavedSettings = 1 << 8, ImGuiWindowFlags_ChildWindow = 1 << 9, ImGuiWindowFlags_ChildWindowAutoFitX = 1 << 10, ImGuiWindowFlags_ChildWindowAutoFitY = 1 << 11,
  ImGuiWindowFlags_ComboBox = 1 << 12, ImGuiWindowFlags_Tooltip = 1 << 13
}
 
enum  ImGuiInputTextFlags_ {
  ImGuiInputTextFlags_CharsDecimal = 1 << 0, ImGuiInputTextFlags_CharsHexadecimal = 1 << 1, ImGuiInputTextFlags_CharsUppercase = 1 << 2, ImGuiInputTextFlags_CharsNoBlank = 1 << 3,
  ImGuiInputTextFlags_AutoSelectAll = 1 << 4, ImGuiInputTextFlags_EnterReturnsTrue = 1 << 5, ImGuiInputTextFlags_CallbackCompletion = 1 << 6, ImGuiInputTextFlags_CallbackHistory = 1 << 7,
  ImGuiInputTextFlags_CallbackAlways = 1 << 8, ImGuiInputTextFlags_CallbackCharFilter = 1 << 9
}
 
enum  ImGuiKey_ {
  ImGuiKey_Tab, ImGuiKey_LeftArrow, ImGuiKey_RightArrow, ImGuiKey_UpArrow,
  ImGuiKey_DownArrow, ImGuiKey_Home, ImGuiKey_End, ImGuiKey_Delete,
  ImGuiKey_Backspace, ImGuiKey_Enter, ImGuiKey_Escape, ImGuiKey_A,
  ImGuiKey_C, ImGuiKey_V, ImGuiKey_X, ImGuiKey_Y,
  ImGuiKey_Z, ImGuiKey_COUNT
}
 
enum  ImGuiCol_ {
  ImGuiCol_Text, ImGuiCol_WindowBg, ImGuiCol_ChildWindowBg, ImGuiCol_Border,
  ImGuiCol_BorderShadow, ImGuiCol_FrameBg, ImGuiCol_TitleBg, ImGuiCol_TitleBgCollapsed,
  ImGuiCol_ScrollbarBg, ImGuiCol_ScrollbarGrab, ImGuiCol_ScrollbarGrabHovered, ImGuiCol_ScrollbarGrabActive,
  ImGuiCol_ComboBg, ImGuiCol_CheckHovered, ImGuiCol_CheckActive, ImGuiCol_CheckMark,
  ImGuiCol_SliderGrab, ImGuiCol_SliderGrabActive, ImGuiCol_Button, ImGuiCol_ButtonHovered,
  ImGuiCol_ButtonActive, ImGuiCol_Header, ImGuiCol_HeaderHovered, ImGuiCol_HeaderActive,
  ImGuiCol_Column, ImGuiCol_ColumnHovered, ImGuiCol_ColumnActive, ImGuiCol_ResizeGrip,
  ImGuiCol_ResizeGripHovered, ImGuiCol_ResizeGripActive, ImGuiCol_CloseButton, ImGuiCol_CloseButtonHovered,
  ImGuiCol_CloseButtonActive, ImGuiCol_PlotLines, ImGuiCol_PlotLinesHovered, ImGuiCol_PlotHistogram,
  ImGuiCol_PlotHistogramHovered, ImGuiCol_TextSelectedBg, ImGuiCol_TooltipBg, ImGuiCol_COUNT
}
 
enum  ImGuiStyleVar_ {
  ImGuiStyleVar_Alpha, ImGuiStyleVar_WindowPadding, ImGuiStyleVar_WindowRounding, ImGuiStyleVar_ChildWindowRounding,
  ImGuiStyleVar_FramePadding, ImGuiStyleVar_FrameRounding, ImGuiStyleVar_ItemSpacing, ImGuiStyleVar_ItemInnerSpacing,
  ImGuiStyleVar_TreeNodeSpacing
}
 
enum  ImGuiColorEditMode_ {
  ImGuiColorEditMode_UserSelect = -2, ImGuiColorEditMode_UserSelectShowButton = -1, ImGuiColorEditMode_RGB = 0, ImGuiColorEditMode_HSV = 1,
  ImGuiColorEditMode_HEX = 2
}
 
enum  ImGuiSetCond_ { ImGuiSetCond_Always = 1 << 0, ImGuiSetCond_Once = 1 << 1, ImGuiSetCond_FirstUseEver = 1 << 2 }
 

Functions

IMGUI_API void * ImGui::MemAlloc (size_t sz)
 
IMGUI_API void ImGui::MemFree (void *ptr)
 
IMGUI_API ImGuiIOImGui::GetIO ()
 
IMGUI_API ImGuiStyleImGui::GetStyle ()
 
IMGUI_API void ImGui::NewFrame ()
 
IMGUI_API void ImGui::Render ()
 
IMGUI_API void ImGui::Shutdown ()
 
IMGUI_API void ImGui::ShowUserGuide ()
 
IMGUI_API void ImGui::ShowStyleEditor (ImGuiStyle *ref=NULL)
 
IMGUI_API void ImGui::ShowTestWindow (bool *open=NULL)
 
IMGUI_API bool ImGui::Begin (const char *name="Debug", bool *p_opened=NULL, const ImVec2 &initial_size=ImVec2(0, 0), float bg_alpha=-1.0f, ImGuiWindowFlags flags=0)
 
IMGUI_API void ImGui::End ()
 
IMGUI_API bool ImGui::BeginChild (const char *str_id, const ImVec2 &size=ImVec2(0, 0), bool border=false, ImGuiWindowFlags extra_flags=0)
 
IMGUI_API bool ImGui::BeginChild (ImGuiID id, const ImVec2 &size=ImVec2(0, 0), bool border=false, ImGuiWindowFlags extra_flags=0)
 
IMGUI_API void ImGui::EndChild ()
 
IMGUI_API bool ImGui::GetWindowIsFocused ()
 
IMGUI_API ImVec2 ImGui::GetContentRegionMax ()
 
IMGUI_API ImVec2 ImGui::GetWindowContentRegionMin ()
 
IMGUI_API ImVec2 ImGui::GetWindowContentRegionMax ()
 
IMGUI_API ImDrawListImGui::GetWindowDrawList ()
 
IMGUI_API ImFontImGui::GetWindowFont ()
 
IMGUI_API float ImGui::GetWindowFontSize ()
 
IMGUI_API void ImGui::SetWindowFontScale (float scale)
 
IMGUI_API ImVec2 ImGui::GetWindowPos ()
 
IMGUI_API ImVec2 ImGui::GetWindowSize ()
 
IMGUI_API float ImGui::GetWindowWidth ()
 
IMGUI_API bool ImGui::GetWindowCollapsed ()
 
IMGUI_API void ImGui::SetNextWindowPos (const ImVec2 &pos, ImGuiSetCond cond=0)
 
IMGUI_API void ImGui::SetNextWindowSize (const ImVec2 &size, ImGuiSetCond cond=0)
 
IMGUI_API void ImGui::SetNextWindowCollapsed (bool collapsed, ImGuiSetCond cond=0)
 
IMGUI_API void ImGui::SetNextWindowFocus ()
 
IMGUI_API void ImGui::SetWindowPos (const ImVec2 &pos, ImGuiSetCond cond=0)
 
IMGUI_API void ImGui::SetWindowSize (const ImVec2 &size, ImGuiSetCond cond=0)
 
IMGUI_API void ImGui::SetWindowCollapsed (bool collapsed, ImGuiSetCond cond=0)
 
IMGUI_API void ImGui::SetWindowFocus ()
 
IMGUI_API void ImGui::SetWindowPos (const char *name, const ImVec2 &pos, ImGuiSetCond cond=0)
 
IMGUI_API void ImGui::SetWindowSize (const char *name, const ImVec2 &size, ImGuiSetCond cond=0)
 
IMGUI_API void ImGui::SetWindowCollapsed (const char *name, bool collapsed, ImGuiSetCond cond=0)
 
IMGUI_API void ImGui::SetWindowFocus (const char *name)
 
IMGUI_API float ImGui::GetScrollPosY ()
 
IMGUI_API float ImGui::GetScrollMaxY ()
 
IMGUI_API void ImGui::SetScrollPosHere ()
 
IMGUI_API void ImGui::SetKeyboardFocusHere (int offset=0)
 
IMGUI_API void ImGui::SetStateStorage (ImGuiStorage *tree)
 
IMGUI_API ImGuiStorageImGui::GetStateStorage ()
 
IMGUI_API void ImGui::PushFont (ImFont *font)
 
IMGUI_API void ImGui::PopFont ()
 
IMGUI_API void ImGui::PushStyleColor (ImGuiCol idx, const ImVec4 &col)
 
IMGUI_API void ImGui::PopStyleColor (int count=1)
 
IMGUI_API void ImGui::PushStyleVar (ImGuiStyleVar idx, float val)
 
IMGUI_API void ImGui::PushStyleVar (ImGuiStyleVar idx, const ImVec2 &val)
 
IMGUI_API void ImGui::PopStyleVar (int count=1)
 
IMGUI_API void ImGui::PushItemWidth (float item_width)
 
IMGUI_API void ImGui::PopItemWidth ()
 
IMGUI_API float ImGui::CalcItemWidth ()
 
IMGUI_API void ImGui::PushAllowKeyboardFocus (bool v)
 
IMGUI_API void ImGui::PopAllowKeyboardFocus ()
 
IMGUI_API void ImGui::PushTextWrapPos (float wrap_pos_x=0.0f)
 
IMGUI_API void ImGui::PopTextWrapPos ()
 
IMGUI_API void ImGui::SetTooltip (const char *fmt,...)
 
IMGUI_API void ImGui::SetTooltipV (const char *fmt, va_list args)
 
IMGUI_API void ImGui::BeginTooltip ()
 
IMGUI_API void ImGui::EndTooltip ()
 
IMGUI_API void ImGui::Separator ()
 
IMGUI_API void ImGui::SameLine (int column_x=0, int spacing_w=-1)
 
IMGUI_API void ImGui::Spacing ()
 
IMGUI_API void ImGui::Columns (int count=1, const char *id=NULL, bool border=true)
 
IMGUI_API void ImGui::NextColumn ()
 
IMGUI_API int ImGui::GetColumnIndex ()
 
IMGUI_API float ImGui::GetColumnOffset (int column_index=-1)
 
IMGUI_API void ImGui::SetColumnOffset (int column_index, float offset_x)
 
IMGUI_API float ImGui::GetColumnWidth (int column_index=-1)
 
IMGUI_API int ImGui::GetColumnsCount ()
 
IMGUI_API ImVec2 ImGui::GetCursorPos ()
 
IMGUI_API float ImGui::GetCursorPosX ()
 
IMGUI_API float ImGui::GetCursorPosY ()
 
IMGUI_API void ImGui::SetCursorPos (const ImVec2 &pos)
 
IMGUI_API void ImGui::SetCursorPosX (float x)
 
IMGUI_API void ImGui::SetCursorPosY (float y)
 
IMGUI_API ImVec2 ImGui::GetCursorScreenPos ()
 
IMGUI_API void ImGui::SetCursorScreenPos (const ImVec2 &pos)
 
IMGUI_API void ImGui::AlignFirstTextHeightToWidgets ()
 
IMGUI_API float ImGui::GetTextLineHeight ()
 
IMGUI_API float ImGui::GetTextLineHeightWithSpacing ()
 
IMGUI_API void ImGui::PushID (const char *str_id)
 
IMGUI_API void ImGui::PushID (const void *ptr_id)
 
IMGUI_API void ImGui::PushID (const int int_id)
 
IMGUI_API void ImGui::PopID ()
 
IMGUI_API ImGuiID ImGui::GetID (const char *str_id)
 
IMGUI_API ImGuiID ImGui::GetID (const void *ptr_id)
 
IMGUI_API void ImGui::Text (const char *fmt,...)
 
IMGUI_API void ImGui::TextV (const char *fmt, va_list args)
 
IMGUI_API void ImGui::TextColored (const ImVec4 &col, const char *fmt,...)
 
IMGUI_API void ImGui::TextColoredV (const ImVec4 &col, const char *fmt, va_list args)
 
IMGUI_API void ImGui::TextWrapped (const char *fmt,...)
 
IMGUI_API void ImGui::TextWrappedV (const char *fmt, va_list args)
 
IMGUI_API void ImGui::TextUnformatted (const char *text, const char *text_end=NULL)
 
IMGUI_API void ImGui::LabelText (const char *label, const char *fmt,...)
 
IMGUI_API void ImGui::LabelTextV (const char *label, const char *fmt, va_list args)
 
IMGUI_API void ImGui::Bullet ()
 
IMGUI_API void ImGui::BulletText (const char *fmt,...)
 
IMGUI_API void ImGui::BulletTextV (const char *fmt, va_list args)
 
IMGUI_API bool ImGui::Button (const char *label, const ImVec2 &size=ImVec2(0, 0), bool repeat_when_held=false)
 
IMGUI_API bool ImGui::SmallButton (const char *label)
 
IMGUI_API bool ImGui::InvisibleButton (const char *str_id, const ImVec2 &size)
 
IMGUI_API void ImGui::Image (ImTextureID user_texture_id, const ImVec2 &size, const ImVec2 &uv0=ImVec2(0, 0), const ImVec2 &uv1=ImVec2(1, 1), const ImVec4 &tint_col=ImVec4(1, 1, 1, 1), const ImVec4 &border_col=ImVec4(0, 0, 0, 0))
 
IMGUI_API bool ImGui::ImageButton (ImTextureID user_texture_id, const ImVec2 &size, const ImVec2 &uv0=ImVec2(0, 0), const ImVec2 &uv1=ImVec2(1, 1), int frame_padding=-1, const ImVec4 &bg_col=ImVec4(0, 0, 0, 1), const ImVec4 &tint_col=ImVec4(1, 1, 1, 1))
 
IMGUI_API bool ImGui::CollapsingHeader (const char *label, const char *str_id=NULL, bool display_frame=true, bool default_open=false)
 
IMGUI_API bool ImGui::SliderFloat (const char *label, float *v, float v_min, float v_max, const char *display_format="%.3f", float power=1.0f)
 
IMGUI_API bool ImGui::SliderFloat2 (const char *label, float v[2], float v_min, float v_max, const char *display_format="%.3f", float power=1.0f)
 
IMGUI_API bool ImGui::SliderFloat3 (const char *label, float v[3], float v_min, float v_max, const char *display_format="%.3f", float power=1.0f)
 
IMGUI_API bool ImGui::SliderFloat4 (const char *label, float v[4], float v_min, float v_max, const char *display_format="%.3f", float power=1.0f)
 
IMGUI_API bool ImGui::SliderAngle (const char *label, float *v, float v_degrees_min=-360.0f, float v_degrees_max=+360.0f)
 
IMGUI_API bool ImGui::SliderInt (const char *label, int *v, int v_min, int v_max, const char *display_format="%.0f")
 
IMGUI_API bool ImGui::SliderInt2 (const char *label, int v[2], int v_min, int v_max, const char *display_format="%.0f")
 
IMGUI_API bool ImGui::SliderInt3 (const char *label, int v[3], int v_min, int v_max, const char *display_format="%.0f")
 
IMGUI_API bool ImGui::SliderInt4 (const char *label, int v[4], int v_min, int v_max, const char *display_format="%.0f")
 
IMGUI_API void ImGui::PlotLines (const char *label, const float *values, int values_count, int values_offset=0, const char *overlay_text=NULL, float scale_min=FLT_MAX, float scale_max=FLT_MAX, ImVec2 graph_size=ImVec2(0, 0), size_t stride=sizeof(float))
 
IMGUI_API void ImGui::PlotLines (const char *label, float(*values_getter)(void *data, int idx), void *data, int values_count, int values_offset=0, const char *overlay_text=NULL, float scale_min=FLT_MAX, float scale_max=FLT_MAX, ImVec2 graph_size=ImVec2(0, 0))
 
IMGUI_API void ImGui::PlotHistogram (const char *label, const float *values, int values_count, int values_offset=0, const char *overlay_text=NULL, float scale_min=FLT_MAX, float scale_max=FLT_MAX, ImVec2 graph_size=ImVec2(0, 0), size_t stride=sizeof(float))
 
IMGUI_API void ImGui::PlotHistogram (const char *label, float(*values_getter)(void *data, int idx), void *data, int values_count, int values_offset=0, const char *overlay_text=NULL, float scale_min=FLT_MAX, float scale_max=FLT_MAX, ImVec2 graph_size=ImVec2(0, 0))
 
IMGUI_API bool ImGui::Checkbox (const char *label, bool *v)
 
IMGUI_API bool ImGui::CheckboxFlags (const char *label, unsigned int *flags, unsigned int flags_value)
 
IMGUI_API bool ImGui::RadioButton (const char *label, bool active)
 
IMGUI_API bool ImGui::RadioButton (const char *label, int *v, int v_button)
 
IMGUI_API bool ImGui::InputText (const char *label, char *buf, size_t buf_size, ImGuiInputTextFlags flags=0, ImGuiTextEditCallback callback=NULL, void *user_data=NULL)
 
IMGUI_API bool ImGui::InputFloat (const char *label, float *v, float step=0.0f, float step_fast=0.0f, int decimal_precision=-1, ImGuiInputTextFlags extra_flags=0)
 
IMGUI_API bool ImGui::InputFloat2 (const char *label, float v[2], int decimal_precision=-1)
 
IMGUI_API bool ImGui::InputFloat3 (const char *label, float v[3], int decimal_precision=-1)
 
IMGUI_API bool ImGui::InputFloat4 (const char *label, float v[4], int decimal_precision=-1)
 
IMGUI_API bool ImGui::InputInt (const char *label, int *v, int step=1, int step_fast=100, ImGuiInputTextFlags extra_flags=0)
 
IMGUI_API bool ImGui::Combo (const char *label, int *current_item, const char **items, int items_count, int height_in_items=-1)
 
IMGUI_API bool ImGui::Combo (const char *label, int *current_item, const char *items_separated_by_zeros, int height_in_items=-1)
 
IMGUI_API bool ImGui::Combo (const char *label, int *current_item, bool(*items_getter)(void *data, int idx, const char **out_text), void *data, int items_count, int height_in_items=-1)
 
IMGUI_API bool ImGui::ColorButton (const ImVec4 &col, bool small_height=false, bool outline_border=true)
 
IMGUI_API bool ImGui::ColorEdit3 (const char *label, float col[3])
 
IMGUI_API bool ImGui::ColorEdit4 (const char *label, float col[4], bool show_alpha=true)
 
IMGUI_API void ImGui::ColorEditMode (ImGuiColorEditMode mode)
 
IMGUI_API bool ImGui::TreeNode (const char *str_label_id)
 
IMGUI_API bool ImGui::TreeNode (const char *str_id, const char *fmt,...)
 
IMGUI_API bool ImGui::TreeNode (const void *ptr_id, const char *fmt,...)
 
IMGUI_API bool ImGui::TreeNodeV (const char *str_id, const char *fmt, va_list args)
 
IMGUI_API bool ImGui::TreeNodeV (const void *ptr_id, const char *fmt, va_list args)
 
IMGUI_API void ImGui::TreePush (const char *str_id=NULL)
 
IMGUI_API void ImGui::TreePush (const void *ptr_id=NULL)
 
IMGUI_API void ImGui::TreePop ()
 
IMGUI_API void ImGui::SetNextTreeNodeOpened (bool opened, ImGuiSetCond cond=0)
 
IMGUI_API bool ImGui::Selectable (const char *label, bool selected, const ImVec2 &size=ImVec2(0, 0))
 
IMGUI_API bool ImGui::Selectable (const char *label, bool *p_selected, const ImVec2 &size=ImVec2(0, 0))
 
IMGUI_API bool ImGui::ListBox (const char *label, int *current_item, const char **items, int items_count, int height_in_items=-1)
 
IMGUI_API bool ImGui::ListBox (const char *label, int *current_item, bool(*items_getter)(void *data, int idx, const char **out_text), void *data, int items_count, int height_in_items=-1)
 
IMGUI_API bool ImGui::ListBoxHeader (const char *label, const ImVec2 &size=ImVec2(0, 0))
 
IMGUI_API bool ImGui::ListBoxHeader (const char *label, int items_count, int height_in_items=-1)
 
IMGUI_API void ImGui::ListBoxFooter ()
 
IMGUI_API void ImGui::Value (const char *prefix, bool b)
 
IMGUI_API void ImGui::Value (const char *prefix, int v)
 
IMGUI_API void ImGui::Value (const char *prefix, unsigned int v)
 
IMGUI_API void ImGui::Value (const char *prefix, float v, const char *float_format=NULL)
 
IMGUI_API void ImGui::Color (const char *prefix, const ImVec4 &v)
 
IMGUI_API void ImGui::Color (const char *prefix, unsigned int v)
 
IMGUI_API void ImGui::LogToTTY (int max_depth=-1)
 
IMGUI_API void ImGui::LogToFile (int max_depth=-1, const char *filename=NULL)
 
IMGUI_API void ImGui::LogToClipboard (int max_depth=-1)
 
IMGUI_API void ImGui::LogFinish ()
 
IMGUI_API void ImGui::LogButtons ()
 
IMGUI_API void ImGui::LogText (const char *fmt,...)
 
IMGUI_API bool ImGui::IsItemHovered ()
 
IMGUI_API bool ImGui::IsItemActive ()
 
IMGUI_API bool ImGui::IsAnyItemActive ()
 
IMGUI_API ImVec2 ImGui::GetItemBoxMin ()
 
IMGUI_API ImVec2 ImGui::GetItemBoxMax ()
 
IMGUI_API bool ImGui::IsClipped (const ImVec2 &item_size)
 
IMGUI_API bool ImGui::IsKeyPressed (int key_index, bool repeat=true)
 
IMGUI_API bool ImGui::IsMouseClicked (int button, bool repeat=false)
 
IMGUI_API bool ImGui::IsMouseDoubleClicked (int button)
 
IMGUI_API bool ImGui::IsMouseHoveringWindow ()
 
IMGUI_API bool ImGui::IsMouseHoveringAnyWindow ()
 
IMGUI_API bool ImGui::IsMouseHoveringBox (const ImVec2 &box_min, const ImVec2 &box_max)
 
IMGUI_API bool ImGui::IsPosHoveringAnyWindow (const ImVec2 &pos)
 
IMGUI_API ImVec2 ImGui::GetMousePos ()
 
IMGUI_API float ImGui::GetTime ()
 
IMGUI_API int ImGui::GetFrameCount ()
 
IMGUI_API const char * ImGui::GetStyleColName (ImGuiCol idx)
 
IMGUI_API ImVec2 ImGui::CalcTextSize (const char *text, const char *text_end=NULL, bool hide_text_after_double_hash=false, float wrap_width=-1.0f)
 
IMGUI_API void ImGui::CalcListClipping (int items_count, float items_height, int *out_items_display_start, int *out_items_display_end)
 
IMGUI_API void ImGui::BeginChildFrame (ImGuiID id, const ImVec2 &size)
 
IMGUI_API void ImGui::EndChildFrame ()
 
IMGUI_API ImU32 ImGui::ColorConvertFloat4ToU32 (const ImVec4 &in)
 
IMGUI_API void ImGui::ColorConvertRGBtoHSV (float r, float g, float b, float &out_h, float &out_s, float &out_v)
 
IMGUI_API void ImGui::ColorConvertHSVtoRGB (float h, float s, float v, float &out_r, float &out_g, float &out_b)
 
IMGUI_API void * ImGui::GetInternalState ()
 
IMGUI_API size_t ImGui::GetInternalStateSize ()
 
IMGUI_API void ImGui::SetInternalState (void *state, bool construct=false)
 
IMGUI_API void ImGui::GetDefaultFontData (const void **fnt_data, unsigned int *fnt_size, const void **png_data, unsigned int *png_size)
 
static void ImGui::OpenNextNode (bool open)
 

Class Documentation

struct ImDrawCmd

Definition at line 798 of file imgui.h.

Collaboration diagram for ImDrawCmd:
[legend]
Class Members
unsigned int vtx_count
ImVec4 clip_rect
ImTextureID texture_id
ImDrawCallback user_callback
void * user_callback_data
struct ImDrawVert

Definition at line 809 of file imgui.h.

Collaboration diagram for ImDrawVert:
[legend]
Class Members
ImVec2 pos
ImVec2 uv
ImU32 col
struct ImFont::Glyph

Definition at line 934 of file imgui.h.

Class Members
ImWchar Codepoint
signed short XAdvance
signed short Width
signed short Height
signed short XOffset
signed short YOffset
float U0
float V0
float U1
float V1
union ImGuiStorage::Pair.__unnamed__

Definition at line 712 of file imgui.h.

Class Members
int val_i
float val_f
void * val_p

Macro Definition Documentation

#define IMGUI_API

Definition at line 24 of file imgui.h.

#define IMGUI_ONCE_UPON_A_FRAME   static ImGuiOnceUponAFrame imgui_oaf##__LINE__; if (imgui_oaf##__LINE__)

Definition at line 644 of file imgui.h.

Typedef Documentation

typedef unsigned int ImU32

Definition at line 34 of file imgui.h.

typedef unsigned short ImWchar

Definition at line 37 of file imgui.h.

typedef void* ImTextureID

Definition at line 38 of file imgui.h.

typedef ImU32 ImGuiID

Definition at line 39 of file imgui.h.

typedef int ImGuiCol

Definition at line 40 of file imgui.h.

typedef int ImGuiStyleVar

Definition at line 41 of file imgui.h.

typedef int ImGuiKey

Definition at line 42 of file imgui.h.

typedef int ImGuiColorEditMode

Definition at line 43 of file imgui.h.

typedef int ImGuiWindowFlags

Definition at line 44 of file imgui.h.

typedef int ImGuiSetCond

Definition at line 45 of file imgui.h.

typedef int ImGuiInputTextFlags

Definition at line 46 of file imgui.h.

typedef int(* ImGuiTextEditCallback) (ImGuiTextEditCallbackData *data)

Definition at line 48 of file imgui.h.

typedef void(* ImDrawCallback) (const ImDrawList *parent_list, const ImDrawCmd *cmd)

Definition at line 795 of file imgui.h.

Enumeration Type Documentation

Enumerator
ImGuiWindowFlags_NoTitleBar 
ImGuiWindowFlags_NoResize 
ImGuiWindowFlags_NoMove 
ImGuiWindowFlags_NoScrollbar 
ImGuiWindowFlags_NoScrollWithMouse 
ImGuiWindowFlags_NoCollapse 
ImGuiWindowFlags_AlwaysAutoResize 
ImGuiWindowFlags_ShowBorders 
ImGuiWindowFlags_NoSavedSettings 
ImGuiWindowFlags_ChildWindow 
ImGuiWindowFlags_ChildWindowAutoFitX 
ImGuiWindowFlags_ChildWindowAutoFitY 
ImGuiWindowFlags_ComboBox 
ImGuiWindowFlags_Tooltip 

Definition at line 383 of file imgui.h.

Enumerator
ImGuiInputTextFlags_CharsDecimal 
ImGuiInputTextFlags_CharsHexadecimal 
ImGuiInputTextFlags_CharsUppercase 
ImGuiInputTextFlags_CharsNoBlank 
ImGuiInputTextFlags_AutoSelectAll 
ImGuiInputTextFlags_EnterReturnsTrue 
ImGuiInputTextFlags_CallbackCompletion 
ImGuiInputTextFlags_CallbackHistory 
ImGuiInputTextFlags_CallbackAlways 
ImGuiInputTextFlags_CallbackCharFilter 

Definition at line 404 of file imgui.h.

enum ImGuiKey_
Enumerator
ImGuiKey_Tab 
ImGuiKey_LeftArrow 
ImGuiKey_RightArrow 
ImGuiKey_UpArrow 
ImGuiKey_DownArrow 
ImGuiKey_Home 
ImGuiKey_End 
ImGuiKey_Delete 
ImGuiKey_Backspace 
ImGuiKey_Enter 
ImGuiKey_Escape 
ImGuiKey_A 
ImGuiKey_C 
ImGuiKey_V 
ImGuiKey_X 
ImGuiKey_Y 
ImGuiKey_Z 
ImGuiKey_COUNT 

Definition at line 420 of file imgui.h.

enum ImGuiCol_
Enumerator
ImGuiCol_Text 
ImGuiCol_WindowBg 
ImGuiCol_ChildWindowBg 
ImGuiCol_Border 
ImGuiCol_BorderShadow 
ImGuiCol_FrameBg 
ImGuiCol_TitleBg 
ImGuiCol_TitleBgCollapsed 
ImGuiCol_ScrollbarBg 
ImGuiCol_ScrollbarGrab 
ImGuiCol_ScrollbarGrabHovered 
ImGuiCol_ScrollbarGrabActive 
ImGuiCol_ComboBg 
ImGuiCol_CheckHovered 
ImGuiCol_CheckActive 
ImGuiCol_CheckMark 
ImGuiCol_SliderGrab 
ImGuiCol_SliderGrabActive 
ImGuiCol_Button 
ImGuiCol_ButtonHovered 
ImGuiCol_ButtonActive 
ImGuiCol_Header 
ImGuiCol_HeaderHovered 
ImGuiCol_HeaderActive 
ImGuiCol_Column 
ImGuiCol_ColumnHovered 
ImGuiCol_ColumnActive 
ImGuiCol_ResizeGrip 
ImGuiCol_ResizeGripHovered 
ImGuiCol_ResizeGripActive 
ImGuiCol_CloseButton 
ImGuiCol_CloseButtonHovered 
ImGuiCol_CloseButtonActive 
ImGuiCol_PlotLines 
ImGuiCol_PlotLinesHovered 
ImGuiCol_PlotHistogram 
ImGuiCol_PlotHistogramHovered 
ImGuiCol_TextSelectedBg 
ImGuiCol_TooltipBg 
ImGuiCol_COUNT 

Definition at line 443 of file imgui.h.

Enumerator
ImGuiStyleVar_Alpha 
ImGuiStyleVar_WindowPadding 
ImGuiStyleVar_WindowRounding 
ImGuiStyleVar_ChildWindowRounding 
ImGuiStyleVar_FramePadding 
ImGuiStyleVar_FrameRounding 
ImGuiStyleVar_ItemSpacing 
ImGuiStyleVar_ItemInnerSpacing 
ImGuiStyleVar_TreeNodeSpacing 

Definition at line 489 of file imgui.h.

Enumerator
ImGuiColorEditMode_UserSelect 
ImGuiColorEditMode_UserSelectShowButton 
ImGuiColorEditMode_RGB 
ImGuiColorEditMode_HSV 
ImGuiColorEditMode_HEX 

Definition at line 503 of file imgui.h.

Enumerator
ImGuiSetCond_Always 
ImGuiSetCond_Once 
ImGuiSetCond_FirstUseEver 

Definition at line 514 of file imgui.h.