添加 IMGUI

This commit is contained in:
baidwwy 2021-04-27 06:58:12 +08:00
parent ac10514897
commit 7b62690d77
5 changed files with 343 additions and 0 deletions

View File

@ -67,6 +67,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "socket", "lib\socket\socket
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SQL", "SQL", "{A2F80EDF-0270-4A3F-B212-06C13557797E}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gimgui", "lib\gimgui\gimgui.vcxproj", "{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM = Debug|ARM
@ -487,6 +489,22 @@ Global
{2B89BF02-C749-4CF4-8AAC-E9B5781C71D1}.Release|x64.Build.0 = Release|x64
{2B89BF02-C749-4CF4-8AAC-E9B5781C71D1}.Release|x86.ActiveCfg = Release|x86
{2B89BF02-C749-4CF4-8AAC-E9B5781C71D1}.Release|x86.Build.0 = Release|x86
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}.Debug|ARM.ActiveCfg = Debug|ARM
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}.Debug|ARM.Build.0 = Debug|ARM
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}.Debug|ARM64.ActiveCfg = Debug|ARM64
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}.Debug|ARM64.Build.0 = Debug|ARM64
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}.Debug|x64.ActiveCfg = Debug|x64
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}.Debug|x64.Build.0 = Debug|x64
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}.Debug|x86.ActiveCfg = Debug|x86
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}.Debug|x86.Build.0 = Debug|x86
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}.Release|ARM.ActiveCfg = Release|ARM
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}.Release|ARM.Build.0 = Release|ARM
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}.Release|ARM64.ActiveCfg = Release|ARM64
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}.Release|ARM64.Build.0 = Release|ARM64
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}.Release|x64.ActiveCfg = Release|x64
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}.Release|x64.Build.0 = Release|x64
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}.Release|x86.ActiveCfg = Release|x86
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@ -520,6 +538,7 @@ Global
{4D03B2AF-4991-4561-BD96-4DF4A21B56ED} = {AB5005FC-E855-47D7-B43C-B15A427D193B}
{2B89BF02-C749-4CF4-8AAC-E9B5781C71D1} = {AB5005FC-E855-47D7-B43C-B15A427D193B}
{A2F80EDF-0270-4A3F-B212-06C13557797E} = {49BE2731-DA8F-4041-8486-6C8188227CD7}
{5372A8AF-9347-4BDA-BA94-9CFD80720B2F} = {AB5005FC-E855-47D7-B43C-B15A427D193B}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {870A7F85-D65E-4927-8128-B095C513213E}

View File

@ -148,6 +148,7 @@
<ProjectReference Include="..\..\dep\main\main.vcxproj" />
<ProjectReference Include="..\..\lib\cjson\cjson.vcxproj" />
<ProjectReference Include="..\..\lib\ghpsocket\ghpsocket.vcxproj" />
<ProjectReference Include="..\..\lib\gimgui\gimgui.vcxproj" />
<ProjectReference Include="..\..\lib\gsdl2\gsdl2.vcxproj" />
<ProjectReference Include="..\..\lib\lsqlite3\lsqlite3.vcxproj" />
<ProjectReference Include="..\..\lib\socket\socket.vcxproj" />

View File

