Made MenuWindow::GetSteps() const.
Increased the scrollers size from 10 to 12, since at high resolutions, they're really too small. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32932 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6d1755ba92
commit
3ecf187e2a
@ -36,7 +36,7 @@ public:
|
||||
void DetachScrollers();
|
||||
|
||||
void SetSmallStep(float step);
|
||||
void GetSteps(float* _smallStep, float* _largeStep);
|
||||
void GetSteps(float* _smallStep, float* _largeStep) const;
|
||||
bool HasScrollers() const;
|
||||
bool CheckForScrolling(const BPoint& cursor);
|
||||
bool TryScrollBy(const float& step);
|
||||
|
@ -71,7 +71,7 @@ public:
|
||||
using namespace BPrivate;
|
||||
|
||||
|
||||
const int kScrollerHeight = 10;
|
||||
const int kScrollerHeight = 12;
|
||||
|
||||
|
||||
BMenuScroller::BMenuScroller(BRect frame)
|
||||
@ -367,7 +367,7 @@ BMenuWindow::SetSmallStep(float step)
|
||||
|
||||
|
||||
void
|
||||
BMenuWindow::GetSteps(float* _smallStep, float* _largeStep)
|
||||
BMenuWindow::GetSteps(float* _smallStep, float* _largeStep) const
|
||||
{
|
||||
if (_smallStep != NULL)
|
||||
*_smallStep = fScrollStep;
|
||||
|
Loading…
Reference in New Issue
Block a user