22 #ifndef NUVIE_GUI_GUI_SCROLLER_H 23 #define NUVIE_GUI_GUI_SCROLLER_H 27 #include "ultima/nuvie/gui/widgets/gui_widget.h" 28 #include "ultima/nuvie/screen/screen.h" 47 GUI_Scroller(
int x,
int y,
int w,
int h, uint8 r, uint8 g, uint8 b, uint16 r_height);
50 void SetDisplay(
Screen *s)
override;
54 void page_up(
bool all =
false);
55 void page_down(
bool all =
false);
60 void Display(
bool full_redraw)
override;
63 GUI_status MouseDown(
int x,
int y, Shared::MouseButton button)
override;
64 GUI_status MouseUp(
int x,
int y, Shared::MouseButton button)
override;
65 GUI_status MouseMotion(
int x,
int y, uint8 state)
override;
66 GUI_status MouseWheel(sint32 x, sint32 y)
override;
69 void update_viewport(
bool update_slider);
70 void move_percentage(
float offset_percentage);
71 GUI_status callback(uint16 msg,
GUI_CallBack *caller,
void *data)
override;
Definition: detection.h:27
Definition: gui_drag_manager.h:36
Definition: gui_callback.h:31