@ -0,0 +1,238 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|ARM">
<Configuration>Debug</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM">
<Configuration>Release</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|ARM64">
<Configuration>Debug</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM64">
<Configuration>Release</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x86">
<Configuration>Debug</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x86">
<Configuration>Release</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\..\source\lib\gimgui\backends\imgui_impl_sdl.cpp" />
<ClCompile Include="..\..\..\..\source\lib\gimgui\backends\imgui_impl_sdlrenderer.cpp" />
<ClCompile Include="..\..\..\..\source\lib\gimgui\help.cpp" />
<ClCompile Include="..\..\..\..\source\lib\gimgui\imgui\imgui.cpp" />
<ClCompile Include="..\..\..\..\source\lib\gimgui\imgui\imgui_demo.cpp" />
<ClCompile Include="..\..\..\..\source\lib\gimgui\imgui\imgui_draw.cpp" />
<ClCompile Include="..\..\..\..\source\lib\gimgui\imgui\imgui_tables.cpp" />
<ClCompile Include="..\..\..\..\source\lib\gimgui\imgui\imgui_widgets.cpp" />
<ClCompile Include="..\..\..\..\source\lib\gimgui\lua_DrawList.cpp" />
<ClCompile Include="..\..\..\..\source\lib\gimgui\lua_ImGui.cpp" />
<ClCompile Include="..\..\..\..\source\lib\gimgui\main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\..\source\lib\gimgui\backends\imgui_impl_sdl.h" />
<ClInclude Include="..\..\..\..\source\lib\gimgui\backends\imgui_impl_sdlrenderer.h" />
<ClInclude Include="..\..\..\..\source\lib\gimgui\help.h" />
<ClInclude Include="..\..\..\..\source\lib\gimgui\imgui\imconfig.h" />
<ClInclude Include="..\..\..\..\source\lib\gimgui\imgui\imgui.h" />
<ClInclude Include="..\..\..\..\source\lib\gimgui\imgui\imgui_internal.h" />
<ClInclude Include="..\..\..\..\source\lib\gimgui\imgui\imgui_user.h" />
<ClInclude Include="..\..\..\..\source\lib\gimgui\imgui\imstb_rectpack.h" />
<ClInclude Include="..\..\..\..\source\lib\gimgui\imgui\imstb_textedit.h" />
<ClInclude Include="..\..\..\..\source\lib\gimgui\imgui\imstb_truetype.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\dep\SDL2\SDL2.vcxproj">
<Project>{b7be417c-b6c5-4a69-a056-e0cb0c6a344c}</Project>
</ProjectReference>
<ProjectReference Include="..\..\lua\lua.vcxproj">
<Project>{8481f772-bc91-4032-8682-09809ef70942}</Project>
</ProjectReference>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{5372a8af-9347-4bda-ba94-9cfd80720b2f}</ProjectGuid>
<Keyword>Android</Keyword>
<RootNamespace>gimgui</RootNamespace>
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
<ApplicationType>Android</ApplicationType>
<ApplicationTypeRevision>3.0</ApplicationTypeRevision>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>Clang_5_0</PlatformToolset>
<AndroidAPILevel>android-24</AndroidAPILevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>Clang_5_0</PlatformToolset>
<AndroidAPILevel>android-24</AndroidAPILevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>Clang_5_0</PlatformToolset>
<AndroidAPILevel>android-24</AndroidAPILevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>Clang_5_0</PlatformToolset>
<AndroidAPILevel>android-24</AndroidAPILevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>Clang_5_0</PlatformToolset>
<AndroidAPILevel>android-24</AndroidAPILevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>Clang_5_0</PlatformToolset>
<AndroidAPILevel>android-24</AndroidAPILevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>Clang_5_0</PlatformToolset>
<AndroidAPILevel>android-24</AndroidAPILevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>Clang_5_0</PlatformToolset>
<AndroidAPILevel>android-24</AndroidAPILevel>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings" />
<ImportGroup Label="Shared" />
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<OutDir>$(SolutionDir).$(Platform)\$(Configuration)\</OutDir>
<IntDir>.$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<OutDir>$(SolutionDir).$(Platform)\$(Configuration)\</OutDir>
<IntDir>.$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
<OutDir>$(SolutionDir).$(Platform)\$(Configuration)\</OutDir>
<IntDir>.$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
<OutDir>$(SolutionDir).$(Platform)\$(Configuration)\</OutDir>
<IntDir>.$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
<OutDir>$(SolutionDir).$(Platform)\$(Configuration)\</OutDir>
<IntDir>.$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
<OutDir>$(SolutionDir).$(Platform)\$(Configuration)\</OutDir>
<IntDir>.$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
<OutDir>$(SolutionDir).$(Platform)\$(Configuration)\</OutDir>
<IntDir>.$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
<OutDir>$(SolutionDir).$(Platform)\$(Configuration)\</OutDir>
<IntDir>.$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile />
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\source\lua;$(SolutionDir)..\..\source\lib\gimgui;$(SolutionDir)..\..\source\lib\gimgui\imgui;$(SolutionDir)..\..\dependent\SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<LibraryDependencies>m;%(LibraryDependencies)</LibraryDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile />
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\source\lua;$(SolutionDir)..\..\source\lib\gimgui;$(SolutionDir)..\..\source\lib\gimgui\imgui;$(SolutionDir)..\..\dependent\SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<LibraryDependencies>m;%(LibraryDependencies)</LibraryDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
<ClCompile />
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\source\lua;$(SolutionDir)..\..\source\lib\gimgui;$(SolutionDir)..\..\source\lib\gimgui\imgui;$(SolutionDir)..\..\dependent\SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<LibraryDependencies>m;%(LibraryDependencies)</LibraryDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
<ClCompile />
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\source\lua;$(SolutionDir)..\..\source\lib\gimgui;$(SolutionDir)..\..\source\lib\gimgui\imgui;$(SolutionDir)..\..\dependent\SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<LibraryDependencies>m;%(LibraryDependencies)</LibraryDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
<ClCompile />
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\source\lua;$(SolutionDir)..\..\source\lib\gimgui;$(SolutionDir)..\..\source\lib\gimgui\imgui;$(SolutionDir)..\..\dependent\SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<LibraryDependencies>m;%(LibraryDependencies)</LibraryDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
<ClCompile />
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\source\lua;$(SolutionDir)..\..\source\lib\gimgui;$(SolutionDir)..\..\source\lib\gimgui\imgui;$(SolutionDir)..\..\dependent\SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<LibraryDependencies>m;%(LibraryDependencies)</LibraryDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
<ClCompile />
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\source\lua;$(SolutionDir)..\..\source\lib\gimgui;$(SolutionDir)..\..\source\lib\gimgui\imgui;$(SolutionDir)..\..\dependent\SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<LibraryDependencies>m;%(LibraryDependencies)</LibraryDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
<ClCompile />
<ClCompile>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\source\lua;$(SolutionDir)..\..\source\lib\gimgui;$(SolutionDir)..\..\source\lib\gimgui\imgui;$(SolutionDir)..\..\dependent\SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<LibraryDependencies>m;%(LibraryDependencies)</LibraryDependencies>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets" />
</Project>

