mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-03 22:51:06 +01:00 
			
		
		
		
	Merge branch 'viewport_164' into viewport
This commit is contained in:
		@@ -29,6 +29,28 @@ HOW TO UPDATE?
 | 
			
		||||
- Please report any issue!
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
-----------------------------------------------------------------------
 | 
			
		||||
 VERSION 1.64 (Released 2018-08-31)
 | 
			
		||||
-----------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
Changes:
 | 
			
		||||
 | 
			
		||||
- Moved README, CHANGELOG and TODO files to the docs/ folder.
 | 
			
		||||
  If you are updating dear imgui by copying files, take the chance to delete the old files.
 | 
			
		||||
- Added imgui_widgets.cpp file, extracted and moved widgets code out of imgui.cpp into imgui_widgets.cpp.
 | 
			
		||||
  Re-ordered some of the code remaining in imgui.cpp in cleared chunks.
 | 
			
		||||
  NONE OF THE FUNCTIONS HAVE CHANGED. THE CODE IS SEMANTICALLY 100% IDENTICAL, BUT ALL FUNCTIONS WERE MOVED.
 | 
			
		||||
  Because of this, any local modifications to imgui.cpp will likely conflict when you update.
 | 
			
		||||
  If you have any modifications to imgui.cpp, it is suggested that you first update to 1.63, then
 | 
			
		||||
  isolate your patches. You can peak at imgui_widgets.cpp from 1.64 to get a sense of what is included in it,
 | 
			
		||||
  then separate your changes into several patches that can more easily be applied to 1.64 on a per-file basis.
 | 
			
		||||
  What I found worked nicely for me, was to open the diff of the old patches in an interactive merge/diff tool,
 | 
			
		||||
  search for the corresponding function in the new code and apply the chunks manually. 
 | 
			
		||||
- As a reminder, if you have any change to imgui.cpp it is a good habit to discuss them on the github,
 | 
			
		||||
  so a solution applicable on the Master branch can be found. If your company has changes that you cannot
 | 
			
		||||
  disclose you may also contact me privately.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
-----------------------------------------------------------------------
 | 
			
		||||
 VERSION 1.63 (Released 2018-08-29)
 | 
			
		||||
-----------------------------------------------------------------------
 | 
			
		||||
@@ -22,6 +22,7 @@ Dear ImGui is self-contained within a few files that you can easily copy and com
 | 
			
		||||
- imgui.h
 | 
			
		||||
- imgui_demo.cpp
 | 
			
		||||
- imgui_draw.cpp
 | 
			
		||||
- imgui_widgets.cpp
 | 
			
		||||
- imgui_internal.h
 | 
			
		||||
- imconfig.h (empty by default, user-editable)
 | 
			
		||||
- stb_rect_pack.h
 | 
			
		||||
@@ -153,6 +153,7 @@
 | 
			
		||||
    <ClCompile Include="..\..\imgui.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_demo.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_draw.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_allegro5.cpp" />
 | 
			
		||||
    <ClCompile Include="imconfig_allegro5.h" />
 | 
			
		||||
    <ClCompile Include="main.cpp" />
 | 
			
		||||
 
 | 
			
		||||
@@ -28,6 +28,9 @@
 | 
			
		||||
    <ClCompile Include="imconfig_allegro5.h">
 | 
			
		||||
      <Filter>sources</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp">
 | 
			
		||||
      <Filter>imgui</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <ClInclude Include="..\..\imconfig.h">
 | 
			
		||||
 
 | 
			
		||||
@@ -153,6 +153,7 @@
 | 
			
		||||
    <ClCompile Include="..\..\imgui.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_demo.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_draw.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_freeglut.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_opengl2.cpp" />
 | 
			
		||||
    <ClCompile Include="main.cpp" />
 | 
			
		||||
 
 | 
			
		||||
@@ -28,6 +28,9 @@
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_opengl2.cpp">
 | 
			
		||||
      <Filter>sources</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp">
 | 
			
		||||
      <Filter>imgui</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <ClInclude Include="..\..\imconfig.h">
 | 
			
		||||
 
 | 
			
		||||
@@ -17,7 +17,7 @@
 | 
			
		||||
EXE = example_glfw_opengl2
 | 
			
		||||
SOURCES = main.cpp
 | 
			
		||||
SOURCES += ../imgui_impl_glfw.cpp ../imgui_impl_opengl2.cpp
 | 
			
		||||
SOURCES += ../../imgui.cpp ../../imgui_demo.cpp ../../imgui_draw.cpp
 | 
			
		||||
