Moonlight-XboxOG latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
app::ModalState Struct Reference

Context modal state shared by the hosts and apps pages. More...

#include <src/app/client_state.h>

Public Member Functions

bool active () const
 Return whether a modal is currently active.
 

Public Attributes

ModalId id = ModalId::none
 Currently active modal identifier.
 
std::size_t selectedActionIndex = 0
 Zero-based index of the highlighted modal action.
 

Detailed Description

Context modal state shared by the hosts and apps pages.

Member Function Documentation

◆ active()

bool app::ModalState::active ( ) const
inline

Return whether a modal is currently active.

Returns
true when the modal identifier is not ModalId::none.

The documentation for this struct was generated from the following file: