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

#include <rex/ui/dialog.h>

Public Attributes

std::string title
std::string body = {}
std::vector< std::string > buttons = {}
bool text_input = false
std::string default_text = {}
u32 max_length = 0

Detailed Description

A prompt shown inside the app window.

Member Data Documentation

◆ buttons

std::vector<std::string> rex::ui::PromptConfig::buttons = {}

Button labels. Empty means a single OK button.

◆ max_length

u32 rex::ui::PromptConfig::max_length = 0

Longest text the field accepts in characters. 0 means no limit.


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