diff options
Diffstat (limited to 'src/components/Menu.hpp')
| -rw-r--r-- | src/components/Menu.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/Menu.hpp b/src/components/Menu.hpp new file mode 100644 index 0000000..ca33ac3 --- /dev/null +++ b/src/components/Menu.hpp @@ -0,0 +1,12 @@ +#include "Component.hpp" + +namespace cgeditor { +class Menu : public Component { + std::vector<std::string> entries; + /// @brief Set to true if the menu was open during the last editor draw + bool WasOpen; +public: + Menu(Status *s); + void Refresh(); +}; +} // namespace cgeditor
\ No newline at end of file |
