![]() |
Moonlight-XboxOG latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
|
Implements the shell view renderer and layout helpers. More...
Functions | |
| ShellViewModel | ui::build_shell_view_model (const app::ClientState &state, const std::vector< logging::LogEntry > &logEntries, const std::vector< std::string > &statsLines={}) |
| Build a render-ready shell view from app state and diagnostics. | |
| void | ui::fill_view_model_overlay (const app::ClientState &state, const std::vector< logging::LogEntry > &logEntries, const std::vector< std::string > &statsLines, ShellViewModel *viewModel) |
| Fill the diagnostics overlay with streaming stats and recent log lines. | |
| void | ui::fill_view_model_panel_state (const app::ClientState &state, ShellViewModel *viewModel) |
| Populate which shell-view panels are currently active. | |
| void | ui::fill_view_model_selected_menu_details (const app::ClientState &state, ShellViewModel *viewModel) |
| Copy the currently selected menu row label and description into the view model. | |
| bool | ui::screen_uses_split_menu_layout (app::ScreenId screen) |
| Return whether a screen uses the split menu-and-detail layout. | |
Implements the shell view renderer and layout helpers.
| ShellViewModel ui::build_shell_view_model | ( | const app::ClientState & | state, |
| const std::vector< logging::LogEntry > & | logEntries, | ||
| const std::vector< std::string > & | statsLines = {} ) |
Build a render-ready shell view from app state and diagnostics.
| state | Current app shell state. |
| logEntries | Recent log entries for the optional overlay. |
| statsLines | Optional streaming statistics overlay lines. |
| void ui::fill_view_model_overlay | ( | const app::ClientState & | state, |
| const std::vector< logging::LogEntry > & | logEntries, | ||
| const std::vector< std::string > & | statsLines, | ||
| ShellViewModel * | viewModel ) |
Fill the diagnostics overlay with streaming stats and recent log lines.
| state | Current reducer-owned client state. |
| logEntries | Retained log entries available for overlay display. |
| statsLines | Preformatted streaming statistics lines. |
| viewModel | View model being assembled for rendering. |
| void ui::fill_view_model_panel_state | ( | const app::ClientState & | state, |
| ShellViewModel * | viewModel ) |
Populate which shell-view panels are currently active.
| state | Current reducer-owned client state. |
| viewModel | View model being assembled for rendering. |
| void ui::fill_view_model_selected_menu_details | ( | const app::ClientState & | state, |
| ShellViewModel * | viewModel ) |
Copy the currently selected menu row label and description into the view model.
| state | Current reducer-owned client state. |
| viewModel | View model being assembled for rendering. |
| bool ui::screen_uses_split_menu_layout | ( | app::ScreenId | screen | ) |
Return whether a screen uses the split menu-and-detail layout.
| screen | Screen identifier to inspect. |