Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
imgui_internal.h File Reference
#include <stdio.h>
#include <math.h>
#include "stb_textedit.h"
Include dependency graph for imgui_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ImGuiColMod
 
struct  ImGuiColumnData
 
struct  ImGuiContext
 
struct  ImGuiDrawContext
 
struct  ImGuiGroupData
 
struct  ImGuiIniData
 
struct  ImGuiMouseCursorData
 
struct  ImGuiPopupRef
 
struct  ImGuiSimpleColumns
 
struct  ImGuiStyleMod
 
struct  ImGuiTextEditState
 
struct  ImGuiWindow
 
struct  ImRect
 
struct  ImGuiStb::STB_TexteditState
 
struct  ImGuiStb::StbTexteditRow
 
struct  ImGuiStb::StbUndoRecord
 
struct  ImGuiStb::StbUndoState
 

Namespaces

 ImGui
 
 ImGuiStb
 

Macros

#define IM_ARRAYSIZE(_ARR)   ((int)(sizeof(_ARR)/sizeof(*_ARR)))
 
#define IM_PI   3.14159265358979323846f
 
#define STB_TEXTEDIT_CHARTYPE   ImWchar
 
#define STB_TEXTEDIT_GETWIDTH_NEWLINE   -1.0f
 
#define STB_TEXTEDIT_STRING   ImGuiTextEditState
 

Typedefs

typedef int ImGuiLayoutType
 
typedef int ImGuiSliderFlags
 
typedef int ImGuiTreeNodeFlags
 

Enumerations

enum  ImGuiDataType { ImGuiDataType_Int, ImGuiDataType_Float }
 
enum  ImGuiLayoutType_ { ImGuiLayoutType_Vertical, ImGuiLayoutType_Horizontal }
 
enum  ImGuiPlotType { ImGuiPlotType_Lines, ImGuiPlotType_Histogram }
 
enum  ImGuiSelectableFlagsPrivate_ { ImGuiSelectableFlags_Menu = 1 << 3, ImGuiSelectableFlags_MenuItem = 1 << 4, ImGuiSelectableFlags_Disabled = 1 << 5, ImGuiSelectableFlags_DrawFillAvailWidth = 1 << 6 }
 
enum  ImGuiSliderFlags_ { ImGuiSliderFlags_Vertical = 1 << 0 }
 

Functions

IMGUI_API bool ImGui::ButtonBehavior (const ImRect &bb, ImGuiID id, bool *out_hovered, bool *out_held, ImGuiButtonFlags flags=0)
 
IMGUI_API ImVec2 ImGui::CalcItemSize (ImVec2 size, float default_x, float default_y)
 
IMGUI_API float ImGui::CalcWrapWidthForPos (const ImVec2 &pos, float wrap_pos_x)
 
IMGUI_API bool ImGui::CloseButton (ImGuiID id, const ImVec2 &pos, float radius)
 
IMGUI_API bool ImGui::DragBehavior (const ImRect &frame_bb, ImGuiID id, float *v, float v_speed, float v_min, float v_max, int decimal_precision, float power)
 
IMGUI_API bool ImGui::DragFloatN (const char *label, float *v, int components, float v_speed, float v_min, float v_max, const char *display_format, float power)
 
IMGUI_API bool ImGui::DragIntN (const char *label, int *v, int components, float v_speed, int v_min, int v_max, const char *display_format)
 
IMGUI_API void ImGui::EndFrame ()
 
IMGUI_API const char * ImGui::FindRenderedTextEnd (const char *text, const char *text_end=NULL)
 
IMGUI_API ImGuiWindowImGui::FindWindowByName (const char *name)
 
IMGUI_API bool ImGui::FocusableItemRegister (ImGuiWindow *window, bool is_active, bool tab_stop=true)
 
IMGUI_API void ImGui::FocusableItemUnregister (ImGuiWindow *window)
 
