FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
EntryState Struct Reference

|ButtonOption|、|CheckboxOption|、|RadioboxOption|、|MenuEntryOption|、|MenuOption|からの変換の引数。 More...

#include <component_options.hpp>

Public Attributes

std::string label
 表示するラベル。
 
bool state
 ボタン/チェックボックス/ラジオボックスの状態。
 
bool active
 エントリがアクティブであるかどうか。
 
bool focused
 エントリがユーザーによってフォーカスされているかどうか。
 
int index
 該当する場合のエントリのインデックス、または-1。
 

Detailed Description

|ButtonOption|、|CheckboxOption|、|RadioboxOption|、|MenuEntryOption|、|MenuOption|からの変換の引数。

Examples
examples/component/button.cpp, examples/component/dropdown_custom.cpp, examples/component/menu_entries.cpp, and examples/component/menu_style.cpp.

Definition at line 23 of file component_options.hpp.

Member Data Documentation

◆ label

std::string label

表示するラベル。

Definition at line 24 of file component_options.hpp.

◆ state

bool state

ボタン/チェックボックス/ラジオボックスの状態。

Definition at line 25 of file component_options.hpp.

◆ active

bool active

エントリがアクティブであるかどうか。

Definition at line 26 of file component_options.hpp.

◆ focused

bool focused

エントリがユーザーによってフォーカスされているかどうか。

Definition at line 27 of file component_options.hpp.

◆ index

int index

該当する場合のエントリのインデックス、または-1。

Definition at line 28 of file component_options.hpp.


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