Open Source Tomb Raider Engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Menu.h 659B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*!
  2. * \file include/Menu.h
  3. * \brief Main Menu
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _MENU_H_
  8. #define _MENU_H_
  9. #include <vector>
  10. #include "Script.h"
  11. #include "utils/Folder.h"
  12. class Menu {
  13. public:
  14. static int initialize();
  15. static void shutdown();
  16. static void display();
  17. static bool isVisible() { return visible; }
  18. static void setVisible(bool v) { visible = v; }
  19. static const glm::vec4 textColor;
  20. static const glm::vec4 selectedColor;
  21. private:
  22. static bool visible;
  23. static Folder* mapFolder;
  24. static std::vector<Script> scripts;
  25. static std::vector<Folder> paths;
  26. static std::vector<int> images;
  27. };
  28. #endif