* Copyright 2006, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Stephan Aßmus <superstippi@gmx.de>
*/
#ifndef INT_VALUE_VIEW_H
#define INT_VALUE_VIEW_H
#include "Property.h"
#include "TextInputValueView.h"
class NummericalTextView;
class IntValueView : public TextInputValueView {
public:
IntValueView(IntProperty* property);
virtual ~IntValueView();
virtual InputTextView* TextView() const;
virtual void ValueChanged();
virtual bool AdoptProperty(Property* property);
virtual Property* GetProperty() const;
private:
IntProperty* fProperty;
NummericalTextView* fTextView;
};
#endif