Definition at line 11 of file WiButton.h.
Public Member Functions | |
WiButton (IWidget *new_content, BaseMsg *new_msg) | |
Create button which will send given message on mouse press. | |
virtual | ~WiButton () |
Release remain message. | |
Protected Member Functions | |
virtual void | own_mouseButton (const MouseStroke &stroke) |
Default action is to propagate mouse press to subwidget. |
|
Create button which will send given message on mouse press.
Definition at line 18 of file WiButton.cpp. 00019 : WiContainer(new_content) 00020 { 00021 m_msg = new_msg; 00022 }
|
|
Release remain message.
Definition at line 27 of file WiButton.cpp. 00028 {
00029 delete m_msg;
00030 }
|
|
Default action is to propagate mouse press to subwidget.
Reimplemented from WiContainer. Definition at line 33 of file WiButton.cpp.
|