00001 #ifndef _LCD_FRAME_H_ 00002 #define _LCD_FRAME_H_ 00003 00004 #include "LCDWidget.h" 00005 #include <string> 00006 00014 class LCDFrame : public LCDWidget 00015 { 00016 private: 00017 int _left, _top, _right, _bottom, _width, _height, _speed; 00018 Direction _direction; 00019 public: 00028 LCDFrame(LCDElement *parent = 0, const std::string &id = ""); 00029 00030 void sendCommand(const std::string &cmd, const std::string ¶meters); 00031 00032 virtual void notifyChanged(); 00033 virtual void valueCallback(std::string value) {}; 00034 00048 void set(int left, int top, int right, int bottom, int width, int height, Direction direction, int speed); 00049 }; 00050 00051 #endif