aboutsummaryrefslogtreecommitdiff
path: root/src/components/Menu.hpp
blob: ca33ac386f8b184e15a7706d2b1aa942dbb3d61e (plain)
1
2
3
4
5
6
7
8
9
10
11
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