00001 #ifndef _LCD_TITLE_H_ 00002 #define _LCD_TITLE_H_ 00003 00004 #include "LCDWidget.h" 00005 #include <string> 00006 00012 class LCDTitle : public LCDWidget 00013 { 00014 private: 00015 std::string _text; 00016 public: 00025 LCDTitle(LCDElement *parent = 0, const std::string &id = ""); 00034 LCDTitle(const std::string &text, LCDElement *parent = 0, const std::string &id = ""); 00035 00036 virtual void notifyChanged(); 00037 virtual void valueCallback(std::string value); 00038 00046 void set(std::string text); 00053 std::string get() const; 00054 }; 00055 00056 #endif