mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-12 04:38:30 +01:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
dbbac62a84 | ||
![]() |
389c1f1ad1 |
@@ -242,7 +242,7 @@ struct ImGuiStyle {
|
||||
struct ImVec2 WindowPadding;
|
||||
struct ImVec2 WindowMinSize;
|
||||
float WindowRounding;
|
||||
ImVec2 WindowTitleAlign;
|
||||
struct ImVec2 WindowTitleAlign;
|
||||
float ChildWindowRounding;
|
||||
struct ImVec2 FramePadding;
|
||||
float FrameRounding;
|
||||
@@ -255,7 +255,7 @@ struct ImGuiStyle {
|
||||
float ScrollbarRounding;
|
||||
float GrabMinSize;
|
||||
float GrabRounding;
|
||||
ImVec2 ButtonTextAlign;
|
||||
struct ImVec2 ButtonTextAlign;
|
||||
struct ImVec2 DisplayWindowPadding;
|
||||
struct ImVec2 DisplaySafeAreaPadding;
|
||||
bool AntiAliasedLines;
|
||||
@@ -280,7 +280,7 @@ struct ImGuiIO {
|
||||
struct ImFontAtlas* Fonts;
|
||||
float FontGlobalScale;
|
||||
bool FontAllowUserScaling;
|
||||
ImFont* FontDefault;
|
||||
struct ImFont* FontDefault;
|
||||
struct ImVec2 DisplayFramebufferScale;
|
||||
struct ImVec2 DisplayVisibleMin;
|
||||
struct ImVec2 DisplayVisibleMax;
|
||||
@@ -311,7 +311,7 @@ struct ImGuiIO {
|
||||
int MetricsRenderVertices;
|
||||
int MetricsRenderIndices;
|
||||
int MetricsActiveWindows;
|
||||
ImVec2 MouseDelta;
|
||||
struct ImVec2 MouseDelta;
|
||||
struct ImVec2 MousePosPrev;
|
||||
bool MouseClicked[5];
|
||||
struct ImVec2 MouseClickedPos[5];
|
||||
@@ -365,6 +365,13 @@ struct ImDrawData {
|
||||
int TotalIdxCount;
|
||||
};
|
||||
|
||||
struct ImDrawVert
|
||||
{
|
||||
struct ImVec2 pos;
|
||||
struct ImVec2 uv;
|
||||
ImU32 col;
|
||||
};
|
||||
|
||||
struct ImFontConfig {
|
||||
void* FontData;
|
||||
int FontDataSize;
|
||||
@@ -374,12 +381,19 @@ struct ImFontConfig {
|
||||
int OversampleH, OversampleV;
|
||||
bool PixelSnapH;
|
||||
struct ImVec2 GlyphExtraSpacing;
|
||||
ImVec2 GlyphOffset;
|
||||
struct ImVec2 GlyphOffset;
|
||||
const ImWchar* GlyphRanges;
|
||||
bool MergeMode;
|
||||
char Name[32];
|
||||
struct ImFont* DstFont;
|
||||
};
|
||||
|
||||
struct ImGuiListClipper
|
||||
{
|
||||
float StartPosY;
|
||||
float ItemsHeight;
|
||||
int ItemsCount, StepNo, DisplayStart, DisplayEnd;
|
||||
};
|
||||
#endif // CIMGUI_DEFINE_ENUMS_AND_STRUCTS
|
||||
|
||||
CIMGUI_API struct ImGuiIO* igGetIO();
|
||||
|
Reference in New Issue
Block a user