Add slot_map and begin ui context

This commit is contained in:
Mr-Wiseguy 2025-01-17 19:59:07 -05:00
parent 8fc3b088ee
commit 135e63830c
5 changed files with 17 additions and 0 deletions

3
.gitmodules vendored
View File

@ -19,3 +19,6 @@
[submodule "Zelda64RecompSyms"]
path = Zelda64RecompSyms
url = https://github.com/Zelda64Recomp/Zelda64RecompSyms
[submodule "lib/slot_map"]
path = lib/slot_map
url = https://github.com/SergeyMakeev/slot_map

View File

@ -162,6 +162,7 @@ set (SOURCES
${CMAKE_SOURCE_DIR}/src/ui/ui_mod_details_panel.cpp
${CMAKE_SOURCE_DIR}/src/ui/ui_mod_menu.cpp
${CMAKE_SOURCE_DIR}/src/ui/util/hsv.cpp
${CMAKE_SOURCE_DIR}/src/ui/core/ui_context.cpp
${CMAKE_SOURCE_DIR}/src/ui/elements/ElementConfigGroup.cpp
${CMAKE_SOURCE_DIR}/src/ui/elements/ElementConfigOption.cpp
${CMAKE_SOURCE_DIR}/src/ui/elements/ElementDescription.cpp
@ -204,6 +205,7 @@ target_include_directories(Zelda64Recompiled PRIVATE
${CMAKE_SOURCE_DIR}/lib/rt64/src/render
${CMAKE_SOURCE_DIR}/lib/freetype-windows-binaries/include
${CMAKE_SOURCE_DIR}/lib/rt64/src/contrib/nativefiledialog-extended/src/include
${CMAKE_SOURCE_DIR}/lib/slot_map/slot_map
${CMAKE_BINARY_DIR}/shaders
${CMAKE_CURRENT_BINARY_DIR}
)

1
lib/slot_map Submodule

@ -0,0 +1 @@
Subproject commit b8ac8ebd89aa1cd18f20ce6e4ad1cac716f1933f

View File

@ -0,0 +1,3 @@
#include "slot_map.h"
#include "ui_context.hpp"

View File

@ -0,0 +1,8 @@
#pragma once
#include "../elements/ui_element.h"
namespace recompui {
} // namespace recompui