Minor cleanup.
This commit is contained in:
parent
0d7d4957aa
commit
0b319bd6f3
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2001-2009, Haiku, Inc. All rights reserved.
|
||||
* Copyright 2001-2013, Haiku, Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _SLIDER_H
|
||||
@ -82,15 +82,14 @@ public:
|
||||
const char* maxLabel);
|
||||
const char* MinLimitLabel() const;
|
||||
const char* MaxLimitLabel() const;
|
||||
virtual void SetValue(int32);
|
||||
virtual int32 ValueForPoint(BPoint) const;
|
||||
virtual void SetValue(int32 value);
|
||||
virtual int32 ValueForPoint(BPoint point) const;
|
||||
virtual void SetPosition(float);
|
||||
float Position() const;
|
||||
virtual void SetEnabled(bool on);
|
||||
void GetLimits(int32* minimum,
|
||||
int32* maximum) const;
|
||||
void GetLimits(int32* minimum, int32* maximum) const;
|
||||
|
||||
virtual void Draw(BRect);
|
||||
virtual void Draw(BRect updateRect);
|
||||
virtual void DrawSlider();
|
||||
virtual void DrawBar();
|
||||
virtual void DrawHashMarks();
|
||||
@ -120,7 +119,7 @@ public:
|
||||
virtual void SetModificationMessage(BMessage* message);
|
||||
BMessage* ModificationMessage() const;
|
||||
|
||||
virtual void SetSnoozeAmount(int32);
|
||||
virtual void SetSnoozeAmount(int32 microSeconds);
|
||||
int32 SnoozeAmount() const;
|
||||
|
||||
virtual void SetKeyIncrementValue(int32 value);
|
||||
@ -229,4 +228,5 @@ private:
|
||||
uint32 _reserved[4];
|
||||
};
|
||||
|
||||
|
||||
#endif // _SLIDER_H
|
||||
|
Loading…
Reference in New Issue
Block a user