mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-22 20:58:10 +08:00
Add options for checkbox.
This commit is contained in:

committed by
Arthur Sonzogni

parent
359100ca73
commit
2b7daf061f
@@ -27,7 +27,9 @@ std::shared_ptr<T> Make(Args&&... args) {
|
||||
Component Button(ConstStringRef label,
|
||||
std::function<void()> on_click,
|
||||
ConstRef<ButtonOption> = {});
|
||||
Component Checkbox(ConstStringRef label, bool* checked);
|
||||
Component Checkbox(ConstStringRef label,
|
||||
bool* checked,
|
||||
ConstRef<CheckboxOption> option = {});
|
||||
Component Input(StringRef content, ConstStringRef placeholder);
|
||||
Component Menu(const std::vector<std::wstring>* entries,
|
||||
int* selected_,
|
||||
|
Reference in New Issue
Block a user