Advertisement
Guest User

Untitled

a guest
Sep 5th, 2013
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. #ifndef _CAPP_H_
  2. #define _CAPP_H_
  3.  
  4. #include <stdio.h>
  5. #include <SDL2/SDL.h>
  6. #include <SDL2/SDL_image.h>
  7.  
  8. class CApp
  9. {
  10. private:
  11. bool Running;
  12.  
  13. SDL_Window* gameWindow;
  14. SDL_Renderer* gameRenderer;
  15. SDL_Surface* testSurface;
  16. SDL_Texture* testImg;
  17.  
  18. SDL_Rect testRect;
  19.  
  20. public:
  21. CApp();
  22.  
  23. int OnExecute();
  24.  
  25. public:
  26. bool OnInit();
  27.  
  28. void OnEvent(SDL_Event* Event);
  29. void OnLoop();
  30. void OnRender();
  31. void OnCleanup();
  32. };
  33.  
  34. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement