NexusForce
1.0.0
A rigorously engineered full-stack C++ backend library.
载入中...
搜索中...
未找到
neforce::tui::components::menu_option结构体 参考
TUI
»
用户组件
菜单选项配置
更多...
#include <
menu.hpp
>
Public 属性
vector
<
string
>
entries
菜单条目文本列表
int *
selected
= nullptr
选中索引
bool
horizontal
= false
是否水平排列
function
< void()>
on_change
选择变更回调
function
< void()>
on_enter
回车确认回调
style
normal_style
未选中条目的样式
style
focused_style
已选中条目的样式
详细描述
菜单选项配置
在文件
menu.hpp
第
30
行定义.
该结构体的文档由以下文件生成:
menu.hpp
neforce
tui
components
menu_option
制作者
1.16.0