#include <advsplash.h>
Public Member Functions | |
wxAdvSplashScreenWindow (const wxBitmap &bitmap, wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxNO_BORDER) | |
void | OnPaint (wxPaintEvent &event) |
void | OnEraseBackground (wxEraseEvent &event) |
void | OnMouseEvent (wxMouseEvent &event) |
void | OnChar (wxKeyEvent &event) |
void | SetBitmap (const wxBitmap &bitmap) |
wxBitmap & | GetBitmap () |
Protected Attributes | |
wxBitmap | m_bitmap |
Definition at line 54 of file advsplash.h.
|
Definition at line 107 of file advsplash.cpp. 00107 : 00108 wxWindow(parent, id, pos, size, style) 00109 { 00110 m_bitmap = bitmap; 00111 00112 #if !defined(__WXGTK__) && wxUSE_PALETTE 00113 bool hiColour = (wxDisplayDepth() >= 16) ; 00114 00115 if (bitmap.GetPalette() && !hiColour) 00116 { 00117 SetPalette(* bitmap.GetPalette()); 00118 } 00119 #endif 00120 00121 }
|
|
Definition at line 65 of file advsplash.h. 00065 { return m_bitmap; }
|
|
|
|
Definition at line 165 of file advsplash.cpp. 00166 { 00167 if (event.GetDC()) 00168 { 00169 if (m_bitmap.Ok()) 00170 { 00171 wxDrawSplashBitmap(* event.GetDC(), m_bitmap, 0, 0); 00172 } 00173 } 00174 else 00175 { 00176 wxClientDC dc(this); 00177 if (m_bitmap.Ok()) 00178 { 00179 wxDrawSplashBitmap(dc, m_bitmap, 0, 0); 00180 } 00181 } 00182 }
|
|
Definition at line 184 of file advsplash.cpp.
|
|
|
|
Definition at line 64 of file advsplash.h. 00064 { m_bitmap = bitmap; }
|
|
Definition at line 68 of file advsplash.h. |