#include <resizec.h>
Inherits wxPictureControl.
Inheritance diagram for wxBitmapControl:


Public Member Functions | |
| wxBitmapControl () | |
| Ctor. | |
| wxBitmapControl (wxWindow *AParent, int AnId, const wxBitmap &Data, const wxPoint &pos, const wxSize &size, long style=0, const wxString &name=wxPanelNameStr) | |
| Ctor. | |
| virtual | ~wxBitmapControl () |
| Dtor. | |
| const wxBitmap & | GetBitmap () |
| Return the picture in bitmap format. | |
| void | Paint (wxDC &dc, bool Printing, wxSize &size) |
| Paint function for printing. | |
| float | GetRatio () |
| Returns width/height ratio. | |
| wxSize | GetOriginalSize () |
| Returns original size of control. | |
| void | OnEditCopy (wxCommandEvent &event) |
| Responds to copy event. | |
Protected Attributes | |
| wxBitmap * | m_bitmap |
| Bitmap to be displayed. | |
Definition at line 343 of file resizec.h.
|
|
Ctor.
|
|
||||||||||||||||||||||||||||||||
|
Ctor.
Definition at line 726 of file resizec.cpp. |
|
|
Dtor.
Definition at line 802 of file resizec.cpp. References m_bitmap. |
|
|
Return the picture in bitmap format.
|
|
|
Returns original size of control.
Reimplemented from wxResizeableControl. Definition at line 920 of file resizec.cpp. References m_bitmap. |
|
|
Returns width/height ratio.
Reimplemented from wxResizeableControl. Definition at line 925 of file resizec.cpp. References m_bitmap. |
|
|
Responds to copy event.
Definition at line 818 of file resizec.cpp. References m_bitmap. |
|
||||||||||||||||
|
Paint function for printing.
Definition at line 807 of file resizec.cpp. References m_bitmap. |
|
|
Bitmap to be displayed.
Definition at line 388 of file resizec.h. Referenced by GetOriginalSize(), GetRatio(), OnEditCopy(), Paint(), and ~wxBitmapControl(). |