Add the slider component.

This commit is contained in:
ArthurSonzogni
2021-04-29 00:18:58 +02:00
parent 7d132c6225
commit 0af8201023
6 changed files with 192 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
#ifndef FTXUI_COMPONENT_COMPONENT_HPP
#define FTXUI_COMPONENT_COMPONENT_HPP
#include <memory>
#include "ftxui/component/event.hpp"
#include "ftxui/dom/elements.hpp"
@@ -60,6 +61,8 @@ class Component {
std::vector<Component*> children_;
};
using ComponentPtr = std::unique_ptr<Component>;
} // namespace ftxui
#endif /* end of include guard: FTXUI_COMPONENT_COMPONENT_HPP */