mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-19 18:18:09 +08:00
Remove input.hpp
This commit is contained in:

committed by
Arthur Sonzogni

parent
7ee6edfd1f
commit
26db8228f9
@@ -12,7 +12,7 @@ namespace ftxui {
|
||||
|
||||
Component Toggle(const std::vector<std::wstring>* entries,
|
||||
int* selected,
|
||||
ConstRef<ToggleOption> option) {
|
||||
Ref<ToggleOption> option) {
|
||||
return Make<ToggleBase>(entries, selected, std::move(option));
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ ToggleBase* ToggleBase::From(Component component) {
|
||||
|
||||
ToggleBase::ToggleBase(const std::vector<std::wstring>* entries,
|
||||
int* selected,
|
||||
ConstRef<ToggleOption> option)
|
||||
Ref<ToggleOption> option)
|
||||
: entries_(entries), selected_(selected), option_(std::move(option)) {}
|
||||
|
||||
Element ToggleBase::Render() {
|
||||
|
Reference in New Issue
Block a user