![]() |
Moonlight-XboxOG latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
|
Implements the splash screen workflow. More...
#include "src/splash/splash_screen.h"#include <algorithm>#include <cmath>#include <cstring>#include <string>#include <hal/xbox.h>#include <SDL.h>#include <SDL_image.h>#include <windows.h>#include "src/logging/logger.h"#include "src/os.h"#include "src/splash/splash_layout.h"Functions | |
| void | splash::show_splash_screen (SDL_Window *window, const VIDEO_MODE &videoMode, const std::function< bool()> &keepShowing) |
| Show the splash screen until the supplied callback reports completion. | |
| void | splash::show_splash_screen (SDL_Window *window, const VIDEO_MODE &videoMode, unsigned int durationMilliseconds=1500U) |
| Show the splash screen for a fixed duration. | |
Implements the splash screen workflow.
| void splash::show_splash_screen | ( | SDL_Window * | window, |
| const VIDEO_MODE & | videoMode, | ||
| const std::function< bool()> & | keepShowing ) |
Show the splash screen until the supplied callback reports completion.
| window | SDL window used for splash rendering. |
| videoMode | Active video mode used to size the splash layout. |
| keepShowing | Callback that returns true while the splash screen should remain visible. |
| void splash::show_splash_screen | ( | SDL_Window * | window, |
| const VIDEO_MODE & | videoMode, | ||
| unsigned int | durationMilliseconds = 1500U ) |
Show the splash screen for a fixed duration.
| window | SDL window used for splash rendering. |
| videoMode | Active video mode used to size the splash layout. |
| durationMilliseconds | Splash duration in milliseconds. |