22 #ifndef AGS_SHARED_GUI_GUI_SLIDER_H 23 #define AGS_SHARED_GUI_GUI_SLIDER_H 25 #include "common/std/vector.h" 26 #include "ags/shared/gui/gui_object.h" 37 bool IsHorizontal()
const;
38 bool IsOverControl(
int x,
int y,
int leeway)
const override;
41 bool IsContentClipped()
const override {
return false; }
42 bool HasAlphaChannel()
const override;
45 Rect CalcGraphicRect(
bool clipped)
override;
46 void Draw(
Bitmap *ds,
int x = 0,
int y = 0)
override;
49 bool OnMouseDown()
override;
50 void OnMouseMove(
int xp,
int yp)
override;
51 void OnMouseUp()
override;
54 void ReadFromFile(
Stream *in, GuiVersion gui_version)
override;
55 void WriteToFile(
Stream *out)
const override;
56 void ReadFromSavegame(
Stream *in, GuiSvgVersion svg_ver)
override;
57 void WriteToSavegame(
Stream *out)
const override;
Definition: achievements_tables.h:27
Definition: allegro_bitmap.h:44
Definition: gui_object.h:44
Definition: geometry.h:219
Definition: gui_slider.h:32