- Remove Scene Logic and only use Update as func - Begin with UI7 Horizontal scrollin gimpl and add Alignment funcs (not functional yet) - Generate a Lookup Table for Languages for faster access
28 lines
492 B
C++
28 lines
492 B
C++
#pragma once
|
|
|
|
#include <pd/palladium.hpp>
|
|
|
|
namespace Palladium {
|
|
class ThemeEditor : public Palladium::Scene {
|
|
public:
|
|
ThemeEditor();
|
|
~ThemeEditor();
|
|
|
|
void Update() override;
|
|
|
|
private:
|
|
Theme::Ref edit_theme;
|
|
// Placeholder to save active one to
|
|
Theme::Ref temp_theme;
|
|
|
|
// temp vars for samples
|
|
bool cm;
|
|
std::string inpt;
|
|
int menu = 0;
|
|
|
|
// Keyboard
|
|
PDKeyboardState kbd_state;
|
|
std::string kbd_text;
|
|
std::vector<std::string> theme_list;
|
|
};
|
|
} // namespace Palladium
|