Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
ImGui Namespace Reference

Typedefs

typedef int ImGuiPopupFlags
 
typedef void * ImTextureID
 

Functions

void SetScrollHereY (float center_y_ratio)
 
void SetNextFrameWantCaptureMouse (bool want_capture_mouse)
 
void SetScrollHere ()
 
void CaptureMouseFromApp ()
 
bool InputDoubleN (const char *label, double *v, int components, const char *display_format, ImGuiInputTextFlags extra_flags)
 
bool InputDouble2 (const char *label, double v[2], const char *display_format, ImGuiInputTextFlags extra_flags)
 
bool InputDouble3 (const char *label, double v[3], const char *display_format, ImGuiInputTextFlags extra_flags)
 
bool InputDouble4 (const char *label, double v[4], const char *display_format, ImGuiInputTextFlags extra_flags)
 
bool ToggleButton (const char *str_id, bool *v)
 
bool ImageZoomAndPan (ImTextureID user_texture_id, const ImVec2 &size, float aspectRatio, float &zoom, ImVec2 &zoomCenter, int panMouseButtonDrag, int resetZoomAndPanMouseButton, const ImVec2 &zoomMaxAndZoomStep)
 
bool SaveStyle (const char *filename, const ImGuiStyle &style)
 
bool LoadStyle (const char *filename, ImGuiStyle &style)
 
void ChangeStyleColors (ImGuiStyle &style, float satThresholdForInvertingLuminance, float shiftHue)
 
static void InvertStyleColors (ImGuiStyle &style)
 
static void ChangeStyleColorsHue (ImGuiStyle &style, float shiftHue=0.f)
 
static ImVec4 ConvertTitleBgColFromPrevVersion (const ImVec4 &win_bg_col, const ImVec4 &title_bg_col)
 
static ImVec4 ImColorLerp (const ImVec4 &a, const ImVec4 &b, float t)
 
static void CreateDefaultTabColorsFor (ImGuiStyle &style, ImGuiCol baseHoveredColor=ImGuiCol_HeaderHovered, float hoveredLerp=0.5f, const ImVec2 &tabsLerps=ImVec2(0.15f, 0.8f), const ImVec2 &unfocusedTabsLerp=ImVec2(0.1f, 0.5f))
 
bool SelectStyleCombo (const char *label, int *selectedIndex, int maxNumItemsToDisplay, ImGuiStyle *styleToChange)
 
bool ResetStyle (int styleEnum, ImGuiStyle &style)
 
const char ** GetDefaultStyleNames ()
 

Variables

static const char * DefaultStyleNames [ImGuiStyle_Count] ={"DefaultClassic","DefaultDark","DefaultLight","Gray","Light","BlackCodz01","DarkCodz01","GrayCodz01","Purple","Cherry","DarkOpaque","Soft","EdinBlack","EdinWhite","Maya","LightGreen","Design","Dracula","Greenish","C64","PhotoStore","CorporateGreyFlat","CorporateGreyFramed","VisualDark","SteamingLife","SoftLife","GoldenBlack","Windowed","OverShiftedBlack","DarkOpaqueInverse","GrayCodz01Inverse","PurpleInverse","LightGreenInverse","DesignInverse"}
 

Typedef Documentation

◆ ImGuiPopupFlags

Definition at line 46 of file Utils.h.

◆ ImTextureID

typedef void* ImGui::ImTextureID

Definition at line 40 of file ImGuiExtensions.h.

Function Documentation

◆ CaptureMouseFromApp()

void ImGui::CaptureMouseFromApp ( )
inline

Definition at line 48 of file ImGUICustomConfig.h.

◆ ChangeStyleColors()

IMGUI_API void ImGui::ChangeStyleColors ( ImGuiStyle &  style,
float  satThresholdForInvertingLuminance,
float  shiftHue 
)

Definition at line 399 of file imguistyleserializer.cpp.

◆ ChangeStyleColorsHue()

static void ImGui::ChangeStyleColorsHue ( ImGuiStyle &  style,
float  shiftHue = 0.f 
)
inlinestatic

Definition at line 411 of file imguistyleserializer.cpp.

◆ ConvertTitleBgColFromPrevVersion()

static ImVec4 ImGui::ConvertTitleBgColFromPrevVersion ( const ImVec4 &  win_bg_col,
const ImVec4 &  title_bg_col 
)
inlinestatic

Definition at line 412 of file imguistyleserializer.cpp.

◆ CreateDefaultTabColorsFor()

static void ImGui::CreateDefaultTabColorsFor ( ImGuiStyle &  style,
ImGuiCol  baseHoveredColor = ImGuiCol_HeaderHovered,
float  hoveredLerp = 0.5f,
const ImVec2 &  tabsLerps = ImVec2(0.15f,0.8f),
const ImVec2 &  unfocusedTabsLerp = ImVec2(0.1f,0.5f) 
)
inlinestatic

