00001 #ifndef HEADER_WIBUTTON_H 00002 #define HEADER_WIBUTTON_H 00003 00004 class BaseMsg; 00005 00006 #include "WiContainer.h" 00007 00008 /** 00009 * Button widget. 00010 */ 00011 class WiButton : public WiContainer { 00012 private: 00013 BaseMsg *m_msg; 00014 protected: 00015 virtual void own_mouseButton(const MouseStroke &stroke); 00016 public: 00017 WiButton(IWidget *new_content, BaseMsg *new_msg); 00018 virtual ~WiButton(); 00019 }; 00020 00021 #endif