Flatten the namespaces.

Remove:
* ftxui::screen
* ftxui::dom
* ftxui::component

Keep:
* ftxui
This commit is contained in:
Arthur Sonzogni
2019-01-12 15:00:08 +01:00
parent cf63aefa02
commit 21644eea6b
78 changed files with 219 additions and 274 deletions

View File

@@ -6,15 +6,14 @@
#include "ftxui/component/screen_interactive.hpp"
#include "ftxui/util/string.hpp"
using namespace ftxui::component;
using namespace ftxui;
class DrawKey : public Component {
public:
DrawKey(Delegate* delegate)
DrawKey(Component::Delegate* delegate)
: Component(delegate) {}
ftxui::dom::Element Render() override {
using namespace ftxui::dom;
Element Render() override {
Children children;
for (size_t i = std::max(0, (int)keys.size() - 10); i < keys.size(); ++i) {
std::string code = "";