mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 21:33:40 -07:00
Merge 6fbc8a0b89
into 568639dfc0
This commit is contained in:
commit
8559ac4117
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
#include <spdlog/fmt/fmt.h>
|
#include <spdlog/fmt/fmt.h>
|
||||||
#include "variables.h"
|
#include "variables.h"
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
|
#include "imgui_impl_sdl2.h"
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#include "z64.h"
|
#include "z64.h"
|
||||||
|
@ -120,6 +121,7 @@ UIWidgets::Colors Menu::GetMenuThemeColor() {
|
||||||
Menu::Menu(const std::string& cVar, const std::string& name, uint8_t searchSidebarIndex_,
|
Menu::Menu(const std::string& cVar, const std::string& name, uint8_t searchSidebarIndex_,
|
||||||
UIWidgets::Colors defaultThemeIndex_)
|
UIWidgets::Colors defaultThemeIndex_)
|
||||||
: GuiWindow(cVar, name), searchSidebarIndex(searchSidebarIndex_), defaultThemeIndex(defaultThemeIndex_) {
|
: GuiWindow(cVar, name), searchSidebarIndex(searchSidebarIndex_), defaultThemeIndex(defaultThemeIndex_) {
|
||||||
|
ImGui_ImplSDL2_SetGamepadMode(ImGui_ImplSDL2_GamepadMode::ImGui_ImplSDL2_GamepadMode_AutoAll);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Menu::InitElement() {
|
void Menu::InitElement() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue