Moonlight-XboxOG latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
shell_screen.h File Reference

Declares the shell screen controller. More...

#include <hal/video.h>
#include "src/app/client_state.h"
Include dependency graph for shell_screen.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int ui::run_shell (SDL_Window *window, const VIDEO_MODE &videoMode, app::ClientState &state)
 Run the interactive SDL shell after startup completes.
 

Detailed Description

Declares the shell screen controller.

Function Documentation

◆ run_shell()

int ui::run_shell ( SDL_Window * window,
const VIDEO_MODE & videoMode,
app::ClientState & state )

Run the interactive SDL shell after startup completes.

Parameters
windowShared SDL window created during startup.
videoModeActive output mode for the shell window.
stateMutable application state.
Returns
0 on normal exit, non-zero if initialization failed.