Add Graph.

This commit is contained in:
ArthurSonzogni
2019-01-26 21:52:55 +01:00
parent 1e92db7ec0
commit 9117166541
31 changed files with 226 additions and 80 deletions

View File

@@ -9,17 +9,18 @@ int main(int argc, const char *argv[])
hbox(
text(L"left-column"),
separator(),
flex(vbox(
center(text(L"right-column")) | flex,
vbox(
center(text(L"right-top")) | flex,
separator(),
center(text(L"bottom-column"))
))
);
auto screen = Screen::TerminalFullscreen();
center(text(L"bottom-bottom"))
) | flex,
separator(),
text(L"right-column")
) | border;
auto screen = Screen::Create(Dimension::Full(), Dimension::Fit(document));
Render(screen, document.get());
std::cout << screen.ToString();
getchar();
std::cout << screen.ToString() << std::endl;
return 0;
}