|
@@ -206,6 +206,10 @@ typedef int ImGuiTooltipFlags; // -> enum ImGuiTooltipFlags_ // F
|
|
typedef int ImGuiTypingSelectFlags; // -> enum ImGuiTypingSelectFlags_ // Flags: for GetTypingSelectRequest()
|
|
typedef int ImGuiTypingSelectFlags; // -> enum ImGuiTypingSelectFlags_ // Flags: for GetTypingSelectRequest()
|
|
typedef int ImGuiWindowRefreshFlags; // -> enum ImGuiWindowRefreshFlags_ // Flags: for SetNextWindowRefreshPolicy()
|
|
typedef int ImGuiWindowRefreshFlags; // -> enum ImGuiWindowRefreshFlags_ // Flags: for SetNextWindowRefreshPolicy()
|
|
|
|
|
|
|
|
+// Table column indexing
|
|
|
|
+typedef ImS16 ImGuiTableColumnIdx;
|
|
|
|
+typedef ImU16 ImGuiTableDrawChannelIdx;
|
|
|
|
+
|
|
//-----------------------------------------------------------------------------
|
|
//-----------------------------------------------------------------------------
|
|
// [SECTION] Context pointer
|
|
// [SECTION] Context pointer
|
|
// See implementation of this variable in imgui.cpp for comments and details.
|
|
// See implementation of this variable in imgui.cpp for comments and details.
|
|
@@ -1296,6 +1300,7 @@ struct ImGuiTreeNodeStackData
|
|
ImRect NavRect; // Used for nav landing
|
|
ImRect NavRect; // Used for nav landing
|
|
float DrawLinesX1;
|
|
float DrawLinesX1;
|
|
float DrawLinesY2;
|
|
float DrawLinesY2;
|
|
|
|
+ ImGuiTableColumnIdx DrawLinesTableColumn;
|
|
};
|
|
};
|
|
|
|
|
|
// sizeof() = 20
|
|
// sizeof() = 20
|
|
@@ -2704,11 +2709,7 @@ struct IMGUI_API ImGuiTabBar
|
|
//-----------------------------------------------------------------------------
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
#define IM_COL32_DISABLE IM_COL32(0,0,0,1) // Special sentinel code which cannot be used as a regular color.
|
|
#define IM_COL32_DISABLE IM_COL32(0,0,0,1) // Special sentinel code which cannot be used as a regular color.
|
|
-#define IMGUI_TABLE_MAX_COLUMNS 512 // May be further lifted
|
|
|
|
-
|
|
|
|
-// Our current column maximum is 64 but we may raise that in the future.
|
|
|
|
-typedef ImS16 ImGuiTableColumnIdx;
|
|
|
|
-typedef ImU16 ImGuiTableDrawChannelIdx;
|
|
|
|
|
|
+#define IMGUI_TABLE_MAX_COLUMNS 512 // Arbitrary "safety" maximum, may be lifted in the future if needed. Must fit in ImGuiTableColumnIdx/ImGuiTableDrawChannelIdx.
|
|
|
|
|
|
// [Internal] sizeof() ~ 112
|
|
// [Internal] sizeof() ~ 112
|
|
// We use the terminology "Enabled" to refer to a column that is not Hidden by user/api.
|
|
// We use the terminology "Enabled" to refer to a column that is not Hidden by user/api.
|
|
@@ -3344,6 +3345,8 @@ namespace ImGui
|
|
IMGUI_API float TableGetHeaderAngledMaxLabelWidth();
|
|
IMGUI_API float TableGetHeaderAngledMaxLabelWidth();
|
|
IMGUI_API void TablePushBackgroundChannel();
|
|
IMGUI_API void TablePushBackgroundChannel();
|
|
IMGUI_API void TablePopBackgroundChannel();
|
|
IMGUI_API void TablePopBackgroundChannel();
|
|
|
|
+ IMGUI_API void TablePushColumnChannel(int column_n);
|
|
|
|
+ IMGUI_API void TablePopColumnChannel();
|
|
IMGUI_API void TableAngledHeadersRowEx(ImGuiID row_id, float angle, float max_label_width, const ImGuiTableHeaderData* data, int data_count);
|
|
IMGUI_API void TableAngledHeadersRowEx(ImGuiID row_id, float angle, float max_label_width, const ImGuiTableHeaderData* data, int data_count);
|
|
|
|
|
|
// Tables: Internals
|
|
// Tables: Internals
|