IMGUI_API void ImGui::FocusWindow (ImGuiWindow *window)
 
IMGUI_API ImU32 ImGui::GetColorU32 (ImGuiCol idx, float alpha_mul=1.0f)
 
IMGUI_API ImU32 ImGui::GetColorU32 (const ImVec4 &col)
 
ImGuiWindowImGui::GetCurrentWindow ()
 
ImGuiWindowImGui::GetCurrentWindowRead ()
 
IMGUI_API ImGuiWindowImGui::GetParentWindow ()
 
static bool ImCharIsSpace (int c)
 
static int ImClamp (int v, int mn, int mx)
 
static float ImClamp (float v, float mn, float mx)
 
static ImVec2 ImClamp (const ImVec2 &f, const ImVec2 &mn, ImVec2 mx)
 
static float ImFloor (float f)
 
static ImVec2 ImFloor (ImVec2 v)
 
IMGUI_API int ImFormatString (char *buf, int buf_size, const char *fmt,...) IM_PRINTFARGS(3)
 
IMGUI_API int ImFormatStringV (char *buf, int buf_size, const char *fmt, va_list args)
 
IMGUI_API ImU32 ImHash (const void *data, int data_size, ImU32 seed=0)
 
static float ImInvLength (const ImVec2 &lhs, float fail_value)
 
IMGUI_API bool ImIsPointInTriangle (const ImVec2 &p, const ImVec2 &a, const ImVec2 &b, const ImVec2 &c)
 
static float ImLengthSqr (const ImVec2 &lhs)
 
static float ImLengthSqr (const ImVec4 &lhs)
 
static float ImLerp (float a, float b, float t)
 
static ImVec2 ImLerp (const ImVec2 &a, const ImVec2 &b, const ImVec2 &t)
 
IMGUI_API voidImLoadFileToMemory (const char *filename, const char *file_open_mode, int *out_file_size=NULL, int padding_bytes=0)
 
static int ImMax (int lhs, int rhs)
 
static float ImMax (float lhs, float rhs)
 
static ImVec2 ImMax (const ImVec2 &lhs, const ImVec2 &rhs)
 
static int ImMin (int lhs, int rhs)
 
static float ImMin (float lhs, float rhs)
 
static ImVec2 ImMin (const ImVec2 &lhs, const ImVec2 &rhs)
 
static float ImSaturate (float f)
 
IMGUI_API const ImWcharImStrbolW (const ImWchar *buf_mid_line, const ImWchar *buf_begin)
 
IMGUI_API char * ImStrdup (const char *str)
 
IMGUI_API int ImStricmp (const char *str1, const char *str2)
 
IMGUI_API const char * ImStristr (const char *haystack, const char *haystack_end, const char *needle, const char *needle_end)
 
IMGUI_API int ImStrlenW (const ImWchar *str)
 
IMGUI_API int ImStrnicmp (const char *str1, const char *str2, int count)
 
IMGUI_API int ImTextCharFromUtf8 (unsigned int *out_char, const char *in_text, const char *in_text_end)
 
IMGUI_API int ImTextCountCharsFromUtf8 (const char *in_text, const char *in_text_end)
 
IMGUI_API int ImTextCountUtf8BytesFromStr (const ImWchar *in_text, const ImWchar *in_text_end)
 
IMGUI_API int ImTextStrFromUtf8 (ImWchar *buf, int buf_size, const char *in_text, const char *in_text_end, const char **in_remaining=NULL)
 
IMGUI_API int ImTextStrToUtf8 (char *buf, int buf_size, const ImWchar *in_text, const ImWchar *in_text_end)
 
static int ImUpperPowerOfTwo (int v)
 
IMGUI_API bool ImGui::InputFloatN (const char *label, float *v, int components, int decimal_precision, ImGuiInputTextFlags extra_flags)
 
IMGUI_API bool ImGui::InputIntN (const char *label, int *v, int components, ImGuiInputTextFlags extra_flags)
 
IMGUI_API bool ImGui::InputScalarAsWidgetReplacement (const ImRect &aabb, const char *label, ImGuiDataType data_type, void *data_ptr, ImGuiID id, int decimal_precision)
 
IMGUI_API bool ImGui::InputScalarEx (const char *label, ImGuiDataType data_type, void *data_ptr, void *step_ptr, void *step_fast_ptr, const char *scalar_format, ImGuiInputTextFlags extra_flags)
 
IMGUI_API bool ImGui::InputTextEx (const char *label, char *buf, int buf_size, const ImVec2 &size_arg, ImGuiInputTextFlags flags, ImGuiTextEditCallback callback=NULL, void *user_data=NULL)
 
IMGUI_API bool ImGui::IsClippedEx (const ImRect &bb, const ImGuiID *id, bool clip_even_when_logged)
 
IMGUI_API bool ImGui::IsHovered (const ImRect &bb, ImGuiID id, bool flatten_childs=false)
 
IMGUI_API bool ImGui::ItemAdd (const ImRect &bb, const ImGuiID *id)
 
IMGUI_API void ImGui::ItemSize (const ImVec2 &size, float text_offset_y=0.0f)
 
IMGUI_API void ImGui::ItemSize (const ImRect &bb, float text_offset_y=0.0f)
 
IMGUI_API void ImGui::KeepAliveID (ImGuiID id)
 
IMGUI_API void ImGui::OpenPopupEx (const char *str_id, bool reopen_existing)
 
IMGUI_API int ImGui::ParseFormatPrecision (const char *fmt, int default_value)
 
IMGUI_API void ImGui::PlotEx (ImGuiPlotType plot_type, const char *label, float(*values_getter)(void *data, int idx), void *data, int values_count, int values_offset, const char *overlay_text, float scale_min, float scale_max, ImVec2 graph_size)
 
IMGUI_API void ImGui::RenderBullet (ImVec2 pos)
 
IMGUI_API void ImGui::RenderCheckMark (ImVec2 pos, ImU32 col)
 
IMGUI_API void ImGui::RenderCollapseTriangle (ImVec2 pos, bool is_open, float scale=1.0f, bool shadow=false)
 
IMGUI_API void ImGui::RenderFrame (ImVec2 p_min, ImVec2 p_max, ImU32 fill_col, bool border=true, float rounding=0.0f)
 
IMGUI_API void ImGui::RenderText (ImVec2 pos, const char *text, const char *text_end=NULL, bool hide_text_after_hash=true)
 
IMGUI_API void ImGui::RenderTextClipped (const ImVec2 &pos_min, const ImVec2 &pos_max, const char *text, const char *text_end, const ImVec2 *text_size_if_known, ImGuiAlign align=ImGuiAlign_Default, const ImVec2 *clip_min=NULL, const ImVec2 *clip_max=NULL)
 
IMGUI_API void ImGui::RenderTextWrapped (ImVec2 pos, const char *text, const char *text_end, float wrap_width)
 
IMGUI_API float ImGui::RoundScalar (float value, int decimal_precision)
 
IMGUI_API void ImGui::SetActiveID (ImGuiID id, ImGuiWindow *window)
 
IMGUI_API void ImGui::SetHoveredID (ImGuiID id)
 
IMGUI_API bool ImGui::SliderBehavior (const ImRect &frame_bb, ImGuiID id, float *v, float v_min, float v_max, float power, int decimal_precision, ImGuiSliderFlags flags=0, bool render_bg=false)
 
IMGUI_API bool ImGui::SliderFloatN (const char *label, float *v, int components, float v_min, float v_max, const char *display_format, float power)
 
IMGUI_API bool ImGui::SliderIntN (const char *label, int *v, int components, int v_min, int v_max, const char *display_format)
 
