CommonLibVR
|
#include <UI.h>
Classes | |
struct | UIMenuEntry |
Public Types | |
using | Create_t = IMenu *() |
Public Types inherited from RE::BSTSingletonSDMBase< Traits > | |
using | Type = typename Traits::Type |
using | Allocator = typename Traits::Allocator |
Public Types inherited from RE::BSTEventSource< MenuOpenCloseEvent > | |
using | Sink = BSTEventSink< MenuOpenCloseEvent > |
Public Types inherited from RE::BSTEventSource< MenuModeChangeEvent > | |
using | Sink = BSTEventSink< MenuModeChangeEvent > |
Public Types inherited from RE::BSTEventSource< void * > | |
using | Sink = BSTEventSink< void * > |
Public Member Functions | |
template<class T > | |
void | AddEventSink (BSTEventSink< T > *a_sink) |
bool | GameIsPaused () |
template<class T > | |
BSTEventSource< T > * | GetEventSource () |
GPtr< IMenu > | GetMenu (const std::string_view &a_menuName) |
GPtr< GFxMovieView > | GetMovieView (const std::string_view &a_menuName) |
bool | IsApplicationMenuOpen () const |
bool | IsCursorHiddenWhenTopmost () const |
bool | IsItemMenuOpen () const |
bool | IsMenuOpen (const std::string_view &a_menuName) |
bool | IsModalMenuOpen () const |
bool | IsPauseMenuDisabled () const |
bool | IsSavingAllowed () const |
bool | IsShowingMenus () const |
bool | IsUsingCustomRendering () const |
void | Register (const std::string_view &a_menuName, Create_t *a_creator) |
template<class T > | |
void | RemoveEventSink (BSTEventSink< T > *a_sink) |
void | ShowMenus (bool a_show) |
void | GetTopMostMenu (RE::IMenu **a_result, std::uint32_t a_depthLimit) |
template<class T , std::enable_if_t< std::conjunction_v< UIImpl::is_menu_ptr< T * >, UIImpl::has_menu_name< T >>, int > = 0> | |
GPtr< T > | GetMenu () |
template<class T , std::enable_if_t< UIImpl::is_menu_ptr_v< T * >, int > = 0> | |
GPtr< T > | GetMenu (const std::string_view &a_menuName) |
Public Member Functions inherited from RE::BSTEventSource< MenuOpenCloseEvent > | |
BSTEventSource () | |
void | AddEventSink (Sink *a_eventSink) |
void | AddEventSink (BSTEventSink< SinkEvent > *a_sink) |
void | RemoveEventSink (Sink *a_eventSink) |
void | SendEvent (const MenuOpenCloseEvent *a_event) |
void | operator() (const MenuOpenCloseEvent *a_event) |
Public Member Functions inherited from RE::BSTEventSource< MenuModeChangeEvent > | |
BSTEventSource () | |
void | AddEventSink (Sink *a_eventSink) |
void | AddEventSink (BSTEventSink< SinkEvent > *a_sink) |
void | RemoveEventSink (Sink *a_eventSink) |
void | SendEvent (const MenuModeChangeEvent *a_event) |
void | operator() (const MenuModeChangeEvent *a_event) |
Public Member Functions inherited from RE::BSTEventSource< void * > | |
BSTEventSource () | |
void | AddEventSink (Sink *a_eventSink) |
void | AddEventSink (BSTEventSink< SinkEvent > *a_sink) |
void | RemoveEventSink (Sink *a_eventSink) |
void | SendEvent (const void * *a_event) |
void | operator() (const void * *a_event) |
Static Public Member Functions | |
static UI * | GetSingleton () |
using RE::UI::Create_t = IMenu*() |
void RE::UI::AddEventSink | ( | BSTEventSink< T > * | a_sink | ) |
bool RE::UI::GameIsPaused | ( | ) |
BSTEventSource< T > * RE::UI::GetEventSource |
|
inline |
|
inline |
GPtr<GFxMovieView> RE::UI::GetMovieView | ( | const std::string_view & | a_menuName | ) |
|
static |
void RE::UI::GetTopMostMenu | ( | RE::IMenu ** | a_result, |
std::uint32_t | a_depthLimit | ||
) |
bool RE::UI::IsApplicationMenuOpen | ( | ) | const |
bool RE::UI::IsCursorHiddenWhenTopmost | ( | ) | const |
bool RE::UI::IsItemMenuOpen | ( | ) | const |
bool RE::UI::IsMenuOpen | ( | const std::string_view & | a_menuName | ) |
bool RE::UI::IsModalMenuOpen | ( | ) | const |
bool RE::UI::IsPauseMenuDisabled | ( | ) | const |
bool RE::UI::IsSavingAllowed | ( | ) | const |
bool RE::UI::IsShowingMenus | ( | ) | const |
bool RE::UI::IsUsingCustomRendering | ( | ) | const |
void RE::UI::Register | ( | const std::string_view & | a_menuName, |
Create_t * | a_creator | ||
) |
|
inline |
void RE::UI::ShowMenus | ( | bool | a_show | ) |
bool RE::UI::closingAllMenus |
BSTHashMap<BSFixedString, UIMenuEntry> RE::UI::menuMap |
bool RE::UI::menuSystemVisible |
bool RE::UI::modal |
std::uint32_t RE::UI::numAllowSaving |
std::uint32_t RE::UI::numApplicationMenus |
std::uint32_t RE::UI::numCustomRendering |
std::uint32_t RE::UI::numDisablePauseMenu |
std::uint32_t RE::UI::numDontHideCursorWhenTopmost |
std::uint32_t RE::UI::numItemMenus |
std::uint32_t RE::UI::numPausesGame |
std::uint8_t RE::UI::pad17D |
std::uint16_t RE::UI::pad17E |
std::uint16_t RE::UI::pad1C2 |
std::uint32_t RE::UI::pad1C4 |
|
mutable |
BSTimer RE::UI::uiTimer |