2
0

UI.h 352 B

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. #include "App.h"
  3. namespace gameplay
  4. {
  5. class GP_API UI
  6. {
  7. friend class App;
  8. public:
  9. /**
  10. * Constructor.
  11. *
  12. * @see App::get_ui() instead.
  13. */
  14. UI();
  15. /**
  16. * Destructor.
  17. */
  18. ~UI();
  19. private:
  20. void startup();
  21. void shutdown();
  22. void update();
  23. struct Impl;
  24. std::unique_ptr<Impl> _impl;
  25. };
  26. }