Moonlight-XboxOG
latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
splash_screen.h
Go to the documentation of this file.
1
5
#pragma once
6
7
// standard includes
8
#include <functional>
9
10
// nxdk includes
11
#include <hal/video.h>
12
#include <SDL.h>
13
14
namespace
splash {
15
23
void
show_splash_screen
(SDL_Window *window,
const
VIDEO_MODE &videoMode,
unsigned
int
durationMilliseconds = 1500U);
24
32
void
show_splash_screen
(SDL_Window *window,
const
VIDEO_MODE &videoMode,
const
std::function<
bool
()> &keepShowing);
33
34
}
// namespace splash
splash::show_splash_screen
void show_splash_screen(SDL_Window *window, const VIDEO_MODE &videoMode, unsigned int durationMilliseconds)
Show the splash screen for a fixed duration.
Definition
splash_screen.cpp:316
src
splash
splash_screen.h
Generated by
1.12.0