Spinner: Move ValueChanged up
... along with the other hook methods
This commit is contained in:
@@ -52,10 +52,11 @@ public:
|
|||||||
virtual void AttachedToWindow();
|
virtual void AttachedToWindow();
|
||||||
virtual void Draw(BRect updateRect);
|
virtual void Draw(BRect updateRect);
|
||||||
virtual void FrameResized(float width, float height);
|
virtual void FrameResized(float width, float height);
|
||||||
|
virtual void ValueChanged();
|
||||||
|
|
||||||
virtual void MakeFocus(bool focus = true);
|
virtual void MakeFocus(bool focus = true);
|
||||||
virtual void ResizeToPreferred();
|
virtual void ResizeToPreferred();
|
||||||
virtual void SetFlags(uint32 flags);
|
virtual void SetFlags(uint32 flags);
|
||||||
virtual void ValueChanged();
|
|
||||||
virtual void WindowActivated(bool active);
|
virtual void WindowActivated(bool active);
|
||||||
|
|
||||||
alignment Alignment() const { return fAlignment; };
|
alignment Alignment() const { return fAlignment; };
|
||||||
|
|||||||
@@ -1175,6 +1175,12 @@ BSpinner::FrameResized(float width, float height)
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
|
BSpinner::ValueChanged()
|
||||||
|
{
|
||||||
|
// hook method - does nothing
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
BSpinner::MakeFocus(bool focus)
|
BSpinner::MakeFocus(bool focus)
|
||||||
{
|
{
|
||||||
fTextView->MakeFocus(focus);
|
fTextView->MakeFocus(focus);
|
||||||
@@ -1217,13 +1223,6 @@ BSpinner::SetFlags(uint32 flags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
|
||||||
BSpinner::ValueChanged()
|
|
||||||
{
|
|
||||||
// hook method - does nothing
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
BSpinner::WindowActivated(bool active)
|
BSpinner::WindowActivated(bool active)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user