00001 #ifndef _LCD_BIG_NUMBER_H_ 00002 #define _LCD_BIG_NUMBER_H_ 00003 00004 #include "LCDWidget.h" 00005 #include <string> 00006 00013 class LCDBigNumber : public LCDWidget 00014 { 00015 private: 00016 int _number, _position; 00017 public: 00023 static const int LCD_COLON; 00032 LCDBigNumber(LCDElement *parent = 0, const std::string &id = ""); 00042 LCDBigNumber(int number, int x=1, LCDElement *parent = 0, const std::string &id = ""); 00043 00052 void setNumberPosition(int position); 00053 00054 virtual void notifyChanged(); 00055 00063 void set(int number, int x); 00064 00071 void setNumber(int number); 00072 00079 int getNumber() const; 00080 00081 virtual void valueCallback(std::string value); 00082 }; 00083 00084 #endif