Vertical() can be const and should be, when invoked on a const instance.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11213 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
31d6118e45
commit
102267997c
@ -149,7 +149,7 @@ virtual void _Reserved_BChannelSlider_7(void *, ...);
|
||||
void DrawThumbFrame(
|
||||
BView * where,
|
||||
const BRect & area);
|
||||
bool Vertical();
|
||||
bool Vertical() const;
|
||||
void Redraw();
|
||||
void MouseMovedCommon(BPoint , BPoint );
|
||||
};
|
||||
|
@ -449,7 +449,7 @@ BChannelSlider::DrawThumbFrame(BView *where, const BRect &area)
|
||||
|
||||
|
||||
bool
|
||||
BChannelSlider::Vertical()
|
||||
BChannelSlider::Vertical() const
|
||||
{
|
||||
return fVertical;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user