mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-16 23:42:57 +00:00
Add Slider::getMinValue and getMaxValue.
This commit is contained in:
parent
b0ff50ec0e
commit
26715e1a08
@ -54,11 +54,6 @@ void Slider::setValue(int value)
|
||||
// It DOES NOT emit CHANGE signal! to avoid recursive calls.
|
||||
}
|
||||
|
||||
int Slider::getValue() const
|
||||
{
|
||||
return m_value;
|
||||
}
|
||||
|
||||
void Slider::getSliderThemeInfo(int* min, int* max, int* value)
|
||||
{
|
||||
if (min) *min = m_min;
|
||||
|
@ -15,10 +15,12 @@ class Slider : public Widget
|
||||
public:
|
||||
Slider(int min, int max, int value);
|
||||
|
||||
void setRange(int min, int max);
|
||||
int getMinValue() const { return m_min; }
|
||||
int getMaxValue() const { return m_max; }
|
||||
int getValue() const { return m_value; }
|
||||
|
||||
void setRange(int min, int max);
|
||||
void setValue(int value);
|
||||
int getValue() const;
|
||||
|
||||
void getSliderThemeInfo(int* min, int* max, int* value);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user