ReXGlue SDK
Loading...
Searching...
No Matches
rex::ui::OverlayConfig Struct Reference

#include <rex/ui/ui_system.h>

Public Attributes

std::string_view name
KeyChord default_key
std::unique_ptr< ui::IDialog >(*) create (IUISystem &ui)

Detailed Description

One overlay a program adds. The name sets its toggle hotkey setting ui.bind.<name>.

Member Data Documentation

◆ create

std::unique_ptr< ui::IDialog >(*) rex::ui::OverlayConfig::create(IUISystem &ui)

Creates the overlay. Called on the UI thread.

◆ default_key

KeyChord rex::ui::OverlayConfig::default_key

Default toggle chord, kNone registers no hotkey.

◆ name

std::string_view rex::ui::OverlayConfig::name

Unique name.


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