138 lines
4.4 KiB
TeX
138 lines
4.4 KiB
TeX
|
%
|
||
|
% automatically generated by HelpGen $Revision$ from
|
||
|
% newbmpbtn.h at 05/Jan/02 22:50:57
|
||
|
%
|
||
|
|
||
|
|
||
|
\section{\class{wxNewBitmapButton}}\label{wxnewbitmapbutton}
|
||
|
|
||
|
|
||
|
alternative class for wxBmpButton
|
||
|
|
||
|
\wxheading{Derived from}
|
||
|
|
||
|
\helpref{wxPanel}{wxpanel}
|
||
|
|
||
|
\wxheading{Data structures}
|
||
|
|
||
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::wxNewBitmapButton}\label{wxnewbitmapbuttonwxnewbitmapbutton}
|
||
|
|
||
|
\func{}{wxNewBitmapButton}{\param{const wxBitmap\& }{labelBitmap = wxNullBitmap}, \param{const wxString\& }{labelText = ""}, \param{int }{alignText = NB\_ALIGN\_TEXT\_BOTTOM}, \param{bool }{isFlat = TRUE}, \param{int }{firedEventType = wxEVT\_COMMAND\_MENU\_SELECTED}, \param{int }{marginX = 2}, \param{int }{marginY = 2}, \param{int }{textToLabelGap = 2}, \param{bool }{isSticky = FALSE}}
|
||
|
|
||
|
|
||
|
\func{}{wxNewBitmapButton}{\param{const wxString\& }{bitmapFileName}, \param{const wxBitmapType }{bitmapFileType = wxBITMAP\_TYPE\_BMP}, \param{const wxString\& }{labelText = ""}, \param{int }{alignText = NB\_ALIGN\_TEXT\_BOTTOM}, \param{bool }{isFlat = TRUE}, \param{int }{firedEventType = wxEVT\_COMMAND\_MENU\_SELECTED}, \param{int }{marginX = 2}, \param{int }{marginY = 2}, \param{int }{textToLabelGap = 2}, \param{bool }{isSticky = FALSE}}
|
||
|
|
||
|
use this constructor if buttons have to be persistant
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::\destruct{wxNewBitmapButton}}\label{wxnewbitmapbuttondtor}
|
||
|
|
||
|
\func{}{\destruct{wxNewBitmapButton}}{\void}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::DestroyLabels}\label{wxnewbitmapbuttondestroylabels}
|
||
|
|
||
|
\func{void}{DestroyLabels}{\void}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::DrawDecorations}\label{wxnewbitmapbuttondrawdecorations}
|
||
|
|
||
|
\func{void}{DrawDecorations}{\param{wxDC\& }{dc}}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::DrawLabel}\label{wxnewbitmapbuttondrawlabel}
|
||
|
|
||
|
\func{void}{DrawLabel}{\param{wxDC\& }{dc}}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::DrawShade}\label{wxnewbitmapbuttondrawshade}
|
||
|
|
||
|
\func{void}{DrawShade}{\param{int }{outerLevel}, \param{wxDC\& }{dc}, \param{wxPen\& }{upperLeftSidePen}, \param{wxPen\& }{lowerRightSidePen}}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::GetStateLabel}\label{wxnewbitmapbuttongetstatelabel}
|
||
|
|
||
|
\func{wxBitmap*}{GetStateLabel}{\void}
|
||
|
|
||
|
returns the label which match the current button state
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::IsInWindow}\label{wxnewbitmapbuttonisinwindow}
|
||
|
|
||
|
\func{bool}{IsInWindow}{\param{int }{x}, \param{int }{y}}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::OnEraseBackground}\label{wxnewbitmapbuttononerasebackground}
|
||
|
|
||
|
\func{void}{OnEraseBackground}{\param{wxEraseEvent\& }{event}}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::OnKillFocus}\label{wxnewbitmapbuttononkillfocus}
|
||
|
|
||
|
\func{void}{OnKillFocus}{\param{wxFocusEvent\& }{event}}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::OnLButtonDown}\label{wxnewbitmapbuttononlbuttondown}
|
||
|
|
||
|
\func{void}{OnLButtonDown}{\param{wxMouseEvent\& }{event}}
|
||
|
|
||
|
event handlers
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::OnLButtonUp}\label{wxnewbitmapbuttononlbuttonup}
|
||
|
|
||
|
\func{void}{OnLButtonUp}{\param{wxMouseEvent\& }{event}}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::OnMouseMove}\label{wxnewbitmapbuttononmousemove}
|
||
|
|
||
|
\func{void}{OnMouseMove}{\param{wxMouseEvent\& }{event}}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::OnPaint}\label{wxnewbitmapbuttononpaint}
|
||
|
|
||
|
\func{void}{OnPaint}{\param{wxPaintEvent\& }{event}}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::OnSize}\label{wxnewbitmapbuttononsize}
|
||
|
|
||
|
\func{void}{OnSize}{\param{wxSizeEvent\& }{event}}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::RenderAllLabelImages}\label{wxnewbitmapbuttonrenderalllabelimages}
|
||
|
|
||
|
\func{void}{RenderAllLabelImages}{\void}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::RenderLabelImage}\label{wxnewbitmapbuttonrenderlabelimage}
|
||
|
|
||
|
\func{void}{RenderLabelImage}{\param{wxBitmap*\& }{destBmp}, \param{wxBitmap* }{srcBmp}, \param{bool }{isEnabled = TRUE}, \param{bool }{isPressed = FALSE}}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::RenderLabelImages}\label{wxnewbitmapbuttonrenderlabelimages}
|
||
|
|
||
|
\func{void}{RenderLabelImages}{\void}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::Reshape}\label{wxnewbitmapbuttonreshape}
|
||
|
|
||
|
\func{void}{Reshape}{\void}
|
||
|
|
||
|
should be called after Create();
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::SetAlignments}\label{wxnewbitmapbuttonsetalignments}
|
||
|
|
||
|
\func{void}{SetAlignments}{\param{int }{alignText = NB\_ALIGN\_TEXT\_BOTTOM}, \param{int }{marginX = 2}, \param{int }{marginY = 2}, \param{int }{textToLabelGap = 2}}
|
||
|
|
||
|
|
||
|
\membersection{wxNewBitmapButton::SetLabel}\label{wxnewbitmapbuttonsetlabel}
|
||
|
|
||
|
\func{void}{SetLabel}{\param{const wxBitmap\& }{labelBitmap}, \param{const wxString\& }{labelText = ""}}
|
||
|
|
||
|
overridables
|
||
|
|