17 #define GETTEXT_DOMAIN "wesnoth-lib"
28 :
widget(video, auto_join), scrollbar_(video),
29 old_position_(0), recursive_(false), shown_scrollbar_(false),
30 shown_size_(0), full_size_(0)
158 if (event.type != SDL_MOUSEWHEEL)
161 const SDL_MouseWheelEvent &ev =
event.wheel;
163 SDL_GetMouseState(&x, &y);
167 }
else if (ev.y < 0) {
std::vector< events::sdl_handler * > sdl_handler_vector
GLint GLint GLint GLint GLint GLint y
GLubyte GLubyte GLubyte GLubyte w
GLsizei const GLfloat * value
bool point_in_rect(int x, int y, const SDL_Rect &rect)
Tests whether a point is inside a rectangle.
GLfloat GLfloat GLfloat GLfloat h
GLint GLint GLint GLint GLint x
GLdouble GLdouble GLdouble r
Contains the SDL_Rect helper code.