i6engine  1.0
i6e::utils::Splash Class Reference

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...
 

Detailed Description

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.

Definition at line 66 of file Splash.h.

Constructor & Destructor Documentation

i6e::utils::Splash::Splash ( )

Currently empty.

Member Function Documentation

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.


The documentation for this class was generated from the following file: