From a359219e33fdf3afb5ddfbb084563054a947b106 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sat, 12 Feb 2022 19:13:34 +0100 Subject: Create project --- src/components/Menu.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/components/Menu.hpp (limited to 'src/components/Menu.hpp') 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 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 -- cgit v1.2.3