00001 #ifndef _LCD_ICON_H_
00002 #define _LCD_ICON_H_
00003
00004 #include "LCDWidget.h"
00005 #include <string>
00006
00012 class LCDIcon : public LCDWidget
00013 {
00014 private:
00015 std::string _type;
00016 public:
00017
00026 LCDIcon(LCDElement *parent = 0, const std::string &id = "");
00037 LCDIcon(const std::string &type, int x=1, int y=1, LCDElement *parent = 0, const std::string &id = "");
00038
00047 void set(const std::string &type, int x=1, int y=1);
00048
00055 void setIcon(const std::string &type);
00056
00063 std::string getIcon();
00064
00065 virtual void valueCallback(std::string value) {};
00066
00067 virtual void notifyChanged();
00068 };
00069
00070 #endif