cpp-project-template 0.0.1.0
C++ Project Template
Loading...
Searching...
No Matches
splashscreen.hpp
Go to the documentation of this file.
1
10
11#ifndef CPP_PROJ_SPLASHSCREEN_HPP
12#define CPP_PROJ_SPLASHSCREEN_HPP
13
14// For compilers that support precompilation, includes "wx/wx.h".
15#include <wx/wxprec.h>
16
17#ifndef WX_PRECOMP
18 #include <wx/wx.h>
19#endif
20
21namespace cpp_proj
22{
23
31void showSplashScreen(const wxString& fileName, const unsigned long durationMs,
32 const wxBitmapType bitmapType = wxBITMAP_TYPE_ANY);
33
40void showSplashScreen(const wxImage& img, const unsigned long durationMs);
41
49wxImage alphaToBlackAndWhiteMask(const wxImage& img);
50
51} // namespace cpp_proj
52
53#endif // CPP_PROJ_SPLASHSCREEN_HPP
Namespace for this application.
Definition UserOpt.cpp:12
void showSplashScreen(const wxString &fileName, const unsigned long durationMs, const wxBitmapType bitmapType)
Shows the splashscreen.
Definition splashscreen.cpp:11
wxImage alphaToBlackAndWhiteMask(const wxImage &imgParam)
Creates a black & white mask for the alpha channel.
Definition splashscreen.cpp:59