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

Implements the shell screen controller. More...

#include "src/ui/shell_screen.h"
#include <algorithm>
#include <atomic>
#include <cctype>
#include <cmath>
#include <cstring>
#include <functional>
#include <memory>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
#include <hal/debug.h>
#include <nanosvg.h>
#include <nanosvgrast.h>
#include <SDL.h>
#include <SDL_image.h>
#include <SDL_ttf.h>
#include <windows.h>
#include "src/app/settings_storage.h"
#include "src/input/navigation_input.h"
#include "src/logging/log_file.h"
#include "src/logging/logger.h"
#include "src/network/host_discovery.h"
#include "src/network/host_pairing.h"
#include "src/network/runtime_network.h"
#include "src/os.h"
#include "src/platform/error_utils.h"
#include "src/platform/filesystem_utils.h"
#include "src/splash/splash_layout.h"
#include "src/startup/client_identity_storage.h"
#include "src/startup/cover_art_cache.h"
#include "src/startup/host_storage.h"
#include "src/startup/saved_files.h"
#include "src/streaming/session.h"
#include "src/ui/host_probe_result_queue.h"
#include "src/ui/shell_view.h"
Include dependency graph for shell_screen.cpp:

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

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