mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 20:08:31 +01:00
drop nonUDT1 first
This commit is contained in:
176
cimgui.cpp
176
cimgui.cpp
@@ -159,13 +159,13 @@ CIMGUI_API ImDrawList* igGetWindowDrawList()
|
||||
{
|
||||
return ImGui::GetWindowDrawList();
|
||||
}
|
||||
CIMGUI_API ImVec2 igGetWindowPos()
|
||||
CIMGUI_API void igGetWindowPos(ImVec2 *pOut)
|
||||
{
|
||||
return ImGui::GetWindowPos();
|
||||
*pOut = ImGui::GetWindowPos();
|
||||
}
|
||||
CIMGUI_API ImVec2 igGetWindowSize()
|
||||
CIMGUI_API void igGetWindowSize(ImVec2 *pOut)
|
||||
{
|
||||
return ImGui::GetWindowSize();
|
||||
*pOut = ImGui::GetWindowSize();
|
||||
}
|
||||
CIMGUI_API float igGetWindowWidth()
|
||||
{
|
||||
@@ -239,21 +239,21 @@ CIMGUI_API void igSetWindowFocusStr(const char* name)
|
||||
{
|
||||
return ImGui::SetWindowFocus(name);
|
||||
}
|
||||
CIMGUI_API ImVec2 igGetContentRegionMax()
|
||||
CIMGUI_API void igGetContentRegionMax(ImVec2 *pOut)
|
||||
{
|
||||
return ImGui::GetContentRegionMax();
|
||||
*pOut = ImGui::GetContentRegionMax();
|
||||
}
|
||||
CIMGUI_API ImVec2 igGetContentRegionAvail()
|
||||
CIMGUI_API void igGetContentRegionAvail(ImVec2 *pOut)
|
||||
{
|
||||
return ImGui::GetContentRegionAvail();
|
||||
*pOut = ImGui::GetContentRegionAvail();
|
||||
}
|
||||
CIMGUI_API ImVec2 igGetWindowContentRegionMin()
|
||||
CIMGUI_API void igGetWindowContentRegionMin(ImVec2 *pOut)
|
||||
{
|
||||
return ImGui::GetWindowContentRegionMin();
|
||||
*pOut = ImGui::GetWindowContentRegionMin();
|
||||
}
|
||||
CIMGUI_API ImVec2 igGetWindowContentRegionMax()
|
||||
CIMGUI_API void igGetWindowContentRegionMax(ImVec2 *pOut)
|
||||
{
|
||||
return ImGui::GetWindowContentRegionMax();
|
||||
*pOut = ImGui::GetWindowContentRegionMax();
|
||||
}
|
||||
CIMGUI_API float igGetWindowContentRegionWidth()
|
||||
{
|
||||
@@ -343,9 +343,9 @@ CIMGUI_API float igGetFontSize()
|
||||
{
|
||||
return ImGui::GetFontSize();
|
||||
}
|
||||
CIMGUI_API ImVec2 igGetFontTexUvWhitePixel()
|
||||
CIMGUI_API void igGetFontTexUvWhitePixel(ImVec2 *pOut)
|
||||
{
|
||||
return ImGui::GetFontTexUvWhitePixel();
|
||||
*pOut = ImGui::GetFontTexUvWhitePixel();
|
||||
}
|
||||
CIMGUI_API ImU32 igGetColorU32Col(ImGuiCol idx,float alpha_mul)
|
||||
{
|
||||
@@ -435,9 +435,9 @@ CIMGUI_API void igEndGroup()
|
||||
{
|
||||
return ImGui::EndGroup();
|
||||
}
|
||||
CIMGUI_API ImVec2 igGetCursorPos()
|
||||
CIMGUI_API void igGetCursorPos(ImVec2 *pOut)
|
||||
{
|
||||
return ImGui::GetCursorPos();
|
||||
*pOut = ImGui::GetCursorPos();
|
||||
}
|
||||
CIMGUI_API float igGetCursorPosX()
|
||||
{
|
||||
@@ -459,13 +459,13 @@ CIMGUI_API void igSetCursorPosY(float local_y)
|
||||
{
|
||||
return ImGui::SetCursorPosY(local_y);
|
||||
}
|
||||
CIMGUI_API ImVec2 igGetCursorStartPos()
|
||||
CIMGUI_API void igGetCursorStartPos(ImVec2 *pOut)
|
||||
{
|
||||
return ImGui::GetCursorStartPos();
|
||||
*pOut = ImGui::GetCursorStartPos();
|
||||
}
|
||||
CIMGUI_API ImVec2 igGetCursorScreenPos()
|
||||
CIMGUI_API void igGetCursorScreenPos(ImVec2 *pOut)
|
||||
{
|
||||
return ImGui::GetCursorScreenPos();
|
||||
*pOut = ImGui::GetCursorScreenPos();
|
||||
}
|
||||
CIMGUI_API void igSetCursorScreenPos(const ImVec2 pos)
|
||||
{
|
||||
@@ -1248,17 +1248,17 @@ CIMGUI_API bool igIsAnyItemFocused()
|
||||
{
|
||||
return ImGui::IsAnyItemFocused();
|
||||
}
|
||||
CIMGUI_API ImVec2 igGetItemRectMin()
|
||||
CIMGUI_API void igGetItemRectMin(ImVec2 *pOut)
|
||||
{
|
||||
return ImGui::GetItemRectMin();
|
||||
*pOut = ImGui::GetItemRectMin();
|
||||
}
|
||||
CIMGUI_API ImVec2 igGetItemRectMax()
|
||||
CIMGUI_API void igGetItemRectMax(ImVec2 *pOut)
|
||||
{
|
||||
return ImGui::GetItemRectMax();
|
||||
*pOut = ImGui::GetItemRectMax();
|
||||
}
|
||||
CIMGUI_API ImVec2 igGetItemRectSize()
|
||||
CIMGUI_API void igGetItemRectSize(ImVec2 *pOut)
|
||||
{
|
||||
return ImGui::GetItemRectSize();
|
||||
*pOut = ImGui::GetItemRectSize();
|
||||
}
|
||||
CIMGUI_API void igSetItemAllowOverlap()
|
||||
{
|
||||
@@ -1304,9 +1304,9 @@ CIMGUI_API ImGuiStorage* igGetStateStorage()
|
||||
{
|
||||
return ImGui::GetStateStorage();
|
||||
}
|
||||
CIMGUI_API ImVec2 igCalcTextSize(const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)
|
||||
CIMGUI_API void igCalcTextSize(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)
|
||||
{
|
||||
return ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width);
|
||||
*pOut = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width);
|
||||
}
|
||||
CIMGUI_API void igCalcListClipping(int items_count,float items_height,int* out_items_display_start,int* out_items_display_end)
|
||||
{
|
||||
@@ -1320,9 +1320,9 @@ CIMGUI_API void igEndChildFrame()
|
||||
{
|
||||
return ImGui::EndChildFrame();
|
||||
}
|
||||
CIMGUI_API ImVec4 igColorConvertU32ToFloat4(ImU32 in)
|
||||
CIMGUI_API void igColorConvertU32ToFloat4(ImVec4 *pOut,ImU32 in)
|
||||
{
|
||||
return ImGui::ColorConvertU32ToFloat4(in);
|
||||
*pOut = ImGui::ColorConvertU32ToFloat4(in);
|
||||
}
|
||||
CIMGUI_API ImU32 igColorConvertFloat4ToU32(const ImVec4 in)
|
||||
{
|
||||
@@ -1380,21 +1380,21 @@ CIMGUI_API bool igIsAnyMouseDown()
|
||||
{
|
||||
return ImGui::IsAnyMouseDown();
|
||||
}
|
||||
CIMGUI_API ImVec2 igGetMousePos()
|
||||
CIMGUI_API void igGetMousePos(ImVec2 *pOut)
|
||||
{
|
||||
return ImGui::GetMousePos();
|
||||
*pOut = ImGui::GetMousePos();
|
||||
}
|
||||
CIMGUI_API ImVec2 igGetMousePosOnOpeningCurrentPopup()
|
||||
CIMGUI_API void igGetMousePosOnOpeningCurrentPopup(ImVec2 *pOut)
|
||||
{
|
||||
return ImGui::GetMousePosOnOpeningCurrentPopup();
|
||||
*pOut = ImGui::GetMousePosOnOpeningCurrentPopup();
|
||||
}
|
||||
CIMGUI_API bool igIsMouseDragging(ImGuiMouseButton button,float lock_threshold)
|
||||
{
|
||||
return ImGui::IsMouseDragging(button,lock_threshold);
|
||||
}
|
||||
CIMGUI_API ImVec2 igGetMouseDragDelta(ImGuiMouseButton button,float lock_threshold)
|
||||
CIMGUI_API void igGetMouseDragDelta(ImVec2 *pOut,ImGuiMouseButton button,float lock_threshold)
|
||||
{
|
||||
return ImGui::GetMouseDragDelta(button,lock_threshold);
|
||||
*pOut = ImGui::GetMouseDragDelta(button,lock_threshold);
|
||||
}
|
||||
CIMGUI_API void igResetMouseDragDelta(ImGuiMouseButton button)
|
||||
{
|
||||
@@ -1748,9 +1748,9 @@ CIMGUI_API void ImColor_SetHSV(ImColor* self,float h,float s,float v,float a)
|
||||
{
|
||||
return self->SetHSV(h,s,v,a);
|
||||
}
|
||||
CIMGUI_API ImColor ImColor_HSV(ImColor* self,float h,float s,float v,float a)
|
||||
CIMGUI_API void ImColor_HSV(ImColor *pOut,ImColor* self,float h,float s,float v,float a)
|
||||
{
|
||||
return self->HSV(h,s,v,a);
|
||||
*pOut = self->HSV(h,s,v,a);
|
||||
}
|
||||
CIMGUI_API ImDrawCmd* ImDrawCmd_ImDrawCmd(void)
|
||||
{
|
||||
@@ -1816,13 +1816,13 @@ CIMGUI_API void ImDrawList_PopTextureID(ImDrawList* self)
|
||||
{
|
||||
return self->PopTextureID();
|
||||
}
|
||||
CIMGUI_API ImVec2 ImDrawList_GetClipRectMin(ImDrawList* self)
|
||||
CIMGUI_API void ImDrawList_GetClipRectMin(ImVec2 *pOut,ImDrawList* self)
|
||||
{
|
||||
return self->GetClipRectMin();
|
||||
*pOut = self->GetClipRectMin();
|
||||
}
|
||||
CIMGUI_API ImVec2 ImDrawList_GetClipRectMax(ImDrawList* self)
|
||||
CIMGUI_API void ImDrawList_GetClipRectMax(ImVec2 *pOut,ImDrawList* self)
|
||||
{
|
||||
return self->GetClipRectMax();
|
||||
*pOut = self->GetClipRectMax();
|
||||
}
|
||||
CIMGUI_API void ImDrawList_AddLine(ImDrawList* self,const ImVec2 p1,const ImVec2 p2,ImU32 col,float thickness)
|
||||
{
|
||||
@@ -2236,9 +2236,9 @@ CIMGUI_API const char* ImFont_GetDebugName(ImFont* self)
|
||||
{
|
||||
return self->GetDebugName();
|
||||
}
|
||||
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 void ImFont_CalcTextSizeA(ImVec2 *pOut,ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)
|
||||
{
|
||||
return self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining);
|
||||
*pOut = self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining);
|
||||
}
|
||||
CIMGUI_API const char* ImFont_CalcWordWrapPositionA(ImFont* self,float scale,const char* text,const char* text_end,float wrap_width)
|
||||
{
|
||||
@@ -2276,94 +2276,6 @@ CIMGUI_API void ImFont_SetFallbackChar(ImFont* self,ImWchar c)
|
||||
{
|
||||
return self->SetFallbackChar(c);
|
||||
}
|
||||
CIMGUI_API void igGetWindowPos_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetWindowPos();
|
||||
}
|
||||
CIMGUI_API void igGetWindowSize_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetWindowSize();
|
||||
}
|
||||
CIMGUI_API void igGetContentRegionMax_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetContentRegionMax();
|
||||
}
|
||||
CIMGUI_API void igGetContentRegionAvail_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetContentRegionAvail();
|
||||
}
|
||||
CIMGUI_API void igGetWindowContentRegionMin_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetWindowContentRegionMin();
|
||||
}
|
||||
CIMGUI_API void igGetWindowContentRegionMax_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetWindowContentRegionMax();
|
||||
}
|
||||
CIMGUI_API void igGetFontTexUvWhitePixel_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetFontTexUvWhitePixel();
|
||||
}
|
||||
CIMGUI_API void igGetCursorPos_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetCursorPos();
|
||||
}
|
||||
CIMGUI_API void igGetCursorStartPos_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetCursorStartPos();
|
||||
}
|
||||
CIMGUI_API void igGetCursorScreenPos_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetCursorScreenPos();
|
||||
}
|
||||
CIMGUI_API void igGetItemRectMin_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetItemRectMin();
|
||||
}
|
||||
CIMGUI_API void igGetItemRectMax_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetItemRectMax();
|
||||
}
|
||||
CIMGUI_API void igGetItemRectSize_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetItemRectSize();
|
||||
}
|
||||
CIMGUI_API void igCalcTextSize_nonUDT(ImVec2 *pOut,const char* text,const char* text_end,bool hide_text_after_double_hash,float wrap_width)
|
||||
{
|
||||
*pOut = ImGui::CalcTextSize(text,text_end,hide_text_after_double_hash,wrap_width);
|
||||
}
|
||||
CIMGUI_API void igColorConvertU32ToFloat4_nonUDT(ImVec4 *pOut,ImU32 in)
|
||||
{
|
||||
*pOut = ImGui::ColorConvertU32ToFloat4(in);
|
||||
}
|
||||
CIMGUI_API void igGetMousePos_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetMousePos();
|
||||
}
|
||||
CIMGUI_API void igGetMousePosOnOpeningCurrentPopup_nonUDT(ImVec2 *pOut)
|
||||
{
|
||||
*pOut = ImGui::GetMousePosOnOpeningCurrentPopup();
|
||||
}
|
||||
CIMGUI_API void igGetMouseDragDelta_nonUDT(ImVec2 *pOut,ImGuiMouseButton button,float lock_threshold)
|
||||
{
|
||||
*pOut = ImGui::GetMouseDragDelta(button,lock_threshold);
|
||||
}
|
||||
CIMGUI_API void ImColor_HSV_nonUDT(ImColor *pOut,ImColor* self,float h,float s,float v,float a)
|
||||
{
|
||||
*pOut = self->HSV(h,s,v,a);
|
||||
}
|
||||
CIMGUI_API void ImDrawList_GetClipRectMin_nonUDT(ImVec2 *pOut,ImDrawList* self)
|
||||
{
|
||||
*pOut = self->GetClipRectMin();
|
||||
}
|
||||
CIMGUI_API void ImDrawList_GetClipRectMax_nonUDT(ImVec2 *pOut,ImDrawList* self)
|
||||
{
|
||||
*pOut = self->GetClipRectMax();
|
||||
}
|
||||
CIMGUI_API void ImFont_CalcTextSizeA_nonUDT(ImVec2 *pOut,ImFont* self,float size,float max_width,float wrap_width,const char* text_begin,const char* text_end,const char** remaining)
|
||||
{
|
||||
*pOut = self->CalcTextSizeA(size,max_width,wrap_width,text_begin,text_end,remaining);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user