1/* 2 * Copyright 2006, Haiku. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Stephan A��mus <superstippi@gmx.de> 7 */ 8 9#ifndef INT_VALUE_VIEW_H 10#define INT_VALUE_VIEW_H 11 12#include "Property.h" 13#include "TextInputValueView.h" 14 15class NummericalTextView; 16 17class IntValueView : public TextInputValueView { 18 public: 19 IntValueView(IntProperty* property); 20 virtual ~IntValueView(); 21 22 // TextInputValueView interface 23 virtual InputTextView* TextView() const; 24 25 // PropertyEditorView interface 26 virtual void ValueChanged(); 27 28 virtual bool AdoptProperty(Property* property); 29 virtual Property* GetProperty() const; 30 31 private: 32 IntProperty* fProperty; 33 NummericalTextView* fTextView; 34}; 35 36#endif // INT_VALUE_VIEW_H 37 38 39