mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-21 16:08:30 +01:00
Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
204f2828bb | ||
![]() |
2c10d47b9a | ||
![]() |
df00156746 | ||
![]() |
553364f7d8 | ||
![]() |
14cd6715d2 | ||
![]() |
76935a7d83 | ||
![]() |
4397e9a3f1 | ||
![]() |
d44c05cbbd | ||
![]() |
ed6212bb34 | ||
![]() |
8911a5a992 | ||
![]() |
4397288459 |
@@ -11,7 +11,7 @@ History:
|
|||||||
Initially cimgui was developed by Stephan Dilly as hand-written code but lately turned into an auto-generated version by sonoro1234 in order to keep up with imgui more easily (letting the user select the desired branch and commit)
|
Initially cimgui was developed by Stephan Dilly as hand-written code but lately turned into an auto-generated version by sonoro1234 in order to keep up with imgui more easily (letting the user select the desired branch and commit)
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
* currently this wrapper is based on version [1.65 of Dear ImGui]
|
* currently this wrapper is based on version [1.66 of Dear ImGui]
|
||||||
* overloaded function names try to be the most compatible with traditional cimgui names. So all naming is algorithmic except for those names that were in conflict with widely used cimgui names and were thus coded in a table (https://github.com/cimgui/cimgui/blob/master/generator/generator.lua#L58). Current overloaded function names can be found in (https://github.com/cimgui/cimgui/blob/master/generator/output/overloads.txt)
|
* overloaded function names try to be the most compatible with traditional cimgui names. So all naming is algorithmic except for those names that were in conflict with widely used cimgui names and were thus coded in a table (https://github.com/cimgui/cimgui/blob/master/generator/generator.lua#L58). Current overloaded function names can be found in (https://github.com/cimgui/cimgui/blob/master/generator/output/overloads.txt)
|
||||||
|
|
||||||
# compilation
|
# compilation
|
||||||
|
17
cimgui.cpp
17
cimgui.cpp
@@ -1,5 +1,6 @@
|
|||||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||||
//based on imgui.h file version "1.65" from Dear ImGui https://github.com/ocornut/imgui
|
//based on imgui.h file version "1.66" from Dear ImGui https://github.com/ocornut/imgui
|
||||||
|
|
||||||
#include "./imgui/imgui.h"
|
#include "./imgui/imgui.h"
|
||||||
#include "cimgui.h"
|
#include "cimgui.h"
|
||||||
|
|
||||||
@@ -281,9 +282,9 @@ CIMGUI_API void igSetScrollY(float scroll_y)
|
|||||||
{
|
{
|
||||||
return ImGui::SetScrollY(scroll_y);
|
return ImGui::SetScrollY(scroll_y);
|
||||||
}
|
}
|
||||||
CIMGUI_API void igSetScrollHere(float center_y_ratio)
|
CIMGUI_API void igSetScrollHereY(float center_y_ratio)
|
||||||
{
|
{
|
||||||
return ImGui::SetScrollHere(center_y_ratio);
|
return ImGui::SetScrollHereY(center_y_ratio);
|
||||||
}
|
}
|
||||||
CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio)
|
CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio)
|
||||||
{
|
{
|
||||||
@@ -711,9 +712,9 @@ CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_
|
|||||||
{
|
{
|
||||||
return ImGui::SliderFloat4(label,v,v_min,v_max,format,power);
|
return ImGui::SliderFloat4(label,v,v_min,v_max,format,power);
|
||||||
}
|
}
|
||||||
CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)
|
CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max,const char* format)
|
||||||
{
|
{
|
||||||
return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max);
|
return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max,format);
|
||||||
}
|
}
|
||||||
CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format)
|
CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format)
|
||||||
{
|
{
|
||||||
@@ -1142,6 +1143,10 @@ CIMGUI_API void igEndDragDropTarget()
|
|||||||
{
|
{
|
||||||
return ImGui::EndDragDropTarget();
|
return ImGui::EndDragDropTarget();
|
||||||
}
|
}
|
||||||
|
CIMGUI_API const ImGuiPayload* igGetDragDropPayload()
|
||||||
|
{
|
||||||
|
return ImGui::GetDragDropPayload();
|
||||||
|
}
|
||||||
CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)
|
CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)
|
||||||
{
|
{
|
||||||
return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect);
|
return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect);
|
||||||
@@ -2162,7 +2167,7 @@ CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,con
|
|||||||
{
|
{
|
||||||
return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width);
|
return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width);
|
||||||
}
|
}
|
||||||
CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)
|
CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c)
|
||||||
{
|
{
|
||||||
return self->RenderChar(draw_list,size,pos,col,c);
|
return self->RenderChar(draw_list,size,pos,col,c);
|
||||||
}
|
}
|
||||||
|
21
cimgui.h
21
cimgui.h
@@ -1,5 +1,7 @@
|
|||||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||||
//based on imgui.h file version "1.65" from Dear ImGui https://github.com/ocornut/imgui
|
//based on imgui.h file version "1.66" from Dear ImGui https://github.com/ocornut/imgui
|
||||||
|
#ifndef CIMGUI_INCLUDED
|
||||||
|
#define CIMGUI_INCLUDED
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#if defined _WIN32 || defined __CYGWIN__
|
#if defined _WIN32 || defined __CYGWIN__
|
||||||
@@ -140,8 +142,9 @@ enum ImGuiWindowFlags_
|
|||||||
ImGuiWindowFlags_NoScrollWithMouse = 1 << 4,
|
ImGuiWindowFlags_NoScrollWithMouse = 1 << 4,
|
||||||
ImGuiWindowFlags_NoCollapse = 1 << 5,
|
ImGuiWindowFlags_NoCollapse = 1 << 5,
|
||||||
ImGuiWindowFlags_AlwaysAutoResize = 1 << 6,
|
ImGuiWindowFlags_AlwaysAutoResize = 1 << 6,
|
||||||
|
ImGuiWindowFlags_NoBackground = 1 << 7,
|
||||||
ImGuiWindowFlags_NoSavedSettings = 1 << 8,
|
ImGuiWindowFlags_NoSavedSettings = 1 << 8,
|
||||||
ImGuiWindowFlags_NoInputs = 1 << 9,
|
ImGuiWindowFlags_NoMouseInputs = 1 << 9,
|
||||||
ImGuiWindowFlags_MenuBar = 1 << 10,
|
ImGuiWindowFlags_MenuBar = 1 << 10,
|
||||||
ImGuiWindowFlags_HorizontalScrollbar = 1 << 11,
|
ImGuiWindowFlags_HorizontalScrollbar = 1 << 11,
|
||||||
ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12,
|
ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12,
|
||||||
@@ -152,6 +155,8 @@ enum ImGuiWindowFlags_
|
|||||||
ImGuiWindowFlags_NoNavInputs = 1 << 18,
|
ImGuiWindowFlags_NoNavInputs = 1 << 18,
|
||||||
ImGuiWindowFlags_NoNavFocus = 1 << 19,
|
ImGuiWindowFlags_NoNavFocus = 1 << 19,
|
||||||
ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
|
ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
|
||||||
|
ImGuiWindowFlags_NoDecoration = ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse,
|
||||||
|
ImGuiWindowFlags_NoInputs = ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
|
||||||
ImGuiWindowFlags_NavFlattened = 1 << 23,
|
ImGuiWindowFlags_NavFlattened = 1 << 23,
|
||||||
ImGuiWindowFlags_ChildWindow = 1 << 24,
|
ImGuiWindowFlags_ChildWindow = 1 << 24,
|
||||||
ImGuiWindowFlags_Tooltip = 1 << 25,
|
ImGuiWindowFlags_Tooltip = 1 << 25,
|
||||||
@@ -580,7 +585,6 @@ typedef struct ImVector_CustomRect {int Size;int Capacity;CustomRect* Data;} ImV
|
|||||||
typedef struct ImVector_ImDrawChannel {int Size;int Capacity;ImDrawChannel* Data;} ImVector_ImDrawChannel;
|
typedef struct ImVector_ImDrawChannel {int Size;int Capacity;ImDrawChannel* Data;} ImVector_ImDrawChannel;
|
||||||
typedef struct ImVector_char {int Size;int Capacity;char* Data;} ImVector_char;
|
typedef struct ImVector_char {int Size;int Capacity;char* Data;} ImVector_char;
|
||||||
typedef struct ImVector_ImTextureID {int Size;int Capacity;ImTextureID* Data;} ImVector_ImTextureID;
|
typedef struct ImVector_ImTextureID {int Size;int Capacity;ImTextureID* Data;} ImVector_ImTextureID;
|
||||||
typedef struct ImVector_unsigned_short {int Size;int Capacity;unsigned short* Data;} ImVector_unsigned_short;
|
|
||||||
typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert;
|
typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert;
|
||||||
typedef struct ImVector_ImDrawCmd {int Size;int Capacity;ImDrawCmd* Data;} ImVector_ImDrawCmd;
|
typedef struct ImVector_ImDrawCmd {int Size;int Capacity;ImDrawCmd* Data;} ImVector_ImDrawCmd;
|
||||||
typedef struct ImVector_ImFontPtr {int Size;int Capacity;ImFont** Data;} ImVector_ImFontPtr;
|
typedef struct ImVector_ImFontPtr {int Size;int Capacity;ImFont** Data;} ImVector_ImFontPtr;
|
||||||
@@ -588,7 +592,6 @@ typedef struct ImVector_TextRange {int Size;int Capacity;TextRange* Data;} ImVec
|
|||||||
typedef struct ImVector_ImVec4 {int Size;int Capacity;ImVec4* Data;} ImVector_ImVec4;
|
typedef struct ImVector_ImVec4 {int Size;int Capacity;ImVec4* Data;} ImVector_ImVec4;
|
||||||
typedef struct ImVector_ImDrawIdx {int Size;int Capacity;ImDrawIdx* Data;} ImVector_ImDrawIdx;
|
typedef struct ImVector_ImDrawIdx {int Size;int Capacity;ImDrawIdx* Data;} ImVector_ImDrawIdx;
|
||||||
typedef struct ImVector_ImVec2 {int Size;int Capacity;ImVec2* Data;} ImVector_ImVec2;
|
typedef struct ImVector_ImVec2 {int Size;int Capacity;ImVec2* Data;} ImVector_ImVec2;
|
||||||
struct ImNewDummy {};
|
|
||||||
struct ImGuiOnceUponAFrame
|
struct ImGuiOnceUponAFrame
|
||||||
{
|
{
|
||||||
int RefFrame;
|
int RefFrame;
|
||||||
@@ -774,7 +777,7 @@ struct ImFont
|
|||||||
ImVec2 DisplayOffset;
|
ImVec2 DisplayOffset;
|
||||||
ImVector_ImFontGlyph Glyphs;
|
ImVector_ImFontGlyph Glyphs;
|
||||||
ImVector_float IndexAdvanceX;
|
ImVector_float IndexAdvanceX;
|
||||||
ImVector_unsigned_short IndexLookup;
|
ImVector_ImWchar IndexLookup;
|
||||||
const ImFontGlyph* FallbackGlyph;
|
const ImFontGlyph* FallbackGlyph;
|
||||||
float FallbackAdvanceX;
|
float FallbackAdvanceX;
|
||||||
ImWchar FallbackChar;
|
ImWchar FallbackChar;
|
||||||
@@ -914,7 +917,7 @@ CIMGUI_API float igGetScrollMaxX(void);
|
|||||||
CIMGUI_API float igGetScrollMaxY(void);
|
CIMGUI_API float igGetScrollMaxY(void);
|
||||||
CIMGUI_API void igSetScrollX(float scroll_x);
|
CIMGUI_API void igSetScrollX(float scroll_x);
|
||||||
CIMGUI_API void igSetScrollY(float scroll_y);
|
CIMGUI_API void igSetScrollY(float scroll_y);
|
||||||
CIMGUI_API void igSetScrollHere(float center_y_ratio);
|
CIMGUI_API void igSetScrollHereY(float center_y_ratio);
|
||||||
CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio);
|
CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio);
|
||||||
CIMGUI_API void igPushFont(ImFont* font);
|
CIMGUI_API void igPushFont(ImFont* font);
|
||||||
CIMGUI_API void igPopFont(void);
|
CIMGUI_API void igPopFont(void);
|
||||||
@@ -1017,7 +1020,7 @@ CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max
|
|||||||
CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power);
|
CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power);
|
||||||
CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power);
|
CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power);
|
||||||
CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power);
|
CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power);
|
||||||
CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max);
|
CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max,const char* format);
|
||||||
CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format);
|
CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format);
|
||||||
CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format);
|
CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format);
|
||||||
CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format);
|
CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format);
|
||||||
@@ -1120,6 +1123,7 @@ CIMGUI_API void igEndDragDropSource(void);
|
|||||||
CIMGUI_API bool igBeginDragDropTarget(void);
|
CIMGUI_API bool igBeginDragDropTarget(void);
|
||||||
CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags);
|
CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags);
|
||||||
CIMGUI_API void igEndDragDropTarget(void);
|
CIMGUI_API void igEndDragDropTarget(void);
|
||||||
|
CIMGUI_API const ImGuiPayload* igGetDragDropPayload(void);
|
||||||
CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect);
|
CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect);
|
||||||
CIMGUI_API void igPopClipRect(void);
|
CIMGUI_API void igPopClipRect(void);
|
||||||
CIMGUI_API void igSetItemDefaultFocus(void);
|
CIMGUI_API void igSetItemDefaultFocus(void);
|
||||||
@@ -1375,7 +1379,7 @@ CIMGUI_API bool ImFont_IsLoaded(ImFont* self);
|
|||||||
CIMGUI_API const char* ImFont_GetDebugName(ImFont* self);
|
CIMGUI_API const char* ImFont_GetDebugName(ImFont* self);
|
||||||
CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining);
|
CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining);
|
||||||
CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width);
|
CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width);
|
||||||
CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c);
|
CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c);
|
||||||
CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip);
|
CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip);
|
||||||
CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size);
|
CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size);
|
||||||
CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x);
|
CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x);
|
||||||
@@ -1441,6 +1445,7 @@ CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create();
|
|||||||
CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* p);
|
CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* p);
|
||||||
CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p);
|
CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p);
|
||||||
CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p);
|
CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p);
|
||||||
|
#endif //CIMGUI_INCLUDED
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
|
#ifndef CIMGUI_INCLUDED
|
||||||
|
#define CIMGUI_INCLUDED
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#if defined _WIN32 || defined __CYGWIN__
|
#if defined _WIN32 || defined __CYGWIN__
|
||||||
@@ -85,6 +86,7 @@ CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create();
|
|||||||
CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* p);
|
CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* p);
|
||||||
CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p);
|
CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p);
|
||||||
CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p);
|
CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p);
|
||||||
|
#endif //CIMGUI_INCLUDED
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -94,7 +94,8 @@ local cimgui_overloads = {
|
|||||||
--------------------------header definitions
|
--------------------------header definitions
|
||||||
local cimgui_header =
|
local cimgui_header =
|
||||||
[[//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
[[//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||||
//based on imgui.h file version XXX from Dear ImGui https://github.com/ocornut/imgui]]
|
//based on imgui.h file version XXX from Dear ImGui https://github.com/ocornut/imgui
|
||||||
|
]]
|
||||||
local gdefines = {} --for FLT_MAX and others
|
local gdefines = {} --for FLT_MAX and others
|
||||||
--------------------------------------------------------------------------
|
--------------------------------------------------------------------------
|
||||||
--helper functions
|
--helper functions
|
||||||
@@ -139,11 +140,7 @@ local prepro = {
|
|||||||
[ "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" ]=false,
|
[ "IMGUI_DISABLE_OBSOLETE_FUNCTIONS" ]=false,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
--only one case is true
|
|
||||||
local function prepro_boolifBAK(line)
|
|
||||||
local ma = line:match("#ifndef%s+IMGUI_OVERRIDE_DRAWVERT_STRUCT_LAYOUT") or line:match("#ifndef%s+ImTextureID")
|
|
||||||
return not (ma==nil)
|
|
||||||
end
|
|
||||||
local function prepro_boolif(pre,cond)
|
local function prepro_boolif(pre,cond)
|
||||||
local conds = prepro[pre]
|
local conds = prepro[pre]
|
||||||
assert(conds,pre.." has no conds-----------------------------")
|
assert(conds,pre.." has no conds-----------------------------")
|
||||||
@@ -414,6 +411,10 @@ local function struct_parser()
|
|||||||
table.insert(structcdefs,line)
|
table.insert(structcdefs,line)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
if line:match"^%s*static char" then
|
||||||
|
assert(line:match"EmptyString",line)
|
||||||
|
return --skip that static chat EmtyString
|
||||||
|
end
|
||||||
|
|
||||||
--if in_function discard
|
--if in_function discard
|
||||||
if in_functionst then
|
if in_functionst then
|
||||||
@@ -1065,14 +1066,11 @@ local function gen_structs_and_enums_table(cdefs)
|
|||||||
return outtab, typedefs_dict
|
return outtab, typedefs_dict
|
||||||
end
|
end
|
||||||
|
|
||||||
local function generate_templates(code,templates,typedefs)
|
local function generate_templates(code,templates)
|
||||||
for k,v in pairs(templates) do
|
for k,v in pairs(templates) do
|
||||||
--[[typedef struct ImVector{int Size;int Capacity;void* Data;} ImVector;]]
|
|
||||||
local te = k:gsub("%s","_")
|
local te = k:gsub("%s","_")
|
||||||
te = te:gsub("%*","Ptr")
|
te = te:gsub("%*","Ptr")
|
||||||
--table.insert(code,"typedef struct ImVector_"..te.." {int Size;int Capacity;"..k.."* Data;} ImVector_"..te..";\n")
|
|
||||||
table.insert(code,"typedef struct ImVector_"..te.." {int Size;int Capacity;"..k.."* Data;} ImVector_"..te..";\n")
|
table.insert(code,"typedef struct ImVector_"..te.." {int Size;int Capacity;"..k.."* Data;} ImVector_"..te..";\n")
|
||||||
--table.insert(typedefs,"typedef struct ImVector_"..te.." ImVector_"..te..";\n")
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -1088,7 +1086,6 @@ local function gen_structs_and_enums(cdefs,templates)
|
|||||||
local innerstructs = {}
|
local innerstructs = {}
|
||||||
local typedefs_table = {}
|
local typedefs_table = {}
|
||||||
local typedefs_dict = {}
|
local typedefs_dict = {}
|
||||||
local linetypedefs = 1 --math.huge
|
|
||||||
local outtab = {}
|
local outtab = {}
|
||||||
-- Output the file
|
-- Output the file
|
||||||
--table.insert(outtab,"/////////////// BEGIN AUTOGENERATED SEGMENT\n")
|
--table.insert(outtab,"/////////////// BEGIN AUTOGENERATED SEGMENT\n")
|
||||||
@@ -1101,7 +1098,10 @@ local function gen_structs_and_enums(cdefs,templates)
|
|||||||
local desired_linelen = (linelen==0) and 0 or math.max(math.ceil(linelen/10)*10,40)
|
local desired_linelen = (linelen==0) and 0 or math.max(math.ceil(linelen/10)*10,40)
|
||||||
local spaces_to_add = 0 --desired_linelen - linelen
|
local spaces_to_add = 0 --desired_linelen - linelen
|
||||||
local linecom = line..string.rep(" ",spaces_to_add)..comment
|
local linecom = line..string.rep(" ",spaces_to_add)..comment
|
||||||
|
|
||||||
|
-- ImNewDummy drop for MSVC
|
||||||
|
if line:match"ImNewDummy" then break end
|
||||||
|
|
||||||
if line:match(namespace_re) then
|
if line:match(namespace_re) then
|
||||||
in_namespace = true
|
in_namespace = true
|
||||||
end
|
end
|
||||||
@@ -1113,12 +1113,12 @@ local function gen_structs_and_enums(cdefs,templates)
|
|||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- ImVector special treatment
|
-- ImVector special treatment
|
||||||
if structnames[#structnames] == "ImVector" then
|
if structnames[#structnames] == "ImVector" then
|
||||||
if line:match(struct_closing_re) then
|
if line:match(struct_closing_re) then
|
||||||
table.insert(outtab,[[typedef struct ImVector{int Size;int Capacity;void* Data;} ImVector;]].."\n")
|
table.insert(outtab,[[typedef struct ImVector{int Size;int Capacity;void* Data;} ImVector;]].."\n")
|
||||||
generate_templates(outtab,templates,typedefs_table)
|
generate_templates(outtab,templates)
|
||||||
structnames[#structnames] = nil
|
structnames[#structnames] = nil
|
||||||
end
|
end
|
||||||
break -- dont write
|
break -- dont write
|
||||||
@@ -1134,7 +1134,6 @@ local function gen_structs_and_enums(cdefs,templates)
|
|||||||
if #structnames < 2 then -- not inner
|
if #structnames < 2 then -- not inner
|
||||||
if line:match("typedef") and line:match("ImDrawIdx") then --save typedefs of ImDrawIdx
|
if line:match("typedef") and line:match("ImDrawIdx") then --save typedefs of ImDrawIdx
|
||||||
table.insert(typedefs_table,line..";\n")
|
table.insert(typedefs_table,line..";\n")
|
||||||
--linetypedefs = math.min(linetypedefs,#outtab)
|
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
if (#structnames > 0) then
|
if (#structnames > 0) then
|
||||||
@@ -1148,7 +1147,6 @@ local function gen_structs_and_enums(cdefs,templates)
|
|||||||
local struct_closed_name = line:match(struct_closed_re)
|
local struct_closed_name = line:match(struct_closed_re)
|
||||||
if struct_closed_name then
|
if struct_closed_name then
|
||||||
table.insert(typedefs_table,"typedef struct "..struct_closed_name.." "..struct_closed_name..";\n")
|
table.insert(typedefs_table,"typedef struct "..struct_closed_name.." "..struct_closed_name..";\n")
|
||||||
--linetypedefs = math.min(linetypedefs,#outtab)
|
|
||||||
typedefs_dict[struct_closed_name] = "struct "..struct_closed_name
|
typedefs_dict[struct_closed_name] = "struct "..struct_closed_name
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -1165,7 +1163,6 @@ local function gen_structs_and_enums(cdefs,templates)
|
|||||||
local structname = structnames[#structnames]
|
local structname = structnames[#structnames]
|
||||||
--st[#st + 1] = string.format("typedef struct %s %s;\n",structname,structname)
|
--st[#st + 1] = string.format("typedef struct %s %s;\n",structname,structname)
|
||||||
table.insert(typedefs_table,string.format("typedef struct %s %s;\n",structname,structname))
|
table.insert(typedefs_table,string.format("typedef struct %s %s;\n",structname,structname))
|
||||||
--linetypedefs = math.min(linetypedefs,#outtab)
|
|
||||||
typedefs_dict[structname] = "struct "..structname
|
typedefs_dict[structname] = "struct "..structname
|
||||||
structnames[#structnames] = nil
|
structnames[#structnames] = nil
|
||||||
end
|
end
|
||||||
@@ -1173,7 +1170,6 @@ local function gen_structs_and_enums(cdefs,templates)
|
|||||||
local structname = structnames[#structnames]
|
local structname = structnames[#structnames]
|
||||||
--table.insert(outtab,"typedef struct "..structname.." "..structname..";\n")
|
--table.insert(outtab,"typedef struct "..structname.." "..structname..";\n")
|
||||||
table.insert(typedefs_table,"typedef struct "..structname.." "..structname..";\n")
|
table.insert(typedefs_table,"typedef struct "..structname.." "..structname..";\n")
|
||||||
--linetypedefs = math.min(linetypedefs,#outtab)
|
|
||||||
typedefs_dict[structname] = "struct "..structname
|
typedefs_dict[structname] = "struct "..structname
|
||||||
structnames[#structnames] = nil
|
structnames[#structnames] = nil
|
||||||
end
|
end
|
||||||
@@ -1193,9 +1189,10 @@ local function gen_structs_and_enums(cdefs,templates)
|
|||||||
for i,l in ipairs(typedefs_table) do
|
for i,l in ipairs(typedefs_table) do
|
||||||
if not uniques[l] then
|
if not uniques[l] then
|
||||||
uniques[l] = true
|
uniques[l] = true
|
||||||
table.insert(outtab,linetypedefs,l)
|
table.insert(outtab,1,l)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
--if templates then generate_templates(outtab,templates) end
|
||||||
local cstructsstr = table.concat(outtab)
|
local cstructsstr = table.concat(outtab)
|
||||||
cstructsstr = cstructsstr:gsub("\n+","\n") --several empty lines to one empty line
|
cstructsstr = cstructsstr:gsub("\n+","\n") --several empty lines to one empty line
|
||||||
return cstructsstr, typedefs_dict
|
return cstructsstr, typedefs_dict
|
||||||
@@ -1451,11 +1448,11 @@ local function DefsByStruct(FP)
|
|||||||
for fun,defs in pairs(FP.defsT) do
|
for fun,defs in pairs(FP.defsT) do
|
||||||
local stname = defs[1].stname
|
local stname = defs[1].stname
|
||||||
structs[stname] = structs[stname] or {}
|
structs[stname] = structs[stname] or {}
|
||||||
table.insert(structs[stname],fun)
|
table.insert(structs[stname],defs)--fun)
|
||||||
end
|
|
||||||
for st,funs in pairs(struct) do
|
|
||||||
struct[st] = table.sort(funs)
|
|
||||||
end
|
end
|
||||||
|
-- for st,funs in pairs(struct) do
|
||||||
|
-- struct[st] = table.sort(funs)
|
||||||
|
-- end
|
||||||
FP.defsBystruct = struct
|
FP.defsBystruct = struct
|
||||||
end
|
end
|
||||||
local function AdjustArguments(FP)
|
local function AdjustArguments(FP)
|
||||||
@@ -1557,7 +1554,7 @@ local ovstr = pFP:compute_overloads()
|
|||||||
AdjustArguments(pFP)
|
AdjustArguments(pFP)
|
||||||
ADDnonUDT(pFP)
|
ADDnonUDT(pFP)
|
||||||
ADDdestructors(pFP)
|
ADDdestructors(pFP)
|
||||||
--DefsByStruct(pFP)
|
|
||||||
save_data("./output/overloads.txt",ovstr)
|
save_data("./output/overloads.txt",ovstr)
|
||||||
typedefs_dict2 = cimgui_generation("",pSTP,pFP)
|
typedefs_dict2 = cimgui_generation("",pSTP,pFP)
|
||||||
--check arg detection failure if no name in function declaration
|
--check arg detection failure if no name in function declaration
|
||||||
@@ -1565,6 +1562,7 @@ check_arg_detection(pFP.defsT,typedefs_dict2)
|
|||||||
|
|
||||||
|
|
||||||
----------save fundefs in definitions.lua for using in bindings
|
----------save fundefs in definitions.lua for using in bindings
|
||||||
|
--DefsByStruct(pFP)
|
||||||
set_defines(pFP.defsT)
|
set_defines(pFP.defsT)
|
||||||
save_data("./output/definitions.lua",serializeTable("defs",pFP.defsT),"\nreturn defs")
|
save_data("./output/definitions.lua",serializeTable("defs",pFP.defsT),"\nreturn defs")
|
||||||
|
|
||||||
|
@@ -82,7 +82,7 @@ local function encode_table(val, stack)
|
|||||||
table.insert(res, encode(v, stack))
|
table.insert(res, encode(v, stack))
|
||||||
end
|
end
|
||||||
stack[val] = nil
|
stack[val] = nil
|
||||||
return "[" .. table.concat(res, ",") .. "]"
|
return "[" .. table.concat(res, ",\n") .. "]"
|
||||||
|
|
||||||
else
|
else
|
||||||
-- Treat as an object
|
-- Treat as an object
|
||||||
@@ -93,7 +93,7 @@ local function encode_table(val, stack)
|
|||||||
table.insert(res, encode(k, stack) .. ":" .. encode(v, stack))
|
table.insert(res, encode(k, stack) .. ":" .. encode(v, stack))
|
||||||
end
|
end
|
||||||
stack[val] = nil
|
stack[val] = nil
|
||||||
return "{" .. table.concat(res, ",") .. "}"
|
return "{" .. table.concat(res, ",\n") .. "}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||||
//based on imgui.h file version "1.65" from Dear ImGui https://github.com/ocornut/imgui
|
//based on imgui.h file version "1.66" from Dear ImGui https://github.com/ocornut/imgui
|
||||||
|
|
||||||
#include "./imgui/imgui.h"
|
#include "./imgui/imgui.h"
|
||||||
#include "cimgui.h"
|
#include "cimgui.h"
|
||||||
|
|
||||||
@@ -281,9 +282,9 @@ CIMGUI_API void igSetScrollY(float scroll_y)
|
|||||||
{
|
{
|
||||||
return ImGui::SetScrollY(scroll_y);
|
return ImGui::SetScrollY(scroll_y);
|
||||||
}
|
}
|
||||||
CIMGUI_API void igSetScrollHere(float center_y_ratio)
|
CIMGUI_API void igSetScrollHereY(float center_y_ratio)
|
||||||
{
|
{
|
||||||
return ImGui::SetScrollHere(center_y_ratio);
|
return ImGui::SetScrollHereY(center_y_ratio);
|
||||||
}
|
}
|
||||||
CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio)
|
CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio)
|
||||||
{
|
{
|
||||||
@@ -711,9 +712,9 @@ CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_
|
|||||||
{
|
{
|
||||||
return ImGui::SliderFloat4(label,v,v_min,v_max,format,power);
|
return ImGui::SliderFloat4(label,v,v_min,v_max,format,power);
|
||||||
}
|
}
|
||||||
CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)
|
CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max,const char* format)
|
||||||
{
|
{
|
||||||
return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max);
|
return ImGui::SliderAngle(label,v_rad,v_degrees_min,v_degrees_max,format);
|
||||||
}
|
}
|
||||||
CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format)
|
CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format)
|
||||||
{
|
{
|
||||||
@@ -1142,6 +1143,10 @@ CIMGUI_API void igEndDragDropTarget()
|
|||||||
{
|
{
|
||||||
return ImGui::EndDragDropTarget();
|
return ImGui::EndDragDropTarget();
|
||||||
}
|
}
|
||||||
|
CIMGUI_API const ImGuiPayload* igGetDragDropPayload()
|
||||||
|
{
|
||||||
|
return ImGui::GetDragDropPayload();
|
||||||
|
}
|
||||||
CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)
|
CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect)
|
||||||
{
|
{
|
||||||
return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect);
|
return ImGui::PushClipRect(clip_rect_min,clip_rect_max,intersect_with_current_clip_rect);
|
||||||
@@ -2162,7 +2167,7 @@ CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,con
|
|||||||
{
|
{
|
||||||
return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width);
|
return self->CalcWordWrapPositionA(scale,text,text_end,wrap_width);
|
||||||
}
|
}
|
||||||
CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)
|
CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c)
|
||||||
{
|
{
|
||||||
return self->RenderChar(draw_list,size,pos,col,c);
|
return self->RenderChar(draw_list,size,pos,col,c);
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
//This file is automatically generated by generator.lua from https://github.com/cimgui/cimgui
|
||||||
//based on imgui.h file version "1.65" from Dear ImGui https://github.com/ocornut/imgui
|
//based on imgui.h file version "1.66" from Dear ImGui https://github.com/ocornut/imgui
|
||||||
|
#ifndef CIMGUI_INCLUDED
|
||||||
|
#define CIMGUI_INCLUDED
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#if defined _WIN32 || defined __CYGWIN__
|
#if defined _WIN32 || defined __CYGWIN__
|
||||||
@@ -140,8 +142,9 @@ enum ImGuiWindowFlags_
|
|||||||
ImGuiWindowFlags_NoScrollWithMouse = 1 << 4,
|
ImGuiWindowFlags_NoScrollWithMouse = 1 << 4,
|
||||||
ImGuiWindowFlags_NoCollapse = 1 << 5,
|
ImGuiWindowFlags_NoCollapse = 1 << 5,
|
||||||
ImGuiWindowFlags_AlwaysAutoResize = 1 << 6,
|
ImGuiWindowFlags_AlwaysAutoResize = 1 << 6,
|
||||||
|
ImGuiWindowFlags_NoBackground = 1 << 7,
|
||||||
ImGuiWindowFlags_NoSavedSettings = 1 << 8,
|
ImGuiWindowFlags_NoSavedSettings = 1 << 8,
|
||||||
ImGuiWindowFlags_NoInputs = 1 << 9,
|
ImGuiWindowFlags_NoMouseInputs = 1 << 9,
|
||||||
ImGuiWindowFlags_MenuBar = 1 << 10,
|
ImGuiWindowFlags_MenuBar = 1 << 10,
|
||||||
ImGuiWindowFlags_HorizontalScrollbar = 1 << 11,
|
ImGuiWindowFlags_HorizontalScrollbar = 1 << 11,
|
||||||
ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12,
|
ImGuiWindowFlags_NoFocusOnAppearing = 1 << 12,
|
||||||
@@ -152,6 +155,8 @@ enum ImGuiWindowFlags_
|
|||||||
ImGuiWindowFlags_NoNavInputs = 1 << 18,
|
ImGuiWindowFlags_NoNavInputs = 1 << 18,
|
||||||
ImGuiWindowFlags_NoNavFocus = 1 << 19,
|
ImGuiWindowFlags_NoNavFocus = 1 << 19,
|
||||||
ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
|
ImGuiWindowFlags_NoNav = ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
|
||||||
|
ImGuiWindowFlags_NoDecoration = ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse,
|
||||||
|
ImGuiWindowFlags_NoInputs = ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus,
|
||||||
ImGuiWindowFlags_NavFlattened = 1 << 23,
|
ImGuiWindowFlags_NavFlattened = 1 << 23,
|
||||||
ImGuiWindowFlags_ChildWindow = 1 << 24,
|
ImGuiWindowFlags_ChildWindow = 1 << 24,
|
||||||
ImGuiWindowFlags_Tooltip = 1 << 25,
|
ImGuiWindowFlags_Tooltip = 1 << 25,
|
||||||
@@ -580,7 +585,6 @@ typedef struct ImVector_CustomRect {int Size;int Capacity;CustomRect* Data;} ImV
|
|||||||
typedef struct ImVector_ImDrawChannel {int Size;int Capacity;ImDrawChannel* Data;} ImVector_ImDrawChannel;
|
typedef struct ImVector_ImDrawChannel {int Size;int Capacity;ImDrawChannel* Data;} ImVector_ImDrawChannel;
|
||||||
typedef struct ImVector_char {int Size;int Capacity;char* Data;} ImVector_char;
|
typedef struct ImVector_char {int Size;int Capacity;char* Data;} ImVector_char;
|
||||||
typedef struct ImVector_ImTextureID {int Size;int Capacity;ImTextureID* Data;} ImVector_ImTextureID;
|
typedef struct ImVector_ImTextureID {int Size;int Capacity;ImTextureID* Data;} ImVector_ImTextureID;
|
||||||
typedef struct ImVector_unsigned_short {int Size;int Capacity;unsigned short* Data;} ImVector_unsigned_short;
|
|
||||||
typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert;
|
typedef struct ImVector_ImDrawVert {int Size;int Capacity;ImDrawVert* Data;} ImVector_ImDrawVert;
|
||||||
typedef struct ImVector_ImDrawCmd {int Size;int Capacity;ImDrawCmd* Data;} ImVector_ImDrawCmd;
|
typedef struct ImVector_ImDrawCmd {int Size;int Capacity;ImDrawCmd* Data;} ImVector_ImDrawCmd;
|
||||||
typedef struct ImVector_ImFontPtr {int Size;int Capacity;ImFont** Data;} ImVector_ImFontPtr;
|
typedef struct ImVector_ImFontPtr {int Size;int Capacity;ImFont** Data;} ImVector_ImFontPtr;
|
||||||
@@ -588,7 +592,6 @@ typedef struct ImVector_TextRange {int Size;int Capacity;TextRange* Data;} ImVec
|
|||||||
typedef struct ImVector_ImVec4 {int Size;int Capacity;ImVec4* Data;} ImVector_ImVec4;
|
typedef struct ImVector_ImVec4 {int Size;int Capacity;ImVec4* Data;} ImVector_ImVec4;
|
||||||
typedef struct ImVector_ImDrawIdx {int Size;int Capacity;ImDrawIdx* Data;} ImVector_ImDrawIdx;
|
typedef struct ImVector_ImDrawIdx {int Size;int Capacity;ImDrawIdx* Data;} ImVector_ImDrawIdx;
|
||||||
typedef struct ImVector_ImVec2 {int Size;int Capacity;ImVec2* Data;} ImVector_ImVec2;
|
typedef struct ImVector_ImVec2 {int Size;int Capacity;ImVec2* Data;} ImVector_ImVec2;
|
||||||
struct ImNewDummy {};
|
|
||||||
struct ImGuiOnceUponAFrame
|
struct ImGuiOnceUponAFrame
|
||||||
{
|
{
|
||||||
int RefFrame;
|
int RefFrame;
|
||||||
@@ -774,7 +777,7 @@ struct ImFont
|
|||||||
ImVec2 DisplayOffset;
|
ImVec2 DisplayOffset;
|
||||||
ImVector_ImFontGlyph Glyphs;
|
ImVector_ImFontGlyph Glyphs;
|
||||||
ImVector_float IndexAdvanceX;
|
ImVector_float IndexAdvanceX;
|
||||||
ImVector_unsigned_short IndexLookup;
|
ImVector_ImWchar IndexLookup;
|
||||||
const ImFontGlyph* FallbackGlyph;
|
const ImFontGlyph* FallbackGlyph;
|
||||||
float FallbackAdvanceX;
|
float FallbackAdvanceX;
|
||||||
ImWchar FallbackChar;
|
ImWchar FallbackChar;
|
||||||
@@ -914,7 +917,7 @@ CIMGUI_API float igGetScrollMaxX(void);
|
|||||||
CIMGUI_API float igGetScrollMaxY(void);
|
CIMGUI_API float igGetScrollMaxY(void);
|
||||||
CIMGUI_API void igSetScrollX(float scroll_x);
|
CIMGUI_API void igSetScrollX(float scroll_x);
|
||||||
CIMGUI_API void igSetScrollY(float scroll_y);
|
CIMGUI_API void igSetScrollY(float scroll_y);
|
||||||
CIMGUI_API void igSetScrollHere(float center_y_ratio);
|
CIMGUI_API void igSetScrollHereY(float center_y_ratio);
|
||||||
CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio);
|
CIMGUI_API void igSetScrollFromPosY(float pos_y,float center_y_ratio);
|
||||||
CIMGUI_API void igPushFont(ImFont* font);
|
CIMGUI_API void igPushFont(ImFont* font);
|
||||||
CIMGUI_API void igPopFont(void);
|
CIMGUI_API void igPopFont(void);
|
||||||
@@ -1017,7 +1020,7 @@ CIMGUI_API bool igSliderFloat(const char* label,float* v,float v_min,float v_max
|
|||||||
CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power);
|
CIMGUI_API bool igSliderFloat2(const char* label,float v[2],float v_min,float v_max,const char* format,float power);
|
||||||
CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power);
|
CIMGUI_API bool igSliderFloat3(const char* label,float v[3],float v_min,float v_max,const char* format,float power);
|
||||||
CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power);
|
CIMGUI_API bool igSliderFloat4(const char* label,float v[4],float v_min,float v_max,const char* format,float power);
|
||||||
CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max);
|
CIMGUI_API bool igSliderAngle(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max,const char* format);
|
||||||
CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format);
|
CIMGUI_API bool igSliderInt(const char* label,int* v,int v_min,int v_max,const char* format);
|
||||||
CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format);
|
CIMGUI_API bool igSliderInt2(const char* label,int v[2],int v_min,int v_max,const char* format);
|
||||||
CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format);
|
CIMGUI_API bool igSliderInt3(const char* label,int v[3],int v_min,int v_max,const char* format);
|
||||||
@@ -1120,6 +1123,7 @@ CIMGUI_API void igEndDragDropSource(void);
|
|||||||
CIMGUI_API bool igBeginDragDropTarget(void);
|
CIMGUI_API bool igBeginDragDropTarget(void);
|
||||||
CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags);
|
CIMGUI_API const ImGuiPayload* igAcceptDragDropPayload(const char* type,ImGuiDragDropFlags flags);
|
||||||
CIMGUI_API void igEndDragDropTarget(void);
|
CIMGUI_API void igEndDragDropTarget(void);
|
||||||
|
CIMGUI_API const ImGuiPayload* igGetDragDropPayload(void);
|
||||||
CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect);
|
CIMGUI_API void igPushClipRect(const ImVec2 clip_rect_min,const ImVec2 clip_rect_max,bool intersect_with_current_clip_rect);
|
||||||
CIMGUI_API void igPopClipRect(void);
|
CIMGUI_API void igPopClipRect(void);
|
||||||
CIMGUI_API void igSetItemDefaultFocus(void);
|
CIMGUI_API void igSetItemDefaultFocus(void);
|
||||||
@@ -1375,7 +1379,7 @@ CIMGUI_API bool ImFont_IsLoaded(ImFont* self);
|
|||||||
CIMGUI_API const char* ImFont_GetDebugName(ImFont* self);
|
CIMGUI_API const char* ImFont_GetDebugName(ImFont* self);
|
||||||
CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining);
|
CIMGUI_API ImVec2 ImFont_CalcTextSizeA(ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining);
|
||||||
CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width);
|
CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width);
|
||||||
CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c);
|
CIMGUI_API void ImFont_RenderChar(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c);
|
||||||
CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip);
|
CIMGUI_API void ImFont_RenderText(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip);
|
||||||
CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size);
|
CIMGUI_API void ImFont_GrowIndex(ImFont* self,int new_size);
|
||||||
CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x);
|
CIMGUI_API void ImFont_AddGlyph(ImFont* self,ImWchar c,float x0,float y0,float x1,float y1,float u0,float v0,float u1,float v1,float advance_x);
|
||||||
@@ -1441,6 +1445,7 @@ CIMGUI_API ImVector_ImWchar* ImVector_ImWchar_create();
|
|||||||
CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* p);
|
CIMGUI_API void ImVector_ImWchar_destroy(ImVector_ImWchar* p);
|
||||||
CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p);
|
CIMGUI_API void ImVector_ImWchar_Init(ImVector_ImWchar* p);
|
||||||
CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p);
|
CIMGUI_API void ImVector_ImWchar_UnInit(ImVector_ImWchar* p);
|
||||||
|
#endif //CIMGUI_INCLUDED
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
@@ -3095,7 +3095,7 @@ defs["ImFont_IsLoaded"][1]["stname"] = "ImFont"
|
|||||||
defs["ImFont_IsLoaded"]["()"] = defs["ImFont_IsLoaded"][1]
|
defs["ImFont_IsLoaded"]["()"] = defs["ImFont_IsLoaded"][1]
|
||||||
defs["ImFont_RenderChar"] = {}
|
defs["ImFont_RenderChar"] = {}
|
||||||
defs["ImFont_RenderChar"][1] = {}
|
defs["ImFont_RenderChar"][1] = {}
|
||||||
defs["ImFont_RenderChar"][1]["args"] = "(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)"
|
defs["ImFont_RenderChar"][1]["args"] = "(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c)"
|
||||||
defs["ImFont_RenderChar"][1]["argsT"] = {}
|
defs["ImFont_RenderChar"][1]["argsT"] = {}
|
||||||
defs["ImFont_RenderChar"][1]["argsT"][1] = {}
|
defs["ImFont_RenderChar"][1]["argsT"][1] = {}
|
||||||
defs["ImFont_RenderChar"][1]["argsT"][1]["name"] = "self"
|
defs["ImFont_RenderChar"][1]["argsT"][1]["name"] = "self"
|
||||||
@@ -3114,17 +3114,17 @@ defs["ImFont_RenderChar"][1]["argsT"][5]["name"] = "col"
|
|||||||
defs["ImFont_RenderChar"][1]["argsT"][5]["type"] = "ImU32"
|
defs["ImFont_RenderChar"][1]["argsT"][5]["type"] = "ImU32"
|
||||||
defs["ImFont_RenderChar"][1]["argsT"][6] = {}
|
defs["ImFont_RenderChar"][1]["argsT"][6] = {}
|
||||||
defs["ImFont_RenderChar"][1]["argsT"][6]["name"] = "c"
|
defs["ImFont_RenderChar"][1]["argsT"][6]["name"] = "c"
|
||||||
defs["ImFont_RenderChar"][1]["argsT"][6]["type"] = "unsigned short"
|
defs["ImFont_RenderChar"][1]["argsT"][6]["type"] = "ImWchar"
|
||||||
defs["ImFont_RenderChar"][1]["argsoriginal"] = "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,unsigned short c)"
|
defs["ImFont_RenderChar"][1]["argsoriginal"] = "(ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,ImWchar c)"
|
||||||
defs["ImFont_RenderChar"][1]["call_args"] = "(draw_list,size,pos,col,c)"
|
defs["ImFont_RenderChar"][1]["call_args"] = "(draw_list,size,pos,col,c)"
|
||||||
defs["ImFont_RenderChar"][1]["cimguiname"] = "ImFont_RenderChar"
|
defs["ImFont_RenderChar"][1]["cimguiname"] = "ImFont_RenderChar"
|
||||||
defs["ImFont_RenderChar"][1]["comment"] = ""
|
defs["ImFont_RenderChar"][1]["comment"] = ""
|
||||||
defs["ImFont_RenderChar"][1]["defaults"] = {}
|
defs["ImFont_RenderChar"][1]["defaults"] = {}
|
||||||
defs["ImFont_RenderChar"][1]["funcname"] = "RenderChar"
|
defs["ImFont_RenderChar"][1]["funcname"] = "RenderChar"
|
||||||
defs["ImFont_RenderChar"][1]["ret"] = "void"
|
defs["ImFont_RenderChar"][1]["ret"] = "void"
|
||||||
defs["ImFont_RenderChar"][1]["signature"] = "(ImDrawList*,float,ImVec2,ImU32,unsigned short)"
|
defs["ImFont_RenderChar"][1]["signature"] = "(ImDrawList*,float,ImVec2,ImU32,ImWchar)"
|
||||||
defs["ImFont_RenderChar"][1]["stname"] = "ImFont"
|
defs["ImFont_RenderChar"][1]["stname"] = "ImFont"
|
||||||
defs["ImFont_RenderChar"]["(ImDrawList*,float,ImVec2,ImU32,unsigned short)"] = defs["ImFont_RenderChar"][1]
|
defs["ImFont_RenderChar"]["(ImDrawList*,float,ImVec2,ImU32,ImWchar)"] = defs["ImFont_RenderChar"][1]
|
||||||
defs["ImFont_RenderText"] = {}
|
defs["ImFont_RenderText"] = {}
|
||||||
defs["ImFont_RenderText"][1] = {}
|
defs["ImFont_RenderText"][1] = {}
|
||||||
defs["ImFont_RenderText"][1]["args"] = "(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)"
|
defs["ImFont_RenderText"][1]["args"] = "(ImFont* self,ImDrawList* draw_list,float size,ImVec2 pos,ImU32 col,const ImVec4 clip_rect,const char* text_begin,const char* text_end,float wrap_width,bool cpu_fine_clip)"
|
||||||
@@ -6965,6 +6965,20 @@ defs["igGetCursorStartPos"][3]["stname"] = "ImGui"
|
|||||||
defs["igGetCursorStartPos"]["()"] = defs["igGetCursorStartPos"][1]
|
defs["igGetCursorStartPos"]["()"] = defs["igGetCursorStartPos"][1]
|
||||||
defs["igGetCursorStartPos"]["()nonUDT"] = defs["igGetCursorStartPos"][2]
|
defs["igGetCursorStartPos"]["()nonUDT"] = defs["igGetCursorStartPos"][2]
|
||||||
defs["igGetCursorStartPos"]["()nonUDT2"] = defs["igGetCursorStartPos"][3]
|
defs["igGetCursorStartPos"]["()nonUDT2"] = defs["igGetCursorStartPos"][3]
|
||||||
|
defs["igGetDragDropPayload"] = {}
|
||||||
|
defs["igGetDragDropPayload"][1] = {}
|
||||||
|
defs["igGetDragDropPayload"][1]["args"] = "()"
|
||||||
|
defs["igGetDragDropPayload"][1]["argsT"] = {}
|
||||||
|
defs["igGetDragDropPayload"][1]["argsoriginal"] = "()"
|
||||||
|
defs["igGetDragDropPayload"][1]["call_args"] = "()"
|
||||||
|
defs["igGetDragDropPayload"][1]["cimguiname"] = "igGetDragDropPayload"
|
||||||
|
defs["igGetDragDropPayload"][1]["comment"] = ""
|
||||||
|
defs["igGetDragDropPayload"][1]["defaults"] = {}
|
||||||
|
defs["igGetDragDropPayload"][1]["funcname"] = "GetDragDropPayload"
|
||||||
|
defs["igGetDragDropPayload"][1]["ret"] = "const ImGuiPayload*"
|
||||||
|
defs["igGetDragDropPayload"][1]["signature"] = "()"
|
||||||
|
defs["igGetDragDropPayload"][1]["stname"] = "ImGui"
|
||||||
|
defs["igGetDragDropPayload"]["()"] = defs["igGetDragDropPayload"][1]
|
||||||
defs["igGetDrawData"] = {}
|
defs["igGetDrawData"] = {}
|
||||||
defs["igGetDrawData"][1] = {}
|
defs["igGetDrawData"][1] = {}
|
||||||
defs["igGetDrawData"][1]["args"] = "()"
|
defs["igGetDrawData"][1]["args"] = "()"
|
||||||
@@ -10782,24 +10796,24 @@ defs["igSetScrollFromPosY"][1]["ret"] = "void"
|
|||||||
defs["igSetScrollFromPosY"][1]["signature"] = "(float,float)"
|
defs["igSetScrollFromPosY"][1]["signature"] = "(float,float)"
|
||||||
defs["igSetScrollFromPosY"][1]["stname"] = "ImGui"
|
defs["igSetScrollFromPosY"][1]["stname"] = "ImGui"
|
||||||
defs["igSetScrollFromPosY"]["(float,float)"] = defs["igSetScrollFromPosY"][1]
|
defs["igSetScrollFromPosY"]["(float,float)"] = defs["igSetScrollFromPosY"][1]
|
||||||
defs["igSetScrollHere"] = {}
|
defs["igSetScrollHereY"] = {}
|
||||||
defs["igSetScrollHere"][1] = {}
|
defs["igSetScrollHereY"][1] = {}
|
||||||
defs["igSetScrollHere"][1]["args"] = "(float center_y_ratio)"
|
defs["igSetScrollHereY"][1]["args"] = "(float center_y_ratio)"
|
||||||
defs["igSetScrollHere"][1]["argsT"] = {}
|
defs["igSetScrollHereY"][1]["argsT"] = {}
|
||||||
defs["igSetScrollHere"][1]["argsT"][1] = {}
|
defs["igSetScrollHereY"][1]["argsT"][1] = {}
|
||||||
defs["igSetScrollHere"][1]["argsT"][1]["name"] = "center_y_ratio"
|
defs["igSetScrollHereY"][1]["argsT"][1]["name"] = "center_y_ratio"
|
||||||
defs["igSetScrollHere"][1]["argsT"][1]["type"] = "float"
|
defs["igSetScrollHereY"][1]["argsT"][1]["type"] = "float"
|
||||||
defs["igSetScrollHere"][1]["argsoriginal"] = "(float center_y_ratio=0.5f)"
|
defs["igSetScrollHereY"][1]["argsoriginal"] = "(float center_y_ratio=0.5f)"
|
||||||
defs["igSetScrollHere"][1]["call_args"] = "(center_y_ratio)"
|
defs["igSetScrollHereY"][1]["call_args"] = "(center_y_ratio)"
|
||||||
defs["igSetScrollHere"][1]["cimguiname"] = "igSetScrollHere"
|
defs["igSetScrollHereY"][1]["cimguiname"] = "igSetScrollHereY"
|
||||||
defs["igSetScrollHere"][1]["comment"] = ""
|
defs["igSetScrollHereY"][1]["comment"] = ""
|
||||||
defs["igSetScrollHere"][1]["defaults"] = {}
|
defs["igSetScrollHereY"][1]["defaults"] = {}
|
||||||
defs["igSetScrollHere"][1]["defaults"]["center_y_ratio"] = "0.5f"
|
defs["igSetScrollHereY"][1]["defaults"]["center_y_ratio"] = "0.5f"
|
||||||
defs["igSetScrollHere"][1]["funcname"] = "SetScrollHere"
|
defs["igSetScrollHereY"][1]["funcname"] = "SetScrollHereY"
|
||||||
defs["igSetScrollHere"][1]["ret"] = "void"
|
defs["igSetScrollHereY"][1]["ret"] = "void"
|
||||||
defs["igSetScrollHere"][1]["signature"] = "(float)"
|
defs["igSetScrollHereY"][1]["signature"] = "(float)"
|
||||||
defs["igSetScrollHere"][1]["stname"] = "ImGui"
|
defs["igSetScrollHereY"][1]["stname"] = "ImGui"
|
||||||
defs["igSetScrollHere"]["(float)"] = defs["igSetScrollHere"][1]
|
defs["igSetScrollHereY"]["(float)"] = defs["igSetScrollHereY"][1]
|
||||||
defs["igSetScrollX"] = {}
|
defs["igSetScrollX"] = {}
|
||||||
defs["igSetScrollX"][1] = {}
|
defs["igSetScrollX"][1] = {}
|
||||||
defs["igSetScrollX"][1]["args"] = "(float scroll_x)"
|
defs["igSetScrollX"][1]["args"] = "(float scroll_x)"
|
||||||
@@ -11183,7 +11197,7 @@ defs["igShowUserGuide"][1]["stname"] = "ImGui"
|
|||||||
defs["igShowUserGuide"]["()"] = defs["igShowUserGuide"][1]
|
defs["igShowUserGuide"]["()"] = defs["igShowUserGuide"][1]
|
||||||
defs["igSliderAngle"] = {}
|
defs["igSliderAngle"] = {}
|
||||||
defs["igSliderAngle"][1] = {}
|
defs["igSliderAngle"][1] = {}
|
||||||
defs["igSliderAngle"][1]["args"] = "(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max)"
|
defs["igSliderAngle"][1]["args"] = "(const char* label,float* v_rad,float v_degrees_min,float v_degrees_max,const char* format)"
|
||||||
defs["igSliderAngle"][1]["argsT"] = {}
|
defs["igSliderAngle"][1]["argsT"] = {}
|
||||||
defs["igSliderAngle"][1]["argsT"][1] = {}
|
defs["igSliderAngle"][1]["argsT"][1] = {}
|
||||||
defs["igSliderAngle"][1]["argsT"][1]["name"] = "label"
|
defs["igSliderAngle"][1]["argsT"][1]["name"] = "label"
|
||||||
@@ -11197,18 +11211,22 @@ defs["igSliderAngle"][1]["argsT"][3]["type"] = "float"
|
|||||||
defs["igSliderAngle"][1]["argsT"][4] = {}
|
defs["igSliderAngle"][1]["argsT"][4] = {}
|
||||||
defs["igSliderAngle"][1]["argsT"][4]["name"] = "v_degrees_max"
|
defs["igSliderAngle"][1]["argsT"][4]["name"] = "v_degrees_max"
|
||||||
defs["igSliderAngle"][1]["argsT"][4]["type"] = "float"
|
defs["igSliderAngle"][1]["argsT"][4]["type"] = "float"
|
||||||
defs["igSliderAngle"][1]["argsoriginal"] = "(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f)"
|
defs["igSliderAngle"][1]["argsT"][5] = {}
|
||||||
defs["igSliderAngle"][1]["call_args"] = "(label,v_rad,v_degrees_min,v_degrees_max)"
|
defs["igSliderAngle"][1]["argsT"][5]["name"] = "format"
|
||||||
|
defs["igSliderAngle"][1]["argsT"][5]["type"] = "const char*"
|
||||||
|
defs["igSliderAngle"][1]["argsoriginal"] = "(const char* label,float* v_rad,float v_degrees_min=-360.0f,float v_degrees_max=+360.0f,const char* format=\"%.0f deg\")"
|
||||||
|
defs["igSliderAngle"][1]["call_args"] = "(label,v_rad,v_degrees_min,v_degrees_max,format)"
|
||||||
defs["igSliderAngle"][1]["cimguiname"] = "igSliderAngle"
|
defs["igSliderAngle"][1]["cimguiname"] = "igSliderAngle"
|
||||||
defs["igSliderAngle"][1]["comment"] = ""
|
defs["igSliderAngle"][1]["comment"] = ""
|
||||||
defs["igSliderAngle"][1]["defaults"] = {}
|
defs["igSliderAngle"][1]["defaults"] = {}
|
||||||
|
defs["igSliderAngle"][1]["defaults"]["format"] = "\"%.0f deg\""
|
||||||
defs["igSliderAngle"][1]["defaults"]["v_degrees_max"] = "+360.0f"
|
defs["igSliderAngle"][1]["defaults"]["v_degrees_max"] = "+360.0f"
|
||||||
defs["igSliderAngle"][1]["defaults"]["v_degrees_min"] = "-360.0f"
|
defs["igSliderAngle"][1]["defaults"]["v_degrees_min"] = "-360.0f"
|
||||||
defs["igSliderAngle"][1]["funcname"] = "SliderAngle"
|
defs["igSliderAngle"][1]["funcname"] = "SliderAngle"
|
||||||
defs["igSliderAngle"][1]["ret"] = "bool"
|
defs["igSliderAngle"][1]["ret"] = "bool"
|
||||||
defs["igSliderAngle"][1]["signature"] = "(const char*,float*,float,float)"
|
defs["igSliderAngle"][1]["signature"] = "(const char*,float*,float,float,const char*)"
|
||||||
defs["igSliderAngle"][1]["stname"] = "ImGui"
|
defs["igSliderAngle"][1]["stname"] = "ImGui"
|
||||||
defs["igSliderAngle"]["(const char*,float*,float,float)"] = defs["igSliderAngle"][1]
|
defs["igSliderAngle"]["(const char*,float*,float,float,const char*)"] = defs["igSliderAngle"][1]
|
||||||
defs["igSliderFloat"] = {}
|
defs["igSliderFloat"] = {}
|
||||||
defs["igSliderFloat"][1] = {}
|
defs["igSliderFloat"][1] = {}
|
||||||
defs["igSliderFloat"][1]["args"] = "(const char* label,float* v,float v_min,float v_max,const char* format,float power)"
|
defs["igSliderFloat"][1]["args"] = "(const char* label,float* v,float v_min,float v_max,const char* format,float power)"
|
||||||
|
File diff suppressed because one or more lines are too long
@@ -29,28 +29,23 @@ igSetWindowCollapsed 2
|
|||||||
igPlotLines 2
|
igPlotLines 2
|
||||||
1 void igPlotLines (const char*,const float*,int,int,const char*,float,float,ImVec2,int)
|
1 void igPlotLines (const char*,const float*,int,int,const char*,float,float,ImVec2,int)
|
||||||
2 void igPlotLinesFnPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
|
2 void igPlotLinesFnPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
|
||||||
ImVec2_ImVec2 2
|
igListBoxHeader 2
|
||||||
1 nil ImVec2_ImVec2 ()
|
1 bool igListBoxHeaderVec2 (const char*,const ImVec2)
|
||||||
2 nil ImVec2_ImVec2Float (float,float)
|
2 bool igListBoxHeaderInt (const char*,int,int)
|
||||||
igPlotHistogram 2
|
igPlotHistogram 2
|
||||||
1 void igPlotHistogramFloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int)
|
1 void igPlotHistogramFloatPtr (const char*,const float*,int,int,const char*,float,float,ImVec2,int)
|
||||||
2 void igPlotHistogramFnPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
|
2 void igPlotHistogramFnPtr (const char*,float(*)(void*,int),void*,int,int,const char*,float,float,ImVec2)
|
||||||
igTreeNodeExV 2
|
igTreeNodeExV 2
|
||||||
1 bool igTreeNodeExVStr (const char*,ImGuiTreeNodeFlags,const char*,va_list)
|
1 bool igTreeNodeExVStr (const char*,ImGuiTreeNodeFlags,const char*,va_list)
|
||||||
2 bool igTreeNodeExVPtr (const void*,ImGuiTreeNodeFlags,const char*,va_list)
|
2 bool igTreeNodeExVPtr (const void*,ImGuiTreeNodeFlags,const char*,va_list)
|
||||||
igMenuItem 2
|
|
||||||
1 bool igMenuItemBool (const char*,const char*,bool,bool)
|
|
||||||
2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool)
|
|
||||||
igGetID 3
|
igGetID 3
|
||||||
1 ImGuiID igGetIDStr (const char*)
|
1 ImGuiID igGetIDStr (const char*)
|
||||||
2 ImGuiID igGetIDRange (const char*,const char*)
|
2 ImGuiID igGetIDRange (const char*,const char*)
|
||||||
3 ImGuiID igGetIDPtr (const void*)
|
3 ImGuiID igGetIDPtr (const void*)
|
||||||
igListBoxHeader 2
|
igGetColorU32 3
|
||||||
1 bool igListBoxHeaderVec2 (const char*,const ImVec2)
|
1 ImU32 igGetColorU32 (ImGuiCol,float)
|
||||||
2 bool igListBoxHeaderInt (const char*,int,int)
|
2 ImU32 igGetColorU32Vec4 (const ImVec4)
|
||||||
igTreePush 2
|
3 ImU32 igGetColorU32U32 (ImU32)
|
||||||
1 void igTreePushStr (const char*)
|
|
||||||
2 void igTreePushPtr (const void*)
|
|
||||||
igBeginChild 2
|
igBeginChild 2
|
||||||
1 bool igBeginChild (const char*,const ImVec2,bool,ImGuiWindowFlags)
|
1 bool igBeginChild (const char*,const ImVec2,bool,ImGuiWindowFlags)
|
||||||
2 bool igBeginChildID (ImGuiID,const ImVec2,bool,ImGuiWindowFlags)
|
2 bool igBeginChildID (ImGuiID,const ImVec2,bool,ImGuiWindowFlags)
|
||||||
@@ -63,44 +58,49 @@ igSelectable 2
|
|||||||
igListBox 2
|
igListBox 2
|
||||||
1 bool igListBoxStr_arr (const char*,int*,const char* const[],int,int)
|
1 bool igListBoxStr_arr (const char*,int*,const char* const[],int,int)
|
||||||
2 bool igListBoxFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
|
2 bool igListBoxFnPtr (const char*,int*,bool(*)(void*,int,const char**),void*,int,int)
|
||||||
|
igSetWindowFocus 2
|
||||||
|
1 void igSetWindowFocus ()
|
||||||
|
2 void igSetWindowFocusStr (const char*)
|
||||||
igPushID 4
|
igPushID 4
|
||||||
1 void igPushIDStr (const char*)
|
1 void igPushIDStr (const char*)
|
||||||
2 void igPushIDRange (const char*,const char*)
|
2 void igPushIDRange (const char*,const char*)
|
||||||
3 void igPushIDPtr (const void*)
|
3 void igPushIDPtr (const void*)
|
||||||
4 void igPushIDInt (int)
|
4 void igPushIDInt (int)
|
||||||
|
igTreeNodeEx 3
|
||||||
|
1 bool igTreeNodeExStr (const char*,ImGuiTreeNodeFlags)
|
||||||
|
2 bool igTreeNodeExStrStr (const char*,ImGuiTreeNodeFlags,const char*,...)
|
||||||
|
3 bool igTreeNodeExPtr (const void*,ImGuiTreeNodeFlags,const char*,...)
|
||||||
Pair_Pair 3
|
Pair_Pair 3
|
||||||
1 nil Pair_PairInt (ImGuiID,int)
|
1 nil Pair_PairInt (ImGuiID,int)
|
||||||
2 nil Pair_PairFloat (ImGuiID,float)
|
2 nil Pair_PairFloat (ImGuiID,float)
|
||||||
3 nil Pair_PairPtr (ImGuiID,void*)
|
3 nil Pair_PairPtr (ImGuiID,void*)
|
||||||
|
igTreePush 2
|
||||||
|
1 void igTreePushStr (const char*)
|
||||||
|
2 void igTreePushPtr (const void*)
|
||||||
TextRange_TextRange 2
|
TextRange_TextRange 2
|
||||||
1 nil TextRange_TextRange ()
|
1 nil TextRange_TextRange ()
|
||||||
2 nil TextRange_TextRangeStr (const char*,const char*)
|
2 nil TextRange_TextRangeStr (const char*,const char*)
|
||||||
igSetWindowFocus 2
|
igPushStyleColor 2
|
||||||
1 void igSetWindowFocus ()
|
1 void igPushStyleColorU32 (ImGuiCol,ImU32)
|
||||||
2 void igSetWindowFocusStr (const char*)
|
2 void igPushStyleColor (ImGuiCol,const ImVec4)
|
||||||
ImColor_ImColor 5
|
ImColor_ImColor 5
|
||||||
1 nil ImColor_ImColor ()
|
1 nil ImColor_ImColor ()
|
||||||
2 nil ImColor_ImColorInt (int,int,int,int)
|
2 nil ImColor_ImColorInt (int,int,int,int)
|
||||||
3 nil ImColor_ImColorU32 (ImU32)
|
3 nil ImColor_ImColorU32 (ImU32)
|
||||||
4 nil ImColor_ImColorFloat (float,float,float,float)
|
4 nil ImColor_ImColorFloat (float,float,float,float)
|
||||||
5 nil ImColor_ImColorVec4 (const ImVec4)
|
5 nil ImColor_ImColorVec4 (const ImVec4)
|
||||||
igPushStyleColor 2
|
|
||||||
1 void igPushStyleColorU32 (ImGuiCol,ImU32)
|
|
||||||
2 void igPushStyleColor (ImGuiCol,const ImVec4)
|
|
||||||
igCollapsingHeader 2
|
igCollapsingHeader 2
|
||||||
1 bool igCollapsingHeader (const char*,ImGuiTreeNodeFlags)
|
1 bool igCollapsingHeader (const char*,ImGuiTreeNodeFlags)
|
||||||
2 bool igCollapsingHeaderBoolPtr (const char*,bool*,ImGuiTreeNodeFlags)
|
2 bool igCollapsingHeaderBoolPtr (const char*,bool*,ImGuiTreeNodeFlags)
|
||||||
igGetColorU32 3
|
igMenuItem 2
|
||||||
1 ImU32 igGetColorU32 (ImGuiCol,float)
|
1 bool igMenuItemBool (const char*,const char*,bool,bool)
|
||||||
2 ImU32 igGetColorU32Vec4 (const ImVec4)
|
2 bool igMenuItemBoolPtr (const char*,const char*,bool*,bool)
|
||||||
3 ImU32 igGetColorU32U32 (ImU32)
|
|
||||||
igSetWindowPos 2
|
igSetWindowPos 2
|
||||||
1 void igSetWindowPosVec2 (const ImVec2,ImGuiCond)
|
1 void igSetWindowPosVec2 (const ImVec2,ImGuiCond)
|
||||||
2 void igSetWindowPosStr (const char*,const ImVec2,ImGuiCond)
|
2 void igSetWindowPosStr (const char*,const ImVec2,ImGuiCond)
|
||||||
igTreeNodeEx 3
|
ImVec2_ImVec2 2
|
||||||
1 bool igTreeNodeExStr (const char*,ImGuiTreeNodeFlags)
|
1 nil ImVec2_ImVec2 ()
|
||||||
2 bool igTreeNodeExStrStr (const char*,ImGuiTreeNodeFlags,const char*,...)
|
2 nil ImVec2_ImVec2Float (float,float)
|
||||||
3 bool igTreeNodeExPtr (const void*,ImGuiTreeNodeFlags,const char*,...)
|
|
||||||
igTreeNode 3
|
igTreeNode 3
|
||||||
1 bool igTreeNodeStr (const char*)
|
1 bool igTreeNodeStr (const char*)
|
||||||
2 bool igTreeNodeStrStr (const char*,const char*,...)
|
2 bool igTreeNodeStrStr (const char*,const char*,...)
|
||||||
|
File diff suppressed because one or more lines are too long
@@ -1107,77 +1107,89 @@ defs["enums"]["ImGuiWindowFlags_"][8]["calc_value"] = 64
|
|||||||
defs["enums"]["ImGuiWindowFlags_"][8]["name"] = "ImGuiWindowFlags_AlwaysAutoResize"
|
defs["enums"]["ImGuiWindowFlags_"][8]["name"] = "ImGuiWindowFlags_AlwaysAutoResize"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][8]["value"] = "1 << 6"
|
defs["enums"]["ImGuiWindowFlags_"][8]["value"] = "1 << 6"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][9] = {}
|
defs["enums"]["ImGuiWindowFlags_"][9] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][9]["calc_value"] = 256
|
defs["enums"]["ImGuiWindowFlags_"][9]["calc_value"] = 128
|
||||||
defs["enums"]["ImGuiWindowFlags_"][9]["name"] = "ImGuiWindowFlags_NoSavedSettings"
|
defs["enums"]["ImGuiWindowFlags_"][9]["name"] = "ImGuiWindowFlags_NoBackground"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][9]["value"] = "1 << 8"
|
defs["enums"]["ImGuiWindowFlags_"][9]["value"] = "1 << 7"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][10] = {}
|
defs["enums"]["ImGuiWindowFlags_"][10] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][10]["calc_value"] = 512
|
defs["enums"]["ImGuiWindowFlags_"][10]["calc_value"] = 256
|
||||||
defs["enums"]["ImGuiWindowFlags_"][10]["name"] = "ImGuiWindowFlags_NoInputs"
|
defs["enums"]["ImGuiWindowFlags_"][10]["name"] = "ImGuiWindowFlags_NoSavedSettings"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][10]["value"] = "1 << 9"
|
defs["enums"]["ImGuiWindowFlags_"][10]["value"] = "1 << 8"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][11] = {}
|
defs["enums"]["ImGuiWindowFlags_"][11] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][11]["calc_value"] = 1024
|
defs["enums"]["ImGuiWindowFlags_"][11]["calc_value"] = 512
|
||||||
defs["enums"]["ImGuiWindowFlags_"][11]["name"] = "ImGuiWindowFlags_MenuBar"
|
defs["enums"]["ImGuiWindowFlags_"][11]["name"] = "ImGuiWindowFlags_NoMouseInputs"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][11]["value"] = "1 << 10"
|
defs["enums"]["ImGuiWindowFlags_"][11]["value"] = "1 << 9"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][12] = {}
|
defs["enums"]["ImGuiWindowFlags_"][12] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][12]["calc_value"] = 2048
|
defs["enums"]["ImGuiWindowFlags_"][12]["calc_value"] = 1024
|
||||||
defs["enums"]["ImGuiWindowFlags_"][12]["name"] = "ImGuiWindowFlags_HorizontalScrollbar"
|
defs["enums"]["ImGuiWindowFlags_"][12]["name"] = "ImGuiWindowFlags_MenuBar"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][12]["value"] = "1 << 11"
|
defs["enums"]["ImGuiWindowFlags_"][12]["value"] = "1 << 10"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][13] = {}
|
defs["enums"]["ImGuiWindowFlags_"][13] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][13]["calc_value"] = 4096
|
defs["enums"]["ImGuiWindowFlags_"][13]["calc_value"] = 2048
|
||||||
defs["enums"]["ImGuiWindowFlags_"][13]["name"] = "ImGuiWindowFlags_NoFocusOnAppearing"
|
defs["enums"]["ImGuiWindowFlags_"][13]["name"] = "ImGuiWindowFlags_HorizontalScrollbar"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][13]["value"] = "1 << 12"
|
defs["enums"]["ImGuiWindowFlags_"][13]["value"] = "1 << 11"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][14] = {}
|
defs["enums"]["ImGuiWindowFlags_"][14] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][14]["calc_value"] = 8192
|
defs["enums"]["ImGuiWindowFlags_"][14]["calc_value"] = 4096
|
||||||
defs["enums"]["ImGuiWindowFlags_"][14]["name"] = "ImGuiWindowFlags_NoBringToFrontOnFocus"
|
defs["enums"]["ImGuiWindowFlags_"][14]["name"] = "ImGuiWindowFlags_NoFocusOnAppearing"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][14]["value"] = "1 << 13"
|
defs["enums"]["ImGuiWindowFlags_"][14]["value"] = "1 << 12"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][15] = {}
|
defs["enums"]["ImGuiWindowFlags_"][15] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][15]["calc_value"] = 16384
|
defs["enums"]["ImGuiWindowFlags_"][15]["calc_value"] = 8192
|
||||||
defs["enums"]["ImGuiWindowFlags_"][15]["name"] = "ImGuiWindowFlags_AlwaysVerticalScrollbar"
|
defs["enums"]["ImGuiWindowFlags_"][15]["name"] = "ImGuiWindowFlags_NoBringToFrontOnFocus"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][15]["value"] = "1 << 14"
|
defs["enums"]["ImGuiWindowFlags_"][15]["value"] = "1 << 13"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][16] = {}
|
defs["enums"]["ImGuiWindowFlags_"][16] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][16]["calc_value"] = 32768
|
defs["enums"]["ImGuiWindowFlags_"][16]["calc_value"] = 16384
|
||||||
defs["enums"]["ImGuiWindowFlags_"][16]["name"] = "ImGuiWindowFlags_AlwaysHorizontalScrollbar"
|
defs["enums"]["ImGuiWindowFlags_"][16]["name"] = "ImGuiWindowFlags_AlwaysVerticalScrollbar"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][16]["value"] = "1<< 15"
|
defs["enums"]["ImGuiWindowFlags_"][16]["value"] = "1 << 14"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][17] = {}
|
defs["enums"]["ImGuiWindowFlags_"][17] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][17]["calc_value"] = 65536
|
defs["enums"]["ImGuiWindowFlags_"][17]["calc_value"] = 32768
|
||||||
defs["enums"]["ImGuiWindowFlags_"][17]["name"] = "ImGuiWindowFlags_AlwaysUseWindowPadding"
|
defs["enums"]["ImGuiWindowFlags_"][17]["name"] = "ImGuiWindowFlags_AlwaysHorizontalScrollbar"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][17]["value"] = "1 << 16"
|
defs["enums"]["ImGuiWindowFlags_"][17]["value"] = "1<< 15"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][18] = {}
|
defs["enums"]["ImGuiWindowFlags_"][18] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][18]["calc_value"] = 262144
|
defs["enums"]["ImGuiWindowFlags_"][18]["calc_value"] = 65536
|
||||||
defs["enums"]["ImGuiWindowFlags_"][18]["name"] = "ImGuiWindowFlags_NoNavInputs"
|
defs["enums"]["ImGuiWindowFlags_"][18]["name"] = "ImGuiWindowFlags_AlwaysUseWindowPadding"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][18]["value"] = "1 << 18"
|
defs["enums"]["ImGuiWindowFlags_"][18]["value"] = "1 << 16"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][19] = {}
|
defs["enums"]["ImGuiWindowFlags_"][19] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][19]["calc_value"] = 524288
|
defs["enums"]["ImGuiWindowFlags_"][19]["calc_value"] = 262144
|
||||||
defs["enums"]["ImGuiWindowFlags_"][19]["name"] = "ImGuiWindowFlags_NoNavFocus"
|
defs["enums"]["ImGuiWindowFlags_"][19]["name"] = "ImGuiWindowFlags_NoNavInputs"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][19]["value"] = "1 << 19"
|
defs["enums"]["ImGuiWindowFlags_"][19]["value"] = "1 << 18"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][20] = {}
|
defs["enums"]["ImGuiWindowFlags_"][20] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][20]["calc_value"] = 786432
|
defs["enums"]["ImGuiWindowFlags_"][20]["calc_value"] = 524288
|
||||||
defs["enums"]["ImGuiWindowFlags_"][20]["name"] = "ImGuiWindowFlags_NoNav"
|
defs["enums"]["ImGuiWindowFlags_"][20]["name"] = "ImGuiWindowFlags_NoNavFocus"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][20]["value"] = "ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"
|
defs["enums"]["ImGuiWindowFlags_"][20]["value"] = "1 << 19"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][21] = {}
|
defs["enums"]["ImGuiWindowFlags_"][21] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][21]["calc_value"] = 8388608
|
defs["enums"]["ImGuiWindowFlags_"][21]["calc_value"] = 786432
|
||||||
defs["enums"]["ImGuiWindowFlags_"][21]["name"] = "ImGuiWindowFlags_NavFlattened"
|
defs["enums"]["ImGuiWindowFlags_"][21]["name"] = "ImGuiWindowFlags_NoNav"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][21]["value"] = "1 << 23"
|
defs["enums"]["ImGuiWindowFlags_"][21]["value"] = "ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][22] = {}
|
defs["enums"]["ImGuiWindowFlags_"][22] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][22]["calc_value"] = 16777216
|
defs["enums"]["ImGuiWindowFlags_"][22]["calc_value"] = 43
|
||||||
defs["enums"]["ImGuiWindowFlags_"][22]["name"] = "ImGuiWindowFlags_ChildWindow"
|
defs["enums"]["ImGuiWindowFlags_"][22]["name"] = "ImGuiWindowFlags_NoDecoration"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][22]["value"] = "1 << 24"
|
defs["enums"]["ImGuiWindowFlags_"][22]["value"] = "ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][23] = {}
|
defs["enums"]["ImGuiWindowFlags_"][23] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][23]["calc_value"] = 33554432
|
defs["enums"]["ImGuiWindowFlags_"][23]["calc_value"] = 786944
|
||||||
defs["enums"]["ImGuiWindowFlags_"][23]["name"] = "ImGuiWindowFlags_Tooltip"
|
defs["enums"]["ImGuiWindowFlags_"][23]["name"] = "ImGuiWindowFlags_NoInputs"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][23]["value"] = "1 << 25"
|
defs["enums"]["ImGuiWindowFlags_"][23]["value"] = "ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][24] = {}
|
defs["enums"]["ImGuiWindowFlags_"][24] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][24]["calc_value"] = 67108864
|
defs["enums"]["ImGuiWindowFlags_"][24]["calc_value"] = 8388608
|
||||||
defs["enums"]["ImGuiWindowFlags_"][24]["name"] = "ImGuiWindowFlags_Popup"
|
defs["enums"]["ImGuiWindowFlags_"][24]["name"] = "ImGuiWindowFlags_NavFlattened"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][24]["value"] = "1 << 26"
|
defs["enums"]["ImGuiWindowFlags_"][24]["value"] = "1 << 23"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][25] = {}
|
defs["enums"]["ImGuiWindowFlags_"][25] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][25]["calc_value"] = 134217728
|
defs["enums"]["ImGuiWindowFlags_"][25]["calc_value"] = 16777216
|
||||||
defs["enums"]["ImGuiWindowFlags_"][25]["name"] = "ImGuiWindowFlags_Modal"
|
defs["enums"]["ImGuiWindowFlags_"][25]["name"] = "ImGuiWindowFlags_ChildWindow"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][25]["value"] = "1 << 27"
|
defs["enums"]["ImGuiWindowFlags_"][25]["value"] = "1 << 24"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][26] = {}
|
defs["enums"]["ImGuiWindowFlags_"][26] = {}
|
||||||
defs["enums"]["ImGuiWindowFlags_"][26]["calc_value"] = 268435456
|
defs["enums"]["ImGuiWindowFlags_"][26]["calc_value"] = 33554432
|
||||||
defs["enums"]["ImGuiWindowFlags_"][26]["name"] = "ImGuiWindowFlags_ChildMenu"
|
defs["enums"]["ImGuiWindowFlags_"][26]["name"] = "ImGuiWindowFlags_Tooltip"
|
||||||
defs["enums"]["ImGuiWindowFlags_"][26]["value"] = "1 << 28"
|
defs["enums"]["ImGuiWindowFlags_"][26]["value"] = "1 << 25"
|
||||||
|
defs["enums"]["ImGuiWindowFlags_"][27] = {}
|
||||||
|
defs["enums"]["ImGuiWindowFlags_"][27]["calc_value"] = 67108864
|
||||||
|
defs["enums"]["ImGuiWindowFlags_"][27]["name"] = "ImGuiWindowFlags_Popup"
|
||||||
|
defs["enums"]["ImGuiWindowFlags_"][27]["value"] = "1 << 26"
|
||||||
|
defs["enums"]["ImGuiWindowFlags_"][28] = {}
|
||||||
|
defs["enums"]["ImGuiWindowFlags_"][28]["calc_value"] = 134217728
|
||||||
|
defs["enums"]["ImGuiWindowFlags_"][28]["name"] = "ImGuiWindowFlags_Modal"
|
||||||
|
defs["enums"]["ImGuiWindowFlags_"][28]["value"] = "1 << 27"
|
||||||
|
defs["enums"]["ImGuiWindowFlags_"][29] = {}
|
||||||
|
defs["enums"]["ImGuiWindowFlags_"][29]["calc_value"] = 268435456
|
||||||
|
defs["enums"]["ImGuiWindowFlags_"][29]["name"] = "ImGuiWindowFlags_ChildMenu"
|
||||||
|
defs["enums"]["ImGuiWindowFlags_"][29]["value"] = "1 << 28"
|
||||||
defs["structs"] = {}
|
defs["structs"] = {}
|
||||||
defs["structs"]["CustomRect"] = {}
|
defs["structs"]["CustomRect"] = {}
|
||||||
defs["structs"]["CustomRect"][1] = {}
|
defs["structs"]["CustomRect"][1] = {}
|
||||||
@@ -1343,8 +1355,8 @@ defs["structs"]["ImFont"][5]["template_type"] = "float"
|
|||||||
defs["structs"]["ImFont"][5]["type"] = "ImVector_float"
|
defs["structs"]["ImFont"][5]["type"] = "ImVector_float"
|
||||||
defs["structs"]["ImFont"][6] = {}
|
defs["structs"]["ImFont"][6] = {}
|
||||||
defs["structs"]["ImFont"][6]["name"] = "IndexLookup"
|
defs["structs"]["ImFont"][6]["name"] = "IndexLookup"
|
||||||
defs["structs"]["ImFont"][6]["template_type"] = "unsigned short"
|
defs["structs"]["ImFont"][6]["template_type"] = "ImWchar"
|
||||||
defs["structs"]["ImFont"][6]["type"] = "ImVector_unsigned_short"
|
defs["structs"]["ImFont"][6]["type"] = "ImVector_ImWchar"
|
||||||
defs["structs"]["ImFont"][7] = {}
|
defs["structs"]["ImFont"][7] = {}
|
||||||
defs["structs"]["ImFont"][7]["name"] = "FallbackGlyph"
|
defs["structs"]["ImFont"][7]["name"] = "FallbackGlyph"
|
||||||
defs["structs"]["ImFont"][7]["type"] = "const ImFontGlyph*"
|
defs["structs"]["ImFont"][7]["type"] = "const ImFontGlyph*"
|
||||||
|
@@ -1 +1,65 @@
|
|||||||
{"ImGuiColumnsFlags":"int","ImFontConfig":"struct ImFontConfig","ImS32":"signed int","ImGuiTreeNodeFlags":"int","ImGuiFocusedFlags":"int","ImGuiHoveredFlags":"int","ImU64":"uint64_t","ImGuiID":"unsigned int","ImGuiStyle":"struct ImGuiStyle","ImDrawData":"struct ImDrawData","ImDrawListFlags":"int","ImGuiBackendFlags":"int","ImGuiMouseCursor":"int","ImDrawListSharedData":"struct ImDrawListSharedData","ImGuiStyleVar":"int","ImGuiDir":"int","ImFontAtlas":"struct ImFontAtlas","ImGuiCol":"int","ImGuiOnceUponAFrame":"struct ImGuiOnceUponAFrame","value_type":"T","iterator":"value_type*","ImGuiTextFilter":"struct ImGuiTextFilter","ImDrawIdx":"unsigned short","ImGuiComboFlags":"int","ImDrawCornerFlags":"int","ImWchar":"unsigned short","const_iterator":"const value_type*","ImDrawVert":"struct ImDrawVert","GlyphRangesBuilder":"struct GlyphRangesBuilder","ImVec4":"struct ImVec4","ImGuiSizeCallback":"void(*)(ImGuiSizeCallbackData* data);","ImGuiConfigFlags":"int","ImGuiTextBuffer":"struct ImGuiTextBuffer","ImGuiContext":"struct ImGuiContext","ImColor":"struct ImColor","ImGuiInputTextCallback":"int(*)(ImGuiInputTextCallbackData *data);","ImVec2":"struct ImVec2","ImFontGlyph":"struct ImFontGlyph","ImGuiWindowFlags":"int","Pair":"struct Pair","ImGuiKey":"int","ImGuiInputTextFlags":"int","ImGuiListClipper":"struct ImGuiListClipper","ImGuiDataType":"int","ImDrawChannel":"struct ImDrawChannel","ImGuiIO":"struct ImGuiIO","ImGuiStorage":"struct ImGuiStorage","ImGuiCond":"int","ImU32":"unsigned int","ImGuiNavInput":"int","ImGuiColorEditFlags":"int","ImFont":"struct ImFont","ImGuiSelectableFlags":"int","ImDrawCallback":"void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);","ImTextureID":"void*","ImDrawList":"struct ImDrawList","TextRange":"struct TextRange","CustomRect":"struct CustomRect","ImFontAtlasFlags":"int","ImGuiInputTextCallbackData":"struct ImGuiInputTextCallbackData","ImDrawCmd":"struct ImDrawCmd","ImGuiSizeCallbackData":"struct ImGuiSizeCallbackData","ImS64":"int64_t","ImGuiDragDropFlags":"int","ImGuiPayload":"struct ImGuiPayload"}
|
{"ImGuiColumnsFlags":"int",
|
||||||
|
"ImFontConfig":"struct ImFontConfig",
|
||||||
|
"ImS32":"signed int",
|
||||||
|
"ImGuiTreeNodeFlags":"int",
|
||||||
|
"ImGuiFocusedFlags":"int",
|
||||||
|
"ImGuiHoveredFlags":"int",
|
||||||
|
"ImU64":"uint64_t",
|
||||||
|
"ImGuiID":"unsigned int",
|
||||||
|
"ImGuiStyle":"struct ImGuiStyle",
|
||||||
|
"ImDrawData":"struct ImDrawData",
|
||||||
|
"ImDrawListFlags":"int",
|
||||||
|
"ImGuiBackendFlags":"int",
|
||||||
|
"ImGuiMouseCursor":"int",
|
||||||
|
"ImDrawListSharedData":"struct ImDrawListSharedData",
|
||||||
|
"ImGuiStyleVar":"int",
|
||||||
|
"ImGuiDir":"int",
|
||||||
|
"ImFontAtlas":"struct ImFontAtlas",
|
||||||
|
"ImGuiCol":"int",
|
||||||
|
"ImGuiOnceUponAFrame":"struct ImGuiOnceUponAFrame",
|
||||||
|
"value_type":"T",
|
||||||
|
"iterator":"value_type*",
|
||||||
|
"ImGuiTextFilter":"struct ImGuiTextFilter",
|
||||||
|
"ImDrawIdx":"unsigned short",
|
||||||
|
"ImGuiComboFlags":"int",
|
||||||
|
"ImDrawCornerFlags":"int",
|
||||||
|
"ImWchar":"unsigned short",
|
||||||
|
"const_iterator":"const value_type*",
|
||||||
|
"ImDrawVert":"struct ImDrawVert",
|
||||||
|
"GlyphRangesBuilder":"struct GlyphRangesBuilder",
|
||||||
|
"ImVec4":"struct ImVec4",
|
||||||
|
"ImGuiSizeCallback":"void(*)(ImGuiSizeCallbackData* data);",
|
||||||
|
"ImGuiConfigFlags":"int",
|
||||||
|
"ImGuiTextBuffer":"struct ImGuiTextBuffer",
|
||||||
|
"ImGuiContext":"struct ImGuiContext",
|
||||||
|
"ImColor":"struct ImColor",
|
||||||
|
"ImGuiInputTextCallback":"int(*)(ImGuiInputTextCallbackData *data);",
|
||||||
|
"ImVec2":"struct ImVec2",
|
||||||
|
"ImFontGlyph":"struct ImFontGlyph",
|
||||||
|
"ImGuiWindowFlags":"int",
|
||||||
|
"Pair":"struct Pair",
|
||||||
|
"ImGuiKey":"int",
|
||||||
|
"ImGuiInputTextFlags":"int",
|
||||||
|
"ImGuiListClipper":"struct ImGuiListClipper",
|
||||||
|
"ImGuiDataType":"int",
|
||||||
|
"ImDrawChannel":"struct ImDrawChannel",
|
||||||
|
"ImGuiIO":"struct ImGuiIO",
|
||||||
|
"ImGuiStorage":"struct ImGuiStorage",
|
||||||
|
"ImGuiCond":"int",
|
||||||
|
"ImU32":"unsigned int",
|
||||||
|
"ImGuiNavInput":"int",
|
||||||
|
"ImGuiColorEditFlags":"int",
|
||||||
|
"ImFont":"struct ImFont",
|
||||||
|
"ImGuiSelectableFlags":"int",
|
||||||
|
"ImDrawCallback":"void(*)(const ImDrawList* parent_list,const ImDrawCmd* cmd);",
|
||||||
|
"ImTextureID":"void*",
|
||||||
|
"ImDrawList":"struct ImDrawList",
|
||||||
|
"TextRange":"struct TextRange",
|
||||||
|
"CustomRect":"struct CustomRect",
|
||||||
|
"ImFontAtlasFlags":"int",
|
||||||
|
"ImGuiInputTextCallbackData":"struct ImGuiInputTextCallbackData",
|
||||||
|
"ImDrawCmd":"struct ImDrawCmd",
|
||||||
|
"ImGuiSizeCallbackData":"struct ImGuiSizeCallbackData",
|
||||||
|
"ImS64":"int64_t",
|
||||||
|
"ImGuiDragDropFlags":"int",
|
||||||
|
"ImGuiPayload":"struct ImGuiPayload"}
|
2
imgui
2
imgui
Submodule imgui updated: e0cab5664a...da3c4330c1
6
testbuildc/build.bat
Normal file
6
testbuildc/build.bat
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
set PATH=%PATH%;C:\mingw32\bin;
|
||||||
|
::set PATH=%PATH%;C:\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\mingw32\bin;
|
||||||
|
::gcc -std=c99 -DCIMGUI_DEFINE_ENUMS_AND_STRUCTS cimgui.h
|
||||||
|
::gcc -DCIMGUI_DEFINE_ENUMS_AND_STRUCTS cimgui.h
|
||||||
|
gcc -DCIMGUI_DEFINE_ENUMS_AND_STRUCTS cimguitest.c
|
||||||
|
cmd /k
|
5
testbuildc/cimguitest.c
Normal file
5
testbuildc/cimguitest.c
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#include "../cimgui.h"
|
||||||
|
|
||||||
|
void main(void)
|
||||||
|
{
|
||||||
|
}
|
13
testbuildc/testcl.bat
Normal file
13
testbuildc/testcl.bat
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
::set PATH=%PATH%;C:\luaGL;C:\mingw32\bin;
|
||||||
|
::gcc -E -DIMGUI_DISABLE_OBSOLETE_FUNCTIONS -DIMGUI_API="" -DIMGUI_IMPL_API="" ../imgui/imgui.h > 11.txt
|
||||||
|
|
||||||
|
::set PATH=%PATH%;C:\luaGL;
|
||||||
|
::set PATH=%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\Hostx64\x64;
|
||||||
|
|
||||||
|
::ejecutar en cmd esto
|
||||||
|
::"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||||||
|
|
||||||
|
::cl /P /DIMGUI_DISABLE_OBSOLETE_FUNCTIONS /DIMGUI_API="" /DIMGUI_IMPL_API="" ../imgui/imgui.h
|
||||||
|
:: > clout.txt
|
||||||
|
cl /P /DCIMGUI_DEFINE_ENUMS_AND_STRUCTS cimguitest.c
|
||||||
|
cmd /k
|
Reference in New Issue
Block a user