aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/UIAdapter.hpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2023-12-19 00:38:54 +0100
committer hop311 <hop3114@gmail.com>2023-12-25 19:06:13 +0100
commit4e9764ee29fb7b453862835d5aa3a081b0f9a269 (patch)
treea59c5b960a706a383b8ebd1dbcfb704067a5b51b /extension/src/openvic-extension/UIAdapter.hpp
parentd26c990d9a5596a3ef3b32ba1cb0f99950cd6d34 (diff)
Back to UI Work
- UIAdapter -> UITools with cleaner API - GUIOverlappingElementsBox (for core and modifier icons) - Improved GUINode API - Province building slots - TypeHints for files in the GameSession folder - Incorporate SIM strong colour types
Diffstat (limited to 'extension/src/openvic-extension/UIAdapter.hpp')
-rw-r--r--extension/src/openvic-extension/UIAdapter.hpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/extension/src/openvic-extension/UIAdapter.hpp b/extension/src/openvic-extension/UIAdapter.hpp
deleted file mode 100644
index 258b5e9..0000000
--- a/extension/src/openvic-extension/UIAdapter.hpp
+++ /dev/null
@@ -1,28 +0,0 @@
-#pragma once
-
-#include <godot_cpp/classes/control.hpp>
-
-#include <openvic-simulation/interface/GUI.hpp>
-
-#include "openvic-extension/singletons/AssetManager.hpp"
-
-namespace OpenVic::GodotGUIBuilder {
-
- bool generate_element(
- GUI::Element const* element, godot::String const& name, AssetManager& asset_manager, godot::Control*& result
- );
-
-#define GEN_GUI_ARGS \
- GUI::Element const& element, godot::String const& name, AssetManager& asset_manager, godot::Control*& result
-
- bool generate_icon(GEN_GUI_ARGS);
- bool generate_button(GEN_GUI_ARGS);
- bool generate_checkbox(GEN_GUI_ARGS);
- bool generate_text(GEN_GUI_ARGS);
- bool generate_overlapping_elements(GEN_GUI_ARGS);
- bool generate_listbox(GEN_GUI_ARGS);
- bool generate_window(GEN_GUI_ARGS);
-
-#undef GEN_GUI_ARGS
-
-}