Definition at line 419 of file imguistyleserializer.cpp.

◆ GetDefaultStyleNames()

IMGUI_API const char ** ImGui::GetDefaultStyleNames ( )

Definition at line 2180 of file imguistyleserializer.cpp.

◆ ImageZoomAndPan()

bool ImGui::ImageZoomAndPan ( ImTextureID  user_texture_id,
const ImVec2 &  size,
float  aspectRatio,
float &  zoom,
ImVec2 &  zoomCenter,
int  panMouseButtonDrag,
int  resetZoomAndPanMouseButton,
const ImVec2 &  zoomMaxAndZoomStep 
)

(imageSz.y*zoom);

(imageSz.y*zoom);

(imageSz.y*zoom);

(imageSz.y*zoom);

Definition at line 61 of file ImGuiExtensions.cpp.

◆ ImColorLerp()

static ImVec4 ImGui::ImColorLerp ( const ImVec4 &  a,
const ImVec4 &  b,
float  t 
)
inlinestatic

Definition at line 418 of file imguistyleserializer.cpp.

◆ InputDouble2()

bool ImGui::InputDouble2 ( const char *  label,
double  v[2],
const char *  display_format,
ImGuiInputTextFlags  extra_flags 
)

Definition at line 47 of file Utils.cpp.

◆ InputDouble3()

bool ImGui::InputDouble3 ( const char *  label,
double  v[3],
const char *  display_format,
ImGuiInputTextFlags  extra_flags 
)

Definition at line 52 of file Utils.cpp.

◆ InputDouble4()

bool ImGui::InputDouble4 ( const char *  label,
double  v[4],
const char *  display_format,
ImGuiInputTextFlags  extra_flags 
)

Definition at line 57 of file Utils.cpp.

◆ InputDoubleN()

bool ImGui::InputDoubleN ( const char *  label,
double *  v,
int  components,
const char *  display_format,
ImGuiInputTextFlags  extra_flags 
)

Definition at line 20 of file Utils.cpp.

◆ InvertStyleColors()

static void ImGui::InvertStyleColors ( ImGuiStyle &  style)
inlinestatic

Definition at line 410 of file imguistyleserializer.cpp.

◆ LoadStyle()

IMGUI_API bool ImGui::LoadStyle ( const char *  filename,
ImGuiStyle &  style 
)

Definition at line 124 of file imguistyleserializer.cpp.

◆ ResetStyle()

IMGUI_API bool ImGui::ResetStyle ( int  styleEnum,
ImGuiStyle &  style 
)

0 = FLAT APPEARENCE; 1 = MORE "3D" LOOK

Definition at line 439 of file imguistyleserializer.cpp.

◆ SaveStyle()

IMGUI_API bool ImGui::SaveStyle ( const char *  filename,
const ImGuiStyle &  style 
)

Definition at line 66 of file imguistyleserializer.cpp.

◆ SelectStyleCombo()

IMGUI_API bool ImGui::SelectStyleCombo ( const char *  label,
int *  selectedIndex,
int  maxNumItemsToDisplay,
ImGuiStyle *  styleToChange 
)

Definition at line 430 of file imguistyleserializer.cpp.

◆ SetNextFrameWantCaptureMouse()

void ImGui::SetNextFrameWantCaptureMouse ( bool  want_capture_mouse)

◆ SetScrollHere()

void ImGui::SetScrollHere ( )
inline

Definition at line 47 of file ImGUICustomConfig.h.

◆ SetScrollHereY()

void ImGui::SetScrollHereY ( float  center_y_ratio)

◆ ToggleButton()

bool ImGui::ToggleButton ( const char *  str_id,
bool *  v 
)

Definition at line 9 of file ImGuiExtensions.cpp.

Variable Documentation

◆ DefaultStyleNames

const char* ImGui::DefaultStyleNames[ImGuiStyle_Count] ={"DefaultClassic","DefaultDark","DefaultLight","Gray","Light","BlackCodz01","DarkCodz01","GrayCodz01","Purple","Cherry","DarkOpaque","Soft","EdinBlack","EdinWhite","Maya","LightGreen","Design","Dracula","Greenish","C64","PhotoStore","CorporateGreyFlat","CorporateGreyFramed","VisualDark","SteamingLife","SoftLife","GoldenBlack","Windowed","OverShiftedBlack","DarkOpaqueInverse","GrayCodz01Inverse","PurpleInverse","LightGreenInverse","DesignInverse"}
static

Definition at line 2179 of file imguistyleserializer.cpp.