LoadingScreen.h 288 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include <string>
  3. #include <GL\freeglut.h>
  4. class LoadingScreen
  5. {
  6. public:
  7. LoadingScreen();
  8. ~LoadingScreen();
  9. void draw();
  10. void rise();
  11. int points;
  12. GLuint textureId;
  13. void setTexture(const std::string fileName);
  14. private:
  15. const std::string loading = "Loaded: ";
  16. };