Open Source Tomb Raider Engine
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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