* Reuse the check for changed location which decides whether
to Invoke() in MouseUp() in the code path for keyboard control. Should fix ticket #6792, but I have not actually tested it. * Don't post notification values in KeyDown() when the value did not change because it was constrained between min and max values. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39323 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -70,6 +70,7 @@ public:
|
||||
virtual void FrameMoved(BPoint newPosition);
|
||||
virtual void FrameResized(float width, float height);
|
||||
virtual void KeyDown(const char* bytes, int32 numBytes);
|
||||
virtual void KeyUp(const char* bytes, int32 numBytes);
|
||||
virtual void MouseDown(BPoint point);
|
||||
virtual void MouseUp(BPoint point);
|
||||
virtual void MouseMoved(BPoint point, uint32 transit,
|
||||
@@ -80,7 +81,7 @@ public:
|
||||
virtual void SetLimitLabels(const char* minLabel,
|
||||
const char* maxLabel);
|
||||
const char* MinLimitLabel() const;
|
||||
const char* MaxLimitLabel() const;
|
||||
const char* MaxLimitLabel() const;
|
||||
virtual void SetValue(int32);
|
||||
virtual int32 ValueForPoint(BPoint) const;
|
||||
virtual void SetPosition(float);
|
||||
|
||||
Reference in New Issue
Block a user