i6engine
1.0
|
Opens and displays JPEG (Linux) or BMP (Windows) images as splash screens. More...
#include <D:/Projekte/i6engine/libs/i6engine-utils/include/i6engine/utils/Splash.h>
Public Member Functions | |
void | showSplash (const std::string &file, const std::string &name) |
Displays the splash screen. More... | |
void | closeSplash () |
Closes the splash screen. More... | |
Splash () | |
Currently empty. More... | |
Opens and displays JPEG (Linux) or BMP (Windows) images as splash screens.
Opens given file, saves its decoded contents in a buffer and then displays it.
i6e::utils::Splash::Splash | ( | ) |
Currently empty.
void i6e::utils::Splash::closeSplash | ( | ) |
Closes the splash screen.
void i6e::utils::Splash::showSplash | ( | const std::string & | file, |
const std::string & | name | ||
) |
Displays the splash screen.
Displays the given file in the center of the screen. This file has to be in JPEG format and its color depth has to be 15 or greater for Linux. This file has to be in BMP format saved by Paint for Windows.