2002-01-05 17:59:59 -05:00
|
|
|
%
|
|
|
|
% automatically generated by HelpGen $Revision$ from
|
2002-01-21 17:34:42 -05:00
|
|
|
% toolwnd.h at 21/Jan/02 21:14:17
|
2002-01-05 17:59:59 -05:00
|
|
|
%
|
|
|
|
|
|
|
|
|
|
|
|
\section{\class{cbMiniButton}}\label{cbminibutton}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
|
|
|
|
cbMiniButton is the base class for a small button that can be placed in a wxToolWindow
|
|
|
|
titlebar.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
\wxheading{Derived from}
|
|
|
|
|
|
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
2002-01-31 15:57:31 -05:00
|
|
|
<wx/fl/toolwnd.h>
|
2002-01-21 17:34:42 -05:00
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
\wxheading{Data structures}
|
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
|
|
|
|
|
|
|
\membersection{cbMiniButton::cbMiniButton}\label{cbminibuttoncbminibutton}
|
|
|
|
|
|
|
|
\func{}{cbMiniButton}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Default constructor.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbMiniButton::Draw}\label{cbminibuttondraw}
|
|
|
|
|
|
|
|
\func{void}{Draw}{\param{wxDC\& }{dc}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Draws the button. Override this to implement
|
|
|
|
the desired appearance.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbMiniButton::Enable}\label{cbminibuttonenable}
|
|
|
|
|
|
|
|
\func{void}{Enable}{\param{bool }{enable}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Enable or disable the button.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbMiniButton::HitTest}\label{cbminibuttonhittest}
|
|
|
|
|
|
|
|
\func{bool}{HitTest}{\param{const wxPoint\& }{pos}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns TRUE if the given position was over the button.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbMiniButton::IsPressed}\label{cbminibuttonispressed}
|
|
|
|
|
|
|
|
\func{bool}{IsPressed}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns TRUE if this button is pressed.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbMiniButton::OnLeftDown}\label{cbminibuttononleftdown}
|
|
|
|
|
|
|
|
\func{void}{OnLeftDown}{\param{const wxPoint\& }{pos}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Responds to a left down event.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbMiniButton::OnLeftUp}\label{cbminibuttononleftup}
|
|
|
|
|
|
|
|
\func{void}{OnLeftUp}{\param{const wxPoint\& }{pos}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Responds to a left up event.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbMiniButton::OnMotion}\label{cbminibuttononmotion}
|
|
|
|
|
|
|
|
\func{void}{OnMotion}{\param{const wxPoint\& }{pos}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Responds to a mouse move event.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbMiniButton::Refresh}\label{cbminibuttonrefresh}
|
|
|
|
|
|
|
|
\func{void}{Refresh}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Refreshes the button.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbMiniButton::Reset}\label{cbminibuttonreset}
|
|
|
|
|
|
|
|
\func{void}{Reset}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Reset the button.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbMiniButton::SetPos}\label{cbminibuttonsetpos}
|
|
|
|
|
|
|
|
\func{void}{SetPos}{\param{const wxPoint\& }{pos}}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Set the position of the button.
|
|
|
|
|
2002-01-05 17:59:59 -05:00
|
|
|
|
|
|
|
\membersection{cbMiniButton::WasClicked}\label{cbminibuttonwasclicked}
|
|
|
|
|
|
|
|
\func{bool}{WasClicked}{\void}
|
|
|
|
|
2002-01-21 17:34:42 -05:00
|
|
|
Returns TRUE if the button was clicked.
|
|
|
|
|