20 #ifndef SDLTK_WIDGET_H 21 #define SDLTK_WIDGET_H 49 virtual void draw() = 0;
55 virtual bool onKeyboard (SDL_KeyboardEvent * event) {
return false;}
57 virtual bool onUser (SDL_UserEvent * event) {
return false;}
134 #endif // SDLTK_WIDGET_H
void set(Uint8 r, Uint8 g, Uint8 b, Uint8 a=255)
Definition: color.cpp:30
Sint16 x() const
Definition: rect.h:102
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 b
Definition: glfunclist.h:27
const Size & size
Definition: rect.h:39
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 r
Definition: glfunclist.h:27
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 g
Definition: glfunclist.h:27
Point pos() const
Definition: rect.h:99
void setHeight(Uint16 h)
Definition: rect.h:96
Sint16 y
Definition: rect.h:69
GLuint GLfloat GLenum cap GLsizei GLuint *textures GLenum GLint *params void GLdouble GLdouble GLdouble GLdouble GLdouble GLdouble zFar GLenum target
Definition: glfunclist.h:21
#define ROLAND_DEFAULT
Definition: compspec.h:46
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
void setY(Sint16 y)
Definition: rect.h:94
void setWidth(Uint16 w)
Definition: rect.h:95
RGBA Color Type.
Definition: color.h:30
Uint16 width() const
Definition: rect.h:104
the SDL based Stuff
Definition: audio.cpp:22