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:
Ingo Weinhold 2005-02-02 13:33:34 +00:00
parent 31d6118e45
commit 102267997c
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ virtual void _Reserved_BChannelSlider_7(void *, ...);
void DrawThumbFrame( void DrawThumbFrame(
BView * where, BView * where,
const BRect & area); const BRect & area);
bool Vertical(); bool Vertical() const;
void Redraw(); void Redraw();
void MouseMovedCommon(BPoint , BPoint ); void MouseMovedCommon(BPoint , BPoint );
}; };

View File

@ -449,7 +449,7 @@ BChannelSlider::DrawThumbFrame(BView *where, const BRect &area)
bool bool
BChannelSlider::Vertical() BChannelSlider::Vertical() const
{ {
return fVertical; return fVertical;
} }