home *** CD-ROM | disk | FTP | other *** search
/ Enter 2005 March / ENTER.ISO / files / fwp-0.0.6-win32-installer.exe / CreditsMenu.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-12-06  |  541 b   |  28 lines

  1. #ifndef __CreditsMenu_h__
  2. #define __CreditsMenu_h__
  3.  
  4. #include "Menu.h"
  5. #include "Texture.h"
  6.  
  7. class CreditsMenu:public Menu{
  8. public:
  9.     CreditsMenu();
  10.     ~CreditsMenu();
  11.  
  12.     void draw();
  13.     bool open();
  14.  
  15.     void handleKeyboardEvent(SDL_KeyboardEvent* event);
  16.     void handleMouseButtonEvent(SDL_MouseButtonEvent* event);
  17.  
  18. protected:
  19.     Texture* backgroundTexture;
  20.     void drawBackground();
  21.     void drawCredits();
  22.     void printShadowedString(int x,int y,float scale, int alignment, const char* str);
  23. };
  24.  
  25.  
  26.  
  27. #endif    /* __CreditsMenu_h__ */
  28.