17 #ifndef DGL_IMAGE_SLIDER_HPP_INCLUDED
18 #define DGL_IMAGE_SLIDER_HPP_INCLUDED
34 virtual void imageSliderDragStarted(
ImageSlider* imageSlider) = 0;
35 virtual void imageSliderDragFinished(
ImageSlider* imageSlider) = 0;
36 virtual void imageSliderValueChanged(
ImageSlider* imageSlider,
float value) = 0;
44 float getValue() const noexcept;
46 void setStartPos(const
Point<
int>& startPos) noexcept;
47 void setStartPos(
int x,
int y) noexcept;
48 void setEndPos(const
Point<
int>& endPos) noexcept;
49 void setEndPos(
int x,
int y) noexcept;
51 void setInverted(
bool inverted) noexcept;
52 void setRange(
float min,
float max) noexcept;
53 void setStep(
float step) noexcept;
54 void setValue(
float value,
bool sendCallback = false) noexcept;
56 void setCallback(
Callback* callback) noexcept;
82 void _recheckArea() noexcept;
85 void setAbsoluteX(
int) const noexcept {}
86 void setAbsoluteY(
int) const noexcept {}
87 void setAbsolutePos(
int,
int) const noexcept {}
88 void setAbsolutePos(
const Point<int>&) const noexcept {}
89 void setNeedsFullViewport(
bool) const noexcept {}
98 #endif // DGL_IMAGE_SLIDER_HPP_INCLUDED
Definition: Window.hpp:30
Definition: ImageSlider.hpp:30
bool onMotion(const MotionEvent &) override
Definition: Geometry.hpp:40
bool onMouse(const MouseEvent &) override
void onDisplay() override
Definition: Geometry.hpp:30
Definition: ImageSlider.hpp:27