src/widget/WiButton.h
raw| 1 | #ifndef HEADER_WIBUTTON_H |
| 2 | #define HEADER_WIBUTTON_H |
| 3 | |
| 4 | class BaseMsg; |
| 5 | |
| 6 | #include "WiContainer.h" |
| 7 | |
| 8 | /** |
| 9 | * Button widget. |
| 10 | */ |
| 11 | class WiButton : public WiContainer { |
| 12 | private: |
| 13 | BaseMsg *m_msg; |
| 14 | protected: |
| 15 | virtual void own_mouseButton(const MouseStroke &stroke); |
| 16 | public: |
| 17 | WiButton(IWidget *new_content, BaseMsg *new_msg); |
| 18 | virtual ~WiButton(); |
| 19 | }; |
| 20 | |
| 21 | #endif |