32     class Rect : 
public SDL_Rect
    41             SDL_Rect::w = size.
width();
    42             SDL_Rect::h = size.
height();
    50                 SDL_Rect::w = 
w; SDL_Rect::h = 
h;}
    54                 SDL_Rect::w = size.
width(); SDL_Rect::h = size.
height();}
    58                 SDL_Rect::w = rect->w; SDL_Rect::h = rect->h;}
    64                 SDL_Rect::w = rect.
width(); SDL_Rect::h = rect.
height();}
    69         void set(Sint16 
x, Sint16 
y, Uint16 
w, Uint16 
h)
    76             {SDL_Rect::w = size.
width(); SDL_Rect::h = size.
height();}
    79                 SDL_Rect::w = size.
width(); SDL_Rect::h = size.
height();}
    89         void setSize(Uint16 w, Uint16 
h) {SDL_Rect::w = 
w; SDL_Rect::h = 
h;}
    91             {SDL_Rect::w = size.
width(); SDL_Rect::h = size.
height();}
   104         Uint16 
width()
  const {
return SDL_Rect::w;}
   105         Uint16 
height()
 const {
return SDL_Rect::h;}
   110         inline bool inside(Uint16 x, Uint16 y) 
const;
   146 #endif // SDLTK_RECT_H Rect(const Rect &rect)
Definition: rect.h:62
void setPos(Sint16 x, Sint16 y)
Definition: rect.h:85
Sint16 x() const 
Definition: rect.h:102
Rect(Sint16 x, Sint16 y, Uint16 w, Uint16 h)
Definition: rect.h:48
Sint16 Uint16 w
Definition: rect.h:69
void setSize(Uint16 w, Uint16 h)
Definition: rect.h:89
Sint16 Uint16 Uint16 h
Definition: rect.h:70
Rect() ROLAND_DEFAULT Rect(const Point &origin
Standard Constructor. 
bool inside(const Point &p) const 
Definition: rect.h:126
GLuint GLfloat GLenum cap GLsizei GLuint *textures GLenum GLint *params void GLdouble GLdouble GLdouble GLdouble GLdouble GLdouble zFar GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid *pixels GLenum GLint GLint GLint GLsizei GLsizei GLenum GLenum const GLvoid *pixels GLfloat x
Definition: glfunclist.h:25
Sint16 y2() const 
Definition: rect.h:107
Sint16 x2() const 
Definition: rect.h:106
Point pos() const 
Definition: rect.h:99
void setSize(const Size &size)
Definition: rect.h:90
Sint16 y() const 
Definition: rect.h:103
void setHeight(Uint16 h)
Definition: rect.h:96
Point origin() const 
Definition: rect.h:98
Size size() const 
Definition: rect.h:100
void setOrigin(const Point &origin)
Definition: rect.h:82
Rect(SDL_Rect *rect)
Definition: rect.h:56
Sint16 y
Definition: rect.h:69
void setPos(const Point &pos)
Definition: rect.h:86
#define ROLAND_DEFAULT
Definition: compspec.h:46
~Rect() ROLAND_DEFAULT void set(Sint16 x
Standard Destructor. Does nothing. 
Defines a 2D point (x, y) 
Definition: point.h:28
Uint16 height() const 
Definition: rect.h:105
void setX(Sint16 x)
Definition: rect.h:93
defines a planar size (width, height) 
Definition: size.h:30
GLuint GLfloat GLenum cap GLsizei GLuint *textures GLenum GLint *params void GLdouble GLdouble GLdouble GLdouble GLdouble GLdouble zFar GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid *pixels GLenum GLint GLint GLint GLsizei GLsizei GLenum GLenum const GLvoid *pixels GLfloat GLfloat y GLubyte GLubyte GLubyte GLubyte a GLfloat GLbitfield mask void GLfloat size GLint GLint y
Definition: glfunclist.h:37
void setY(Sint16 y)
Definition: rect.h:94
void setWidth(Uint16 w)
Definition: rect.h:95
Uint16 height() const 
Definition: size.h:59
Uint16 width() const 
Definition: size.h:57
Sint16 y
Definition: point.h:35
void setOrigin(Sint16 x, Sint16 y)
Definition: rect.h:81
Uint16 width() const 
Definition: rect.h:104
the SDL based Stuff 
Definition: audio.cpp:22
Rect(Sint16 x, Sint16 y, const Size &size)
Definition: rect.h:52