Changes to let updates happen less frequently:
* _ContrainPoint() was broken as it could never change the point it was supposed to contrain. * MouseDown() no longer sends a notification message automatically (only if it changed something) * MouseMoved() and synchronous MouseDown() will now only send modification messages if something actually changed (not for every mouse update). * After key presses, the invokation message is only sent when the value changed. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19697 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -148,7 +148,7 @@ class BSlider : public BControl {
|
||||
|
||||
float _MinPosition() const;
|
||||
float _MaxPosition() const;
|
||||
bool _ConstrainPoint(BPoint point, BPoint compare) const;
|
||||
bool _ConstrainPoint(BPoint& point, BPoint compare) const;
|
||||
|
||||
virtual void _ReservedSlider5();
|
||||
virtual void _ReservedSlider6();
|
||||
|
||||
Reference in New Issue
Block a user