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

用於定義 Input 元件的樣式。 More...

#include <component_options.hpp>

Public Attributes

Element element
 
bool hovered
 輸入框是否被滑鼠懸停。
 
bool focused
 輸入框是否被使用者聚焦。
 
bool is_placeholder
 

Detailed Description

用於定義 Input 元件的樣式。

Examples
examples/component/input_style.cpp.

Definition at line 155 of file component_options.hpp.

Member Data Documentation

◆ element

Element element

Definition at line 156 of file component_options.hpp.

◆ hovered

bool hovered

輸入框是否被滑鼠懸停。

Definition at line 157 of file component_options.hpp.

◆ focused

bool focused

輸入框是否被使用者聚焦。

Definition at line 158 of file component_options.hpp.

◆ is_placeholder

bool is_placeholder

輸入框是否為空並顯示 佔位符。

Definition at line 159 of file component_options.hpp.


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