29 lines
573 B
C++
29 lines
573 B
C++
|
#pragma once
|
||
|
|
||
|
#include <pd/palladium.hpp>
|
||
|
|
||
|
namespace Palladium {
|
||
|
class ThemeEditor : public Palladium::Scene {
|
||
|
public:
|
||
|
ThemeEditor();
|
||
|
~ThemeEditor();
|
||
|
|
||
|
void Draw(void) const override;
|
||
|
void Logic() override;
|
||
|
|
||
|
private:
|
||
|
Theme::Ref edit_theme;
|
||
|
// Placeholder to save active one to
|
||
|
Theme::Ref temp_theme;
|
||
|
|
||
|
// temp vars for samples
|
||
|
mutable bool cm;
|
||
|
mutable std::string inpt;
|
||
|
mutable int menu = 0;
|
||
|
|
||
|
// Keyboard
|
||
|
mutable PDKeyboardState kbd_state;
|
||
|
mutable std::string kbd_text;
|
||
|
mutable std::vector<std::string> theme_list;
|
||
|
};
|
||
|
} // namespace Palladium
|