IMGUI_API bool ImGui::TreeNodeBehavior (ImGuiID id, ImGuiTreeNodeFlags flags, const char *label, const char *label_end=NULL)
 
IMGUI_API bool ImGui::TreeNodeBehaviorIsOpen (ImGuiID id, ImGuiTreeNodeFlags flags=0)
 
IMGUI_API void ImGui::TreePushRawID (ImGuiID id)
 

Variables

IMGUI_API ImGuiContextGImGui
 

Macro Definition Documentation

#define IM_ARRAYSIZE (   _ARR)    ((int)(sizeof(_ARR)/sizeof(*_ARR)))

Definition at line 76 of file imgui_internal.h.

#define IM_PI   3.14159265358979323846f

Definition at line 77 of file imgui_internal.h.

#define STB_TEXTEDIT_CHARTYPE   ImWchar

Definition at line 60 of file imgui_internal.h.

#define STB_TEXTEDIT_GETWIDTH_NEWLINE   -1.0f

Definition at line 61 of file imgui_internal.h.

#define STB_TEXTEDIT_STRING   ImGuiTextEditState

Definition at line 59 of file imgui_internal.h.

Typedef Documentation

typedef int ImGuiLayoutType

Definition at line 43 of file imgui_internal.h.

typedef int ImGuiSliderFlags

Definition at line 48 of file imgui_internal.h.

typedef int ImGuiTreeNodeFlags

Definition at line 47 of file imgui_internal.h.

Enumeration Type Documentation

Enumerator
ImGuiDataType_Int 
ImGuiDataType_Float 

Definition at line 192 of file imgui_internal.h.

Enumerator
ImGuiLayoutType_Vertical 
ImGuiLayoutType_Horizontal 

Definition at line 180 of file imgui_internal.h.

Enumerator
ImGuiPlotType_Lines 
ImGuiPlotType_Histogram 

Definition at line 186 of file imgui_internal.h.

Enumerator
ImGuiSelectableFlags_Menu 
ImGuiSelectableFlags_MenuItem 
ImGuiSelectableFlags_Disabled 
ImGuiSelectableFlags_DrawFillAvailWidth 

Definition at line 170 of file imgui_internal.h.

Enumerator
ImGuiSliderFlags_Vertical 

Definition at line 165 of file imgui_internal.h.

Function Documentation

static bool ImCharIsSpace ( int  c)
inlinestatic

Definition at line 90 of file imgui_internal.h.

static int ImClamp ( int  v,
int  mn,
int  mx 
)
inlinestatic

Definition at line 125 of file imgui_internal.h.

static float ImClamp ( float  v,
float  mn,
float  mx 
)
inlinestatic

Definition at line 126 of file imgui_internal.h.

static ImVec2 ImClamp ( const ImVec2 f,
const ImVec2 mn,
ImVec2  mx 
)
inlinestatic

Definition at line 127 of file imgui_internal.h.

static float ImFloor ( float  f)
inlinestatic

Definition at line 134 of file imgui_internal.h.

static ImVec2 ImFloor ( ImVec2  v)
inlinestatic

Definition at line 135 of file imgui_internal.h.

IMGUI_API int ImFormatString ( char *  buf,
int  buf_size,
const char *  fmt,
  ... 
)

Definition at line 941 of file imgui.cpp.

IMGUI_API int ImFormatStringV ( char *  buf,
int  buf_size,
const char *  fmt,
va_list  args 
)

Definition at line 951 of file imgui.cpp.

IMGUI_API ImU32 ImHash ( const void data,
int  data_size,
ImU32  seed = 0 
)

Definition at line 960 of file imgui.cpp.

static float ImInvLength ( const ImVec2 lhs,
float  fail_value 
)
inlinestatic

Definition at line 133 of file imgui_internal.h.

IMGUI_API bool ImIsPointInTriangle ( const ImVec2 p,
const ImVec2 a,
const ImVec2 b,
const ImVec2 c 
)

Definition at line 876 of file imgui.cpp.

static float ImLengthSqr ( const ImVec2 lhs)
inlinestatic

Definition at line 131 of file imgui_internal.h.

static float ImLengthSqr ( const ImVec4 lhs)
inlinestatic

Definition at line 132 of file imgui_internal.h.

static float ImLerp ( float  a,
float  b,
float  t 
)
inlinestatic

Definition at line 129 of file imgui_internal.h.

static ImVec2 ImLerp ( const ImVec2 a,
const ImVec2 b,
const ImVec2 t 
)
inlinestatic

Definition at line 130 of file imgui_internal.h.

IMGUI_API void* ImLoadFileToMemory ( const char *  filename,
const char *  file_open_mode,
int *  out_file_size = NULL,
int  padding_bytes = 0 
)

Definition at line 1248 of file imgui.cpp.

static int ImMax ( int  lhs,
int  rhs 
)
inlinestatic

Definition at line 120 of file imgui_internal.h.

static float ImMax ( float  lhs,
float  rhs 
)
inlinestatic

Definition at line 122 of file imgui_internal.h.

static ImVec2 ImMax ( const ImVec2 lhs,
const ImVec2 rhs 
)
inlinestatic

Definition at line 124 of file imgui_internal.h.

static int ImMin ( int  lhs,
int  rhs 
)
inlinestatic

Definition at line 119 of file imgui_internal.h.

static float ImMin ( float  lhs,
float  rhs 
)
inlinestatic

Definition at line 121 of file imgui_internal.h.

static ImVec2 ImMin ( const ImVec2 lhs,
const ImVec2 rhs 
)
inlinestatic

Definition at line 123 of file imgui_internal.h.

static float ImSaturate ( float  f)
inlinestatic

Definition at line 128 of file imgui_internal.h.

IMGUI_API const ImWchar* ImStrbolW ( const ImWchar buf_mid_line,
const ImWchar buf_begin 
)

Definition at line 912 of file imgui.cpp.

IMGUI_API char* ImStrdup ( const char *  str)

Definition at line 898 of file imgui.cpp.

IMGUI_API int ImStricmp ( const char *  str1,
const char *  str2 
)

Definition at line 884 of file imgui.cpp.

IMGUI_API const char* ImStristr ( const char *  haystack,
const char *  haystack_end,
const char *  needle,
const char *  needle_end 
)

Definition at line 919 of file imgui.cpp.

IMGUI_API int ImStrlenW ( const ImWchar str)

Definition at line 905 of file imgui.cpp.

IMGUI_API int ImStrnicmp ( const char *  str1,
const char *  str2,
int  count 
)

Definition at line 891 of file imgui.cpp.

IMGUI_API int ImTextCharFromUtf8 ( unsigned int *  out_char,
const char *  in_text,
const char *  in_text_end 
)

Definition at line 1010 of file imgui.cpp.

IMGUI_API int ImTextCountCharsFromUtf8 ( const char *  in_text,
const char *  in_text_end 
)

Definition at line 1087 of file imgui.cpp.

IMGUI_API int ImTextCountUtf8BytesFromStr ( const ImWchar in_text,
const ImWchar in_text_end 
)

Definition at line 1165 of file imgui.cpp.

IMGUI_API int ImTextStrFromUtf8 ( ImWchar buf,
int  buf_size,
const char *  in_text,
const char *  in_text_end,
const char **  in_remaining = NULL 
)

Definition at line 1068 of file imgui.cpp.

IMGUI_API int ImTextStrToUtf8 ( char *  buf,
int  buf_size,
const ImWchar in_text,
const ImWchar in_text_end 
)

Definition at line 1149 of file imgui.cpp.

static int ImUpperPowerOfTwo ( int  v)
inlinestatic

Definition at line 91 of file imgui_internal.h.

Variable Documentation

Definition at line 719 of file imgui.cpp.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:26