Add MenuEntry. (#199)

This will address comments from:
https://github.com/ArthurSonzogni/FTXUI/issues/194
This commit is contained in:
Arthur Sonzogni
2021-09-04 18:43:56 +02:00
committed by GitHub
parent 2ccc599db9
commit b99106a7c9
5 changed files with 147 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ Component Input(StringRef content,
Component Menu(ConstStringListRef entries,
int* selected_,
Ref<MenuOption> = {});
Component MenuEntry(ConstStringRef label, Ref<MenuEntryOption> = {});
Component Radiobox(ConstStringListRef entries,
int* selected_,
Ref<RadioboxOption> option = {});