2 % automatically generated by HelpGen $Revision$ from
3 % newbmpbtn.h at 05/Jan/02 22:50:57
7 \section{\class{wxNewBitmapButton
}}\label{wxnewbitmapbutton
}
10 alternative class for wxBmpButton
12 \wxheading{Derived from
}
14 \helpref{wxPanel
}{wxpanel
}
16 \wxheading{Data structures
}
18 \latexignore{\rtfignore{\wxheading{Members
}}}
21 \membersection{wxNewBitmapButton::wxNewBitmapButton
}\label{wxnewbitmapbuttonwxnewbitmapbutton
}
23 \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
}}
26 \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
}}
28 use this constructor if buttons have to be persistant
31 \membersection{wxNewBitmapButton::
\destruct{wxNewBitmapButton
}}\label{wxnewbitmapbuttondtor
}
33 \func{}{\destruct{wxNewBitmapButton
}}{\void}
36 \membersection{wxNewBitmapButton::DestroyLabels
}\label{wxnewbitmapbuttondestroylabels
}
38 \func{void
}{DestroyLabels
}{\void}
41 \membersection{wxNewBitmapButton::DrawDecorations
}\label{wxnewbitmapbuttondrawdecorations
}
43 \func{void
}{DrawDecorations
}{\param{wxDC\&
}{dc
}}
46 \membersection{wxNewBitmapButton::DrawLabel
}\label{wxnewbitmapbuttondrawlabel
}
48 \func{void
}{DrawLabel
}{\param{wxDC\&
}{dc
}}
51 \membersection{wxNewBitmapButton::DrawShade
}\label{wxnewbitmapbuttondrawshade
}
53 \func{void
}{DrawShade
}{\param{int
}{outerLevel
},
\param{wxDC\&
}{dc
},
\param{wxPen\&
}{upperLeftSidePen
},
\param{wxPen\&
}{lowerRightSidePen
}}
56 \membersection{wxNewBitmapButton::GetStateLabel
}\label{wxnewbitmapbuttongetstatelabel
}
58 \func{wxBitmap*
}{GetStateLabel
}{\void}
60 returns the label which match the current button state
63 \membersection{wxNewBitmapButton::IsInWindow
}\label{wxnewbitmapbuttonisinwindow
}
65 \func{bool
}{IsInWindow
}{\param{int
}{x
},
\param{int
}{y
}}
68 \membersection{wxNewBitmapButton::OnEraseBackground
}\label{wxnewbitmapbuttononerasebackground
}
70 \func{void
}{OnEraseBackground
}{\param{wxEraseEvent\&
}{event
}}
73 \membersection{wxNewBitmapButton::OnKillFocus
}\label{wxnewbitmapbuttononkillfocus
}
75 \func{void
}{OnKillFocus
}{\param{wxFocusEvent\&
}{event
}}
78 \membersection{wxNewBitmapButton::OnLButtonDown
}\label{wxnewbitmapbuttononlbuttondown
}
80 \func{void
}{OnLButtonDown
}{\param{wxMouseEvent\&
}{event
}}
85 \membersection{wxNewBitmapButton::OnLButtonUp
}\label{wxnewbitmapbuttononlbuttonup
}
87 \func{void
}{OnLButtonUp
}{\param{wxMouseEvent\&
}{event
}}
90 \membersection{wxNewBitmapButton::OnMouseMove
}\label{wxnewbitmapbuttononmousemove
}
92 \func{void
}{OnMouseMove
}{\param{wxMouseEvent\&
}{event
}}
95 \membersection{wxNewBitmapButton::OnPaint
}\label{wxnewbitmapbuttononpaint
}
97 \func{void
}{OnPaint
}{\param{wxPaintEvent\&
}{event
}}
100 \membersection{wxNewBitmapButton::OnSize
}\label{wxnewbitmapbuttononsize
}
102 \func{void
}{OnSize
}{\param{wxSizeEvent\&
}{event
}}
105 \membersection{wxNewBitmapButton::RenderAllLabelImages
}\label{wxnewbitmapbuttonrenderalllabelimages
}
107 \func{void
}{RenderAllLabelImages
}{\void}
110 \membersection{wxNewBitmapButton::RenderLabelImage
}\label{wxnewbitmapbuttonrenderlabelimage
}
112 \func{void
}{RenderLabelImage
}{\param{wxBitmap*\&
}{destBmp
},
\param{wxBitmap*
}{srcBmp
},
\param{bool
}{isEnabled = TRUE
},
\param{bool
}{isPressed = FALSE
}}
115 \membersection{wxNewBitmapButton::RenderLabelImages
}\label{wxnewbitmapbuttonrenderlabelimages
}
117 \func{void
}{RenderLabelImages
}{\void}
120 \membersection{wxNewBitmapButton::Reshape
}\label{wxnewbitmapbuttonreshape
}
122 \func{void
}{Reshape
}{\void}
124 should be called after Create();
127 \membersection{wxNewBitmapButton::SetAlignments
}\label{wxnewbitmapbuttonsetalignments
}
129 \func{void
}{SetAlignments
}{\param{int
}{alignText = NB
\_ALIGN\_TEXT\_BOTTOM},
\param{int
}{marginX =
2},
\param{int
}{marginY =
2},
\param{int
}{textToLabelGap =
2}}
132 \membersection{wxNewBitmapButton::SetLabel
}\label{wxnewbitmapbuttonsetlabel
}
134 \func{void
}{SetLabel
}{\param{const wxBitmap\&
}{labelBitmap
},
\param{const wxString\&
}{labelText = ""
}}