mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 03:48:30 +01:00
cpp2ffi: gen_structs_and_enums declares nested struct before parent struct, if nested struct declares member of parent keep it (imnodes needs that)
This commit is contained in:
20
cimgui.h
20
cimgui.h
@@ -888,32 +888,32 @@ struct ImGuiOnceUponAFrame
|
||||
{
|
||||
int RefFrame;
|
||||
};
|
||||
struct ImGuiTextRange
|
||||
{
|
||||
const char* b;
|
||||
const char* e;
|
||||
};
|
||||
struct ImGuiTextFilter
|
||||
{
|
||||
char InputBuf[256];
|
||||
ImVector_ImGuiTextRange Filters;
|
||||
int CountGrep;
|
||||
};
|
||||
struct ImGuiTextRange
|
||||
{
|
||||
const char* b;
|
||||
const char* e;
|
||||
};
|
||||
struct ImGuiTextBuffer
|
||||
{
|
||||
ImVector_char Buf;
|
||||
};
|
||||
struct ImGuiStoragePair
|
||||
{
|
||||
ImGuiID key;
|
||||
union { int val_i; float val_f; void* val_p; };
|
||||
};
|
||||
struct ImGuiStorage
|
||||
{
|
||||
ImVector_ImGuiStoragePair Data;
|
||||
};
|
||||
typedef struct ImVector_ImGuiTabBar {int Size;int Capacity;ImGuiTabBar* Data;} ImVector_ImGuiTabBar;
|
||||
typedef struct ImPool_ImGuiTabBar {ImVector_ImGuiTabBar Buf;ImGuiStorage Map;ImPoolIdx FreeIdx;} ImPool_ImGuiTabBar;
|
||||
struct ImGuiStoragePair
|
||||
{
|
||||
ImGuiID key;
|
||||
union { int val_i; float val_f; void* val_p; };
|
||||
};
|
||||
struct ImGuiListClipper
|
||||
{
|
||||
int DisplayStart, DisplayEnd;
|
||||
|
Reference in New Issue
Block a user