Some updates to go with changes in current CVS.
Added wxSplashScreen. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
%{
|
||||
#include "helpers.h"
|
||||
#include <wx/minifram.h>
|
||||
#include <wx/splash.h>
|
||||
%}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
@@ -229,6 +230,45 @@ public:
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
enum {
|
||||
wxSPLASH_CENTRE_ON_PARENT,
|
||||
wxSPLASH_CENTRE_ON_SCREEN,
|
||||
wxSPLASH_NO_CENTRE,
|
||||
wxSPLASH_TIMEOUT,
|
||||
wxSPLASH_NO_TIMEOUT,
|
||||
};
|
||||
|
||||
|
||||
class wxSplashScreenWindow: public wxWindow
|
||||
{
|
||||
public:
|
||||
wxSplashScreenWindow(const wxBitmap& bitmap,
|
||||
wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxNO_BORDER);
|
||||
|
||||
void SetBitmap(const wxBitmap& bitmap);
|
||||
wxBitmap& GetBitmap();
|
||||
};
|
||||
|
||||
|
||||
class wxSplashScreen : public wxFrame {
|
||||
public:
|
||||
wxSplashScreen(const wxBitmap& bitmap, long splashStyle, int milliseconds,
|
||||
wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT);
|
||||
|
||||
long GetSplashStyle() const;
|
||||
wxSplashScreenWindow* GetSplashWindow() const;
|
||||
int GetTimeout() const;
|
||||
};
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user