ImGuiFullscreen: Move to core
This commit is contained in:
parent
fd76f437b3
commit
c43df29abc
|
@ -57,6 +57,10 @@ add_library(core
|
||||||
host_interface.h
|
host_interface.h
|
||||||
host_interface_progress_callback.cpp
|
host_interface_progress_callback.cpp
|
||||||
host_interface_progress_callback.h
|
host_interface_progress_callback.h
|
||||||
|
imgui_styles.cpp
|
||||||
|
imgui_styles.h
|
||||||
|
imgui_fullscreen.cpp
|
||||||
|
imgui_fullscreen.h
|
||||||
interrupt_controller.cpp
|
interrupt_controller.cpp
|
||||||
interrupt_controller.h
|
interrupt_controller.h
|
||||||
libcrypt_game_codes.cpp
|
libcrypt_game_codes.cpp
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<Import Project="..\..\dep\msvc\vsprops\Configurations.props" />
|
<Import Project="..\..\dep\msvc\vsprops\Configurations.props" />
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="analog_controller.cpp" />
|
<ClCompile Include="analog_controller.cpp" />
|
||||||
<ClCompile Include="analog_joystick.cpp" />
|
<ClCompile Include="analog_joystick.cpp" />
|
||||||
|
@ -50,6 +49,8 @@
|
||||||
<ClCompile Include="host_display.cpp" />
|
<ClCompile Include="host_display.cpp" />
|
||||||
<ClCompile Include="host_interface.cpp" />
|
<ClCompile Include="host_interface.cpp" />
|
||||||
<ClCompile Include="host_interface_progress_callback.cpp" />
|
<ClCompile Include="host_interface_progress_callback.cpp" />
|
||||||
|
<ClCompile Include="imgui_fullscreen.cpp" />
|
||||||
|
<ClCompile Include="imgui_styles.cpp" />
|
||||||
<ClCompile Include="interrupt_controller.cpp" />
|
<ClCompile Include="interrupt_controller.cpp" />
|
||||||
<ClCompile Include="libcrypt_game_codes.cpp" />
|
<ClCompile Include="libcrypt_game_codes.cpp" />
|
||||||
<ClCompile Include="mdec.cpp" />
|
<ClCompile Include="mdec.cpp" />
|
||||||
|
@ -117,6 +118,8 @@
|
||||||
<ClInclude Include="host_display.h" />
|
<ClInclude Include="host_display.h" />
|
||||||
<ClInclude Include="host_interface.h" />
|
<ClInclude Include="host_interface.h" />
|
||||||
<ClInclude Include="host_interface_progress_callback.h" />
|
<ClInclude Include="host_interface_progress_callback.h" />
|
||||||
|
<ClInclude Include="imgui_fullscreen.h" />
|
||||||
|
<ClInclude Include="imgui_styles.h" />
|
||||||
<ClInclude Include="interrupt_controller.h" />
|
<ClInclude Include="interrupt_controller.h" />
|
||||||
<ClInclude Include="libcrypt_game_codes.h" />
|
<ClInclude Include="libcrypt_game_codes.h" />
|
||||||
<ClInclude Include="mdec.h" />
|
<ClInclude Include="mdec.h" />
|
||||||
|
@ -143,20 +146,15 @@
|
||||||
<ClInclude Include="timing_event.h" />
|
<ClInclude Include="timing_event.h" />
|
||||||
<ClInclude Include="types.h" />
|
<ClInclude Include="types.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
<ProjectGuid>{868B98C8-65A1-494B-8346-250A73A48C0A}</ProjectGuid>
|
<ProjectGuid>{868B98C8-65A1-494B-8346-250A73A48C0A}</ProjectGuid>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<Import Project="..\..\dep\msvc\vsprops\StaticLibrary.props" />
|
<Import Project="..\..\dep\msvc\vsprops\StaticLibrary.props" />
|
||||||
|
|
||||||
<Import Project="core.props" />
|
<Import Project="core.props" />
|
||||||
|
|
||||||
<ItemDefinitionGroup>
|
<ItemDefinitionGroup>
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<ObjectFileName>$(IntDir)/%(RelativeDir)/</ObjectFileName>
|
<ObjectFileName>$(IntDir)/%(RelativeDir)/</ObjectFileName>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|
||||||
<Import Project="..\..\dep\msvc\vsprops\Targets.props" />
|
<Import Project="..\..\dep\msvc\vsprops\Targets.props" />
|
||||||
</Project>
|
</Project>
|
|
@ -56,9 +56,10 @@
|
||||||
<ClCompile Include="gpu_sw_backend.cpp" />
|
<ClCompile Include="gpu_sw_backend.cpp" />
|
||||||
<ClCompile Include="libcrypt_game_codes.cpp" />
|
<ClCompile Include="libcrypt_game_codes.cpp" />
|
||||||
<ClCompile Include="texture_replacements.cpp" />
|
<ClCompile Include="texture_replacements.cpp" />
|
||||||
<ClCompile Include="gdb_protocol.h" />
|
|
||||||
<ClCompile Include="multitap.cpp" />
|
<ClCompile Include="multitap.cpp" />
|
||||||
<ClCompile Include="gpu_hw_d3d12.cpp" />
|
<ClCompile Include="gpu_hw_d3d12.cpp" />
|
||||||
|
<ClCompile Include="imgui_fullscreen.cpp" />
|
||||||
|
<ClCompile Include="imgui_styles.cpp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="types.h" />
|
<ClInclude Include="types.h" />
|
||||||
|
@ -120,5 +121,8 @@
|
||||||
<ClInclude Include="shader_cache_version.h" />
|
<ClInclude Include="shader_cache_version.h" />
|
||||||
<ClInclude Include="multitap.h" />
|
<ClInclude Include="multitap.h" />
|
||||||
<ClInclude Include="gpu_hw_d3d12.h" />
|
<ClInclude Include="gpu_hw_d3d12.h" />
|
||||||
|
<ClInclude Include="gdb_protocol.h" />
|
||||||
|
<ClInclude Include="imgui_fullscreen.h" />
|
||||||
|
<ClInclude Include="imgui_styles.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
|
@ -8,8 +8,8 @@
|
||||||
#include "common/string.h"
|
#include "common/string.h"
|
||||||
#include "common/string_util.h"
|
#include "common/string_util.h"
|
||||||
#include "common/timer.h"
|
#include "common/timer.h"
|
||||||
#include "core/host_display.h"
|
#include "host_display.h"
|
||||||
#include "core/host_interface.h"
|
#include "host_interface.h"
|
||||||
#include "imgui_internal.h"
|
#include "imgui_internal.h"
|
||||||
#include "imgui_styles.h"
|
#include "imgui_styles.h"
|
||||||
#include <cmath>
|
#include <cmath>
|
|
@ -7,11 +7,11 @@
|
||||||
#include "core/controller.h"
|
#include "core/controller.h"
|
||||||
#include "core/gpu.h"
|
#include "core/gpu.h"
|
||||||
#include "core/host_display.h"
|
#include "core/host_display.h"
|
||||||
|
#include "core/imgui_styles.h"
|
||||||
#include "core/system.h"
|
#include "core/system.h"
|
||||||
#include "frontend-common/controller_interface.h"
|
#include "frontend-common/controller_interface.h"
|
||||||
#include "frontend-common/fullscreen_ui.h"
|
#include "frontend-common/fullscreen_ui.h"
|
||||||
#include "frontend-common/icon.h"
|
#include "frontend-common/icon.h"
|
||||||
#include "frontend-common/imgui_styles.h"
|
|
||||||
#include "frontend-common/ini_settings_interface.h"
|
#include "frontend-common/ini_settings_interface.h"
|
||||||
#include "frontend-common/opengl_host_display.h"
|
#include "frontend-common/opengl_host_display.h"
|
||||||
#include "frontend-common/vulkan_host_display.h"
|
#include "frontend-common/vulkan_host_display.h"
|
||||||
|
|
|
@ -8,12 +8,12 @@
|
||||||
#include "core/cheats.h"
|
#include "core/cheats.h"
|
||||||
#include "core/controller.h"
|
#include "core/controller.h"
|
||||||
#include "core/gpu.h"
|
#include "core/gpu.h"
|
||||||
|
#include "core/imgui_fullscreen.h"
|
||||||
|
#include "core/imgui_styles.h"
|
||||||
#include "core/memory_card.h"
|
#include "core/memory_card.h"
|
||||||
#include "core/system.h"
|
#include "core/system.h"
|
||||||
#include "frontend-common/fullscreen_ui.h"
|
#include "frontend-common/fullscreen_ui.h"
|
||||||
#include "frontend-common/game_list.h"
|
#include "frontend-common/game_list.h"
|
||||||
#include "frontend-common/imgui_fullscreen.h"
|
|
||||||
#include "frontend-common/imgui_styles.h"
|
|
||||||
#include "frontend-common/ini_settings_interface.h"
|
#include "frontend-common/ini_settings_interface.h"
|
||||||
#include "frontend-common/opengl_host_display.h"
|
#include "frontend-common/opengl_host_display.h"
|
||||||
#include "frontend-common/sdl_audio_stream.h"
|
#include "frontend-common/sdl_audio_stream.h"
|
||||||
|
|
|
@ -23,14 +23,10 @@ add_library(frontend-common
|
||||||
ini_settings_interface.h
|
ini_settings_interface.h
|
||||||
input_overlay_ui.cpp
|
input_overlay_ui.cpp
|
||||||
input_overlay_ui.h
|
input_overlay_ui.h
|
||||||
imgui_fullscreen.cpp
|
|
||||||
imgui_fullscreen.h
|
|
||||||
imgui_impl_opengl3.cpp
|
imgui_impl_opengl3.cpp
|
||||||
imgui_impl_opengl3.h
|
imgui_impl_opengl3.h
|
||||||
imgui_impl_vulkan.cpp
|
imgui_impl_vulkan.cpp
|
||||||
imgui_impl_vulkan.h
|
imgui_impl_vulkan.h
|
||||||
imgui_styles.cpp
|
|
||||||
imgui_styles.h
|
|
||||||
opengl_host_display.cpp
|
opengl_host_display.cpp
|
||||||
opengl_host_display.h
|
opengl_host_display.h
|
||||||
postprocessing_chain.cpp
|
postprocessing_chain.cpp
|
||||||
|
|
|
@ -12,9 +12,9 @@
|
||||||
#include "core/bus.h"
|
#include "core/bus.h"
|
||||||
#include "core/cpu_core.h"
|
#include "core/cpu_core.h"
|
||||||
#include "core/host_display.h"
|
#include "core/host_display.h"
|
||||||
|
#include "core/imgui_fullscreen.h"
|
||||||
#include "core/system.h"
|
#include "core/system.h"
|
||||||
#include "fullscreen_ui.h"
|
#include "fullscreen_ui.h"
|
||||||
#include "imgui_fullscreen.h"
|
|
||||||
#include "rapidjson/document.h"
|
#include "rapidjson/document.h"
|
||||||
#include "rc_url.h"
|
#include "rc_url.h"
|
||||||
#include "rcheevos.h"
|
#include "rcheevos.h"
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
#include "core/gpu.h"
|
#include "core/gpu.h"
|
||||||
#include "core/gte.h"
|
#include "core/gte.h"
|
||||||
#include "core/host_display.h"
|
#include "core/host_display.h"
|
||||||
|
#include "core/imgui_fullscreen.h"
|
||||||
|
#include "core/imgui_styles.h"
|
||||||
#include "core/mdec.h"
|
#include "core/mdec.h"
|
||||||
#include "core/pgxp.h"
|
#include "core/pgxp.h"
|
||||||
#include "core/save_state_version.h"
|
#include "core/save_state_version.h"
|
||||||
|
@ -27,8 +29,6 @@
|
||||||
#include "game_list.h"
|
#include "game_list.h"
|
||||||
#include "icon.h"
|
#include "icon.h"
|
||||||
#include "imgui.h"
|
#include "imgui.h"
|
||||||
#include "imgui_fullscreen.h"
|
|
||||||
#include "imgui_styles.h"
|
|
||||||
#include "inhibit_screensaver.h"
|
#include "inhibit_screensaver.h"
|
||||||
#include "ini_settings_interface.h"
|
#include "ini_settings_interface.h"
|
||||||
#include "input_overlay_ui.h"
|
#include "input_overlay_ui.h"
|
||||||
|
|
|
@ -18,12 +18,10 @@
|
||||||
<ClCompile Include="game_list.cpp" />
|
<ClCompile Include="game_list.cpp" />
|
||||||
<ClCompile Include="game_settings.cpp" />
|
<ClCompile Include="game_settings.cpp" />
|
||||||
<ClCompile Include="icon.cpp" />
|
<ClCompile Include="icon.cpp" />
|
||||||
<ClCompile Include="imgui_fullscreen.cpp" />
|
|
||||||
<ClCompile Include="imgui_impl_dx11.cpp" />
|
<ClCompile Include="imgui_impl_dx11.cpp" />
|
||||||
<ClCompile Include="imgui_impl_dx12.cpp" />
|
<ClCompile Include="imgui_impl_dx12.cpp" />
|
||||||
<ClCompile Include="imgui_impl_opengl3.cpp" />
|
<ClCompile Include="imgui_impl_opengl3.cpp" />
|
||||||
<ClCompile Include="imgui_impl_vulkan.cpp" />
|
<ClCompile Include="imgui_impl_vulkan.cpp" />
|
||||||
<ClCompile Include="imgui_styles.cpp" />
|
|
||||||
<ClCompile Include="inhibit_screensaver.cpp" />
|
<ClCompile Include="inhibit_screensaver.cpp" />
|
||||||
<ClCompile Include="ini_settings_interface.cpp" />
|
<ClCompile Include="ini_settings_interface.cpp" />
|
||||||
<ClCompile Include="input_overlay_ui.cpp" />
|
<ClCompile Include="input_overlay_ui.cpp" />
|
||||||
|
@ -63,12 +61,10 @@
|
||||||
<ClInclude Include="game_list.h" />
|
<ClInclude Include="game_list.h" />
|
||||||
<ClInclude Include="game_settings.h" />
|
<ClInclude Include="game_settings.h" />
|
||||||
<ClInclude Include="icon.h" />
|
<ClInclude Include="icon.h" />
|
||||||
<ClInclude Include="imgui_fullscreen.h" />
|
|
||||||
<ClInclude Include="imgui_impl_dx11.h" />
|
<ClInclude Include="imgui_impl_dx11.h" />
|
||||||
<ClInclude Include="imgui_impl_dx12.h" />
|
<ClInclude Include="imgui_impl_dx12.h" />
|
||||||
<ClInclude Include="imgui_impl_opengl3.h" />
|
<ClInclude Include="imgui_impl_opengl3.h" />
|
||||||
<ClInclude Include="imgui_impl_vulkan.h" />
|
<ClInclude Include="imgui_impl_vulkan.h" />
|
||||||
<ClInclude Include="imgui_styles.h" />
|
|
||||||
<ClInclude Include="inhibit_screensaver.h" />
|
<ClInclude Include="inhibit_screensaver.h" />
|
||||||
<ClInclude Include="ini_settings_interface.h" />
|
<ClInclude Include="ini_settings_interface.h" />
|
||||||
<ClInclude Include="input_overlay_ui.h" />
|
<ClInclude Include="input_overlay_ui.h" />
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="icon.cpp" />
|
<ClCompile Include="icon.cpp" />
|
||||||
<ClCompile Include="imgui_styles.cpp" />
|
|
||||||
<ClCompile Include="sdl_audio_stream.cpp" />
|
<ClCompile Include="sdl_audio_stream.cpp" />
|
||||||
<ClCompile Include="sdl_controller_interface.cpp" />
|
<ClCompile Include="sdl_controller_interface.cpp" />
|
||||||
<ClCompile Include="sdl_initializer.cpp" />
|
<ClCompile Include="sdl_initializer.cpp" />
|
||||||
|
@ -24,7 +23,6 @@
|
||||||
<ClCompile Include="postprocessing_chain.cpp" />
|
<ClCompile Include="postprocessing_chain.cpp" />
|
||||||
<ClCompile Include="cubeb_audio_stream.cpp" />
|
<ClCompile Include="cubeb_audio_stream.cpp" />
|
||||||
<ClCompile Include="dinput_controller_interface.cpp" />
|
<ClCompile Include="dinput_controller_interface.cpp" />
|
||||||
<ClCompile Include="imgui_fullscreen.cpp" />
|
|
||||||
<ClCompile Include="fullscreen_ui.cpp" />
|
<ClCompile Include="fullscreen_ui.cpp" />
|
||||||
<ClCompile Include="fullscreen_ui_progress_callback.cpp" />
|
<ClCompile Include="fullscreen_ui_progress_callback.cpp" />
|
||||||
<ClCompile Include="cheevos.cpp" />
|
<ClCompile Include="cheevos.cpp" />
|
||||||
|
@ -37,7 +35,6 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="icon.h" />
|
<ClInclude Include="icon.h" />
|
||||||
<ClInclude Include="imgui_styles.h" />
|
|
||||||
<ClInclude Include="sdl_audio_stream.h" />
|
<ClInclude Include="sdl_audio_stream.h" />
|
||||||
<ClInclude Include="sdl_controller_interface.h" />
|
<ClInclude Include="sdl_controller_interface.h" />
|
||||||
<ClInclude Include="sdl_initializer.h" />
|
<ClInclude Include="sdl_initializer.h" />
|
||||||
|
@ -59,7 +56,6 @@
|
||||||
<ClInclude Include="postprocessing_chain.h" />
|
<ClInclude Include="postprocessing_chain.h" />
|
||||||
<ClInclude Include="cubeb_audio_stream.h" />
|
<ClInclude Include="cubeb_audio_stream.h" />
|
||||||
<ClInclude Include="dinput_controller_interface.h" />
|
<ClInclude Include="dinput_controller_interface.h" />
|
||||||
<ClInclude Include="imgui_fullscreen.h" />
|
|
||||||
<ClInclude Include="fullscreen_ui.h" />
|
<ClInclude Include="fullscreen_ui.h" />
|
||||||
<ClInclude Include="fullscreen_ui_progress_callback.h" />
|
<ClInclude Include="fullscreen_ui_progress_callback.h" />
|
||||||
<ClInclude Include="cheevos.h" />
|
<ClInclude Include="cheevos.h" />
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
#include "core/gpu.h"
|
#include "core/gpu.h"
|
||||||
#include "core/host_display.h"
|
#include "core/host_display.h"
|
||||||
#include "core/host_interface_progress_callback.h"
|
#include "core/host_interface_progress_callback.h"
|
||||||
|
#include "core/imgui_fullscreen.h"
|
||||||
|
#include "core/imgui_styles.h"
|
||||||
#include "core/resources.h"
|
#include "core/resources.h"
|
||||||
#include "core/settings.h"
|
#include "core/settings.h"
|
||||||
#include "core/system.h"
|
#include "core/system.h"
|
||||||
|
@ -24,10 +26,8 @@
|
||||||
#include "game_list.h"
|
#include "game_list.h"
|
||||||
#include "icon.h"
|
#include "icon.h"
|
||||||
#include "imgui.h"
|
#include "imgui.h"
|
||||||
#include "imgui_fullscreen.h"
|
|
||||||
#include "imgui_internal.h"
|
#include "imgui_internal.h"
|
||||||
#include "imgui_stdlib.h"
|
#include "imgui_stdlib.h"
|
||||||
#include "imgui_styles.h"
|
|
||||||
#include "scmversion/scmversion.h"
|
#include "scmversion/scmversion.h"
|
||||||
#include <bitset>
|
#include <bitset>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include "fullscreen_ui_progress_callback.h"
|
#include "fullscreen_ui_progress_callback.h"
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
#include "core/host_interface.h"
|
#include "core/host_interface.h"
|
||||||
#include "imgui_fullscreen.h"
|
#include "core/imgui_fullscreen.h"
|
||||||
Log_SetChannel(ProgressCallback);
|
Log_SetChannel(ProgressCallback);
|
||||||
|
|
||||||
namespace FullscreenUI {
|
namespace FullscreenUI {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#include "input_overlay_ui.h"
|
#include "input_overlay_ui.h"
|
||||||
#include "common_host_interface.h"
|
#include "common_host_interface.h"
|
||||||
|
#include "core/imgui_fullscreen.h"
|
||||||
#include "core/pad.h"
|
#include "core/pad.h"
|
||||||
#include "core/settings.h"
|
#include "core/settings.h"
|
||||||
#include "core/system.h"
|
#include "core/system.h"
|
||||||
#include "fullscreen_ui.h"
|
#include "fullscreen_ui.h"
|
||||||
#include "imgui_fullscreen.h"
|
|
||||||
|
|
||||||
static CommonHostInterface* GetHostInterface()
|
static CommonHostInterface* GetHostInterface()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue