/[enigma]/enigma/src/px/sdl.hh
ViewVC logotype

Diff of /enigma/src/px/sdl.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dheck, Sun Jan 5 20:01:41 2003 UTC revision 1.2 by dheck, Tue Jan 7 00:28:11 2003 UTC
# Line 3  Line 3 
3    
4  #ifndef PX_SDL_HH  #ifndef PX_SDL_HH
5  #define PX_SDL_HH  #define PX_SDL_HH
6    
7    #include "geom.hh"
8  #include "SDL.h"  #include "SDL.h"
9    
10  namespace sdl  namespace sdl
# Line 29  namespace sdl Line 31  namespace sdl
31          // that none of the specialized methods above decided to handle.          // that none of the specialized methods above decided to handle.
32          virtual bool on_event(SDL_Event &e) { return false; }          virtual bool on_event(SDL_Event &e) { return false; }
33      };      };
34    
35        inline void fill_rect(SDL_Rect &s,const px::Rect &r) {
36            s.x = r.x; s.y = r.y;
37            s.w = r.w; s.h = r.h;
38        }
39    
40  }  }
41  #endif  #endif

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26