View File

@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="..\..\..\..\source\lib\gimgui\backends\imgui_impl_sdl.cpp">
<Filter>backends</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\source\lib\gimgui\backends\imgui_impl_sdlrenderer.cpp">
<Filter>backends</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\source\lib\gimgui\imgui\imgui.cpp">
<Filter>imgui</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\source\lib\gimgui\imgui\imgui_demo.cpp">
<Filter>imgui</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\source\lib\gimgui\imgui\imgui_draw.cpp">
<Filter>imgui</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\source\lib\gimgui\imgui\imgui_tables.cpp">
<Filter>imgui</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\source\lib\gimgui\imgui\imgui_widgets.cpp">
<Filter>imgui</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\source\lib\gimgui\main.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\source\lib\gimgui\help.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\source\lib\gimgui\lua_DrawList.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="..\..\..\..\source\lib\gimgui\lua_ImGui.cpp">
<Filter>源文件</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\..\source\lib\gimgui\backends\imgui_impl_sdl.h">
<Filter>backends</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\source\lib\gimgui\backends\imgui_impl_sdlrenderer.h">
<Filter>backends</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\source\lib\gimgui\imgui\imconfig.h">
<Filter>imgui</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\source\lib\gimgui\imgui\imgui.h">
<Filter>imgui</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\source\lib\gimgui\imgui\imgui_internal.h">
<Filter>imgui</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\source\lib\gimgui\imgui\imgui_user.h">
<Filter>imgui</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\source\lib\gimgui\imgui\imstb_rectpack.h">
<Filter>imgui</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\source\lib\gimgui\imgui\imstb_textedit.h">
<Filter>imgui</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\source\lib\gimgui\imgui\imstb_truetype.h">
<Filter>imgui</Filter>
</ClInclude>
<ClInclude Include="..\..\..\..\source\lib\gimgui\help.h">
<Filter>源文件</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="backends">
<UniqueIdentifier>{9132889c-c0bc-460f-b6c4-bebb3c8bb2db}</UniqueIdentifier>
</Filter>
<Filter Include="imgui">
<UniqueIdentifier>{973f5e39-329f-4b9e-a800-86b6440e3435}</UniqueIdentifier>
</Filter>
<Filter Include="源文件">
<UniqueIdentifier>{886b6957-d9fd-4dab-9b21-6f53a397f77e}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>