SOURCES += ../../imgui.cpp ../../imgui_demo.cpp ../../imgui_draw.cpp ../../imgui_widgets.cpp
 | 
			
		||||
OBJS = $(addsuffix .o, $(basename $(notdir $(SOURCES))))
 | 
			
		||||
 | 
			
		||||
UNAME_S := $(shell uname -s)
 | 
			
		||||
 
 | 
			
		||||
@@ -153,6 +153,7 @@
 | 
			
		||||
    <ClCompile Include="..\..\imgui.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_demo.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_draw.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_glfw.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_opengl2.cpp" />
 | 
			
		||||
    <ClCompile Include="main.cpp" />
 | 
			
		||||
 
 | 
			
		||||
@@ -28,6 +28,9 @@
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_opengl2.cpp">
 | 
			
		||||
      <Filter>sources</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp">
 | 
			
		||||
      <Filter>imgui</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <ClInclude Include="..\..\imconfig.h">
 | 
			
		||||
 
 | 
			
		||||
@@ -17,7 +17,7 @@
 | 
			
		||||
EXE = example_glfw_opengl3
 | 
			
		||||
SOURCES = main.cpp
 | 
			
		||||
SOURCES += ../imgui_impl_glfw.cpp ../imgui_impl_opengl3.cpp
 | 
			
		||||
SOURCES += ../../imgui.cpp ../../imgui_demo.cpp ../../imgui_draw.cpp
 | 
			
		||||
SOURCES += ../../imgui.cpp ../../imgui_demo.cpp ../../imgui_draw.cpp ../../imgui_widgets.cpp
 | 
			
		||||
OBJS = $(addsuffix .o, $(basename $(notdir $(SOURCES))))
 | 
			
		||||
UNAME_S := $(shell uname -s)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -153,6 +153,7 @@
 | 
			
		||||
    <ClCompile Include="..\..\imgui.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_demo.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_draw.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_glfw.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_opengl3.cpp" />
 | 
			
		||||
    <ClCompile Include="..\libs\gl3w\GL\gl3w.c" />
 | 
			
		||||
 
 | 
			
		||||
@@ -34,6 +34,9 @@
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_opengl3.cpp">
 | 
			
		||||
      <Filter>sources</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp">
 | 
			
		||||
      <Filter>imgui</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <ClInclude Include="..\..\imconfig.h">
 | 
			
		||||
 
 | 
			
		||||
@@ -33,6 +33,7 @@ files
 | 
			
		||||
    ../../imgui.cpp
 | 
			
		||||
    ../../imgui_demo.cpp
 | 
			
		||||
    ../../imgui_draw.cpp
 | 
			
		||||
    ../../imgui_widgets.cpp
 | 
			
		||||
    ../../imconfig.h
 | 
			
		||||
    ../../imgui.h
 | 
			
		||||
    ../../imgui_internal.h
 | 
			
		||||
 
 | 
			
		||||
@@ -16,7 +16,7 @@
 | 
			
		||||
 | 
			
		||||
EXE = example_sdl_opengl2
 | 
			
		||||
SOURCES = main.cpp ../imgui_impl_sdl.cpp ../imgui_impl_opengl2.cpp
 | 
			
		||||
SOURCES += ../../imgui.cpp ../../imgui_demo.cpp ../../imgui_draw.cpp
 | 
			
		||||
SOURCES += ../../imgui.cpp ../../imgui_demo.cpp ../../imgui_draw.cpp ../../imgui_widgets.cpp
 | 
			
		||||
OBJS = $(addsuffix .o, $(basename $(notdir $(SOURCES))))
 | 
			
		||||
 | 
			
		||||
UNAME_S := $(shell uname -s)
 | 
			
		||||
 
 | 
			
		||||
@@ -19,7 +19,7 @@
 | 
			
		||||
    </ProjectConfiguration>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <PropertyGroup Label="Globals">
 | 
			
		||||
    <ProjectGuid>{2AE17FDE-F7F3-4CAC-ADAB-0710EDA4F741}</ProjectGuid>
 | 
			
		||||
    <ProjectGuid>{94E991D0-790A-4DAF-B442-AAADE3233C75}</ProjectGuid>
 | 
			
		||||
    <RootNamespace>example_sdl_opengl2</RootNamespace>
 | 
			
		||||
  </PropertyGroup>
 | 
			
		||||
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
 | 
			
		||||
@@ -153,6 +153,7 @@
 | 
			
		||||
    <ClCompile Include="..\..\imgui.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_demo.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_draw.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_opengl2.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_sdl.cpp" />
 | 
			
		||||
    <ClCompile Include="main.cpp" />
 | 
			
		||||
 
 | 
			
		||||
@@ -28,6 +28,9 @@
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_opengl2.cpp">
 | 
			
		||||
      <Filter>sources</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp">
 | 
			
		||||
      <Filter>imgui</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <ClInclude Include="..\..\imconfig.h">
 | 
			
		||||
 
 | 
			
		||||
@@ -17,7 +17,7 @@
 | 
			
		||||
EXE = example_sdl_opengl3
 | 
			
		||||
SOURCES = main.cpp
 | 
			
		||||
SOURCES += ../imgui_impl_sdl.cpp ../imgui_impl_opengl3.cpp
 | 
			
		||||
SOURCES += ../../imgui.cpp ../../imgui_demo.cpp ../../imgui_draw.cpp
 | 
			
		||||
SOURCES += ../../imgui.cpp ../../imgui_demo.cpp ../../imgui_draw.cpp ../../imgui_widgets.cpp
 | 
			
		||||
OBJS = $(addsuffix .o, $(basename $(notdir $(SOURCES))))
 | 
			
		||||
UNAME_S := $(shell uname -s)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -153,6 +153,7 @@
 | 
			
		||||
    <ClCompile Include="..\..\imgui.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_demo.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_draw.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_opengl3.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_sdl.cpp" />
 | 
			
		||||
    <ClCompile Include="..\libs\gl3w\GL\gl3w.c" />
 | 
			
		||||
 
 | 
			
		||||
@@ -34,6 +34,9 @@
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_sdl.cpp">
 | 
			
		||||
      <Filter>sources</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp">
 | 
			
		||||
      <Filter>imgui</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <ClInclude Include="..\..\imconfig.h">
 | 
			
		||||
 
 | 
			
		||||
@@ -153,6 +153,7 @@
 | 
			
		||||
    <ClCompile Include="..\..\imgui.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_demo.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_draw.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_sdl.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_vulkan.cpp" />
 | 
			
		||||
    <ClCompile Include="main.cpp" />
 | 
			
		||||
 
 | 
			
		||||
@@ -28,6 +28,9 @@
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_vulkan.cpp">
 | 
			
		||||
      <Filter>sources</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp">
 | 
			
		||||
      <Filter>imgui</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <ClInclude Include="..\..\imconfig.h">
 | 
			
		||||
 
 | 
			
		||||
@@ -150,6 +150,7 @@
 | 
			
		||||
    <ClCompile Include="..\..\imgui.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_demo.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_draw.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_dx10.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_win32.cpp" />
 | 
			
		||||
    <ClCompile Include="main.cpp" />
 | 
			
		||||
 
 | 
			
		||||
@@ -44,6 +44,9 @@
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_win32.cpp">
 | 
			
		||||
      <Filter>sources</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp">
 | 
			
		||||
      <Filter>imgui</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <None Include="..\README.txt" />
 | 
			
		||||
 
 | 
			
		||||
@@ -150,6 +150,7 @@
 | 
			
		||||
    <ClCompile Include="..\..\imgui.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_demo.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_draw.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_dx11.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_win32.cpp" />
 | 
			
		||||
    <ClCompile Include="main.cpp" />
 | 
			
		||||
 
 | 
			
		||||
@@ -44,6 +44,9 @@
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_dx11.cpp">
 | 
			
		||||
      <Filter>sources</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp">
 | 
			
		||||
      <Filter>imgui</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <None Include="..\README.txt" />
 | 
			
		||||
 
 | 
			
		||||
@@ -153,6 +153,7 @@
 | 
			
		||||
    <ClCompile Include="..\..\imgui.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_demo.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_draw.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_dx12.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_win32.cpp" />
 | 
			
		||||
    <ClCompile Include="main.cpp" />
 | 
			
		||||
 
 | 
			
		||||
@@ -44,6 +44,9 @@
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_win32.cpp">
 | 
			
		||||
      <Filter>sources</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp">
 | 
			
		||||
      <Filter>imgui</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <None Include="..\README.txt" />
 | 
			
		||||
 
 | 
			
		||||
@@ -143,6 +143,7 @@
 | 
			
		||||
    <ClCompile Include="..\..\imgui.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_demo.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_draw.cpp" />
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_dx9.cpp" />
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_win32.cpp" />
 | 
			
		||||
    <ClCompile Include="main.cpp" />
 | 
			
		||||
 
 | 
			
		||||
@@ -28,6 +28,9 @@
 | 
			
		||||
    <ClCompile Include="..\imgui_impl_dx9.cpp">
 | 
			
		||||
      <Filter>sources</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
    <ClCompile Include="..\..\imgui_widgets.cpp">
 | 
			
		||||
      <Filter>imgui</Filter>
 | 
			
		||||
    </ClCompile>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <ClInclude Include="..\..\imconfig.h">
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										6
									
								
								imgui.h
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								imgui.h
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
// dear imgui, v1.63
 | 
			
		||||
// dear imgui, v1.64
 | 
			
		||||
// (headers)
 | 
			
		||||
 | 
			
		||||
// See imgui.cpp file for documentation.
 | 
			
		||||
@@ -23,8 +23,8 @@
 | 
			
		||||
 | 
			
		||||
// Version
 | 
			
		||||
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals. Work in progress versions typically starts at XYY00 then bounced up to XYY01 when release tagging happens)
 | 
			
		||||
#define IMGUI_VERSION               "1.63"
 | 
			
		||||
#define IMGUI_VERSION_NUM           16301
 | 
			
		||||
#define IMGUI_VERSION               "1.64"
 | 
			
		||||
#define IMGUI_VERSION_NUM           16401
 | 
			
		||||
#define IMGUI_CHECKVERSION()        ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert))
 | 
			
		||||
#define IMGUI_HAS_VIEWPORT          1 // Viewport WIP branch
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
// dear imgui, v1.63
 | 
			
		||||
// dear imgui, v1.64
 | 
			
		||||
// (demo code)
 | 
			
		||||
 | 
			
		||||
// Message to the person tempted to delete this file when integrating ImGui into their code base:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,14 +1,20 @@
 | 
			
		||||
// dear imgui, v1.63
 | 
			
		||||
// dear imgui, v1.64
 | 
			
		||||
// (drawing and font code)
 | 
			
		||||
 | 
			
		||||
// Contains implementation for
 | 
			
		||||
// - Default styles
 | 
			
		||||
// - ImDrawList
 | 
			
		||||
// - ImDrawData
 | 
			
		||||
// - ImFontAtlas
 | 
			
		||||
// - Internal Render Helpers
 | 
			
		||||
// - ImFont
 | 
			
		||||
// - Default font data
 | 
			
		||||
/*
 | 
			
		||||
Index of this file:
 | 
			
		||||
- Cruft for stb_truetype/stb_rectpack implementation
 | 
			
		||||
- Style functions (default style)
 | 
			
		||||
- ImDrawList
 | 
			
		||||
- ImDrawData
 | 
			
		||||
- ShadeVertsXXX helpers functions
 | 
			
		||||
- ImFontConfig
 | 
			
		||||
- ImFontAtlas
 | 
			
		||||
- ImFont
 | 
			
		||||
- Internal Render Helpers
 | 
			
		||||
- Default font data
 | 
			
		||||
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
 | 
			
		||||
#define _CRT_SECURE_NO_WARNINGS
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
// dear imgui, v1.63
 | 
			
		||||
// dear imgui, v1.64
 | 
			
		||||
// (internal structures/api)
 | 
			
		||||
 | 
			
		||||
// You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility!
 | 
			
		||||
@@ -1204,8 +1204,9 @@ namespace ImGui
 | 
			
		||||
    // Settings
 | 
			
		||||
    IMGUI_API void                  MarkIniSettingsDirty();
 | 
			
		||||
    IMGUI_API void                  MarkIniSettingsDirty(ImGuiWindow* window);
 | 
			
		||||
    IMGUI_API ImGuiSettingsHandler* FindSettingsHandler(const char* type_name);
 | 
			
		||||
    IMGUI_API ImGuiWindowSettings*  CreateNewWindowSettings(const char* name);
 | 
			
		||||
    IMGUI_API ImGuiWindowSettings*  FindWindowSettings(ImGuiID id);
 | 
			
		||||
    IMGUI_API ImGuiSettingsHandler* FindSettingsHandler(const char* type_name);
 | 
			
		||||
 | 
			
		||||
    // Basic Accessors
 | 
			
		||||
    inline ImGuiID          GetItemID()     { ImGuiContext& g = *GImGui; return g.CurrentWindow->DC.LastItemId; }
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										5532
									
								
								imgui_widgets.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5532
									
								
								imgui_widgets.cpp
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user