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

Selector.h 438B

12345678910111213141516171819202122232425
  1. /*!
  2. * \file include/Selector.h
  3. * \brief Selector Window
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _SELECTOR_H_
  8. #define _SELECTOR_H_
  9. class Selector {
  10. public:
  11. static void display();
  12. static bool isVisible() { return visible; }
  13. static void setVisible(bool v) { visible = v; }
  14. static void handleMouseClick(unsigned int x, unsigned int y, KeyboardButton button, bool released);
  15. private:
  16. static bool visible;
  17. };
  18. #endif