Commit Graph

339 Commits

Author SHA1 Message Date
ArthurSonzogni
eacb634a9e Add example homepage.cpp 2019-01-27 02:33:06 +01:00
ArthurSonzogni
9117166541 Add Graph. 2019-01-26 21:52:55 +01:00
Arthur Sonzogni
1e92db7ec0 Add html_like example. Improve take_any_args. 2019-01-23 02:16:00 +01:00
Arthur Sonzogni
ce7867ab03 Add paragraph and fix hflow 2019-01-23 00:34:37 +01:00
Arthur Sonzogni
610b86183b Add hflow. 2019-01-22 23:42:57 +01:00
Arthur Sonzogni
456ede70fd Add size(direction, constraint, value).
For example:
============

element
  | size(WIDTH, EQUAL 10);

element
  | size(HEIGHT, GREATER_THAN, 10);

element
  | size(WIDTH, EQUAL, 10)
  | size(HEIGHT, EQUAL, 10)
2019-01-20 23:04:10 +01:00
Arthur Sonzogni
fddcbdea65 Add "frame" : scrollable area. 2019-01-19 22:06:05 +01:00
Arthur Sonzogni
cb4df0b56f Renames examples for style. 2019-01-19 02:24:05 +01:00
Arthur Sonzogni
5840966049 Update tutorial.md 2019-01-19 00:20:29 +01:00
Arthur Sonzogni
da5b4b5014 Update example/component/gallery.cpp 2019-01-18 22:58:32 +01:00
Arthur Sonzogni
621adf1a44 Update README.md 2019-01-18 22:46:28 +01:00
Arthur Sonzogni
01827ea8ce Add RadioBox. 2019-01-18 22:41:33 +01:00
Arthur Sonzogni
a6040bc360 Add CheckBox. 2019-01-12 22:25:49 +01:00
Arthur Sonzogni
dba019139b Refactor component containers. 2019-01-12 18:24:46 +01:00
Arthur Sonzogni
21644eea6b Flatten the namespaces.
Remove:
* ftxui::screen
* ftxui::dom
* ftxui::component

Keep:
* ftxui
2019-01-12 15:00:08 +01:00
Arthur Sonzogni
cf63aefa02 Refactor and bug fix: Wrong vbox height. 2019-01-06 23:24:58 +01:00
Arthur Sonzogni
e6614d6363 Fix cursor position for dom. 2019-01-06 22:45:10 +01:00
Arthur Sonzogni
acc7012f58 Add spinner. 2019-01-06 22:28:15 +01:00
Arthur Sonzogni
3b0a56e114 Add build example in README.md 2019-01-06 19:22:41 +01:00
Arthur Sonzogni
ccb437f4da Add size(width, height) decorator. 2019-01-06 19:17:27 +01:00
Arthur Sonzogni
7efe8a6385 Separator ftxui::{screen,dom,component} into separate build unit. 2019-01-06 18:53:02 +01:00
Arthur Sonzogni
5887114793 Refactor directory structure.
The goal is to increase the separation in between:

 * ftxui::screen
 * ftxui::dom
 * ftxui::component
2019-01-06 17:10:35 +01:00
Arthur Sonzogni
1d29645cf5 Add LICENSE. Add take_any_args. 2019-01-06 16:14:19 +01:00
Arthur Sonzogni
805c9061e5 Clean source code. Add to_wstring<T> T={int, float, double, ...} 2019-01-06 16:10:57 +01:00
Arthur Sonzogni
c854d07d63 Update tutorial.md and readme.md 2019-01-06 15:46:35 +01:00
Arthur Sonzogni
0b8a2ec181 Add more examples. 2019-01-06 01:28:14 +01:00
Arthur Sonzogni
6bf7acbd54 Update example package_manager. 2019-01-06 00:51:56 +01:00
Arthur Sonzogni
961e3dcb50 Pipeable decoration and the package_manager example.
- Pipeable decorator.
- package_manager example.
2019-01-05 02:03:49 +01:00
Arthur Sonzogni
178feaa6a9 Add menu styles. 2019-01-03 00:35:59 +01:00
Arthur Sonzogni
13e04176a4 Add Blink. Refactor examples. 2019-01-02 22:33:59 +01:00
Arthur Sonzogni
20eaeae4c3 Add dom::blink and component::Input 2018-10-21 14:38:54 +02:00
Arthur Sonzogni
50a732c651 Update table of content of tutorial.md 2018-10-21 14:38:54 +02:00
Arthur Sonzogni
dd9b0f5ec8 Fix tutorial.md. 2018-10-21 14:23:35 +02:00
Arthur Sonzogni
f94b63fafb Add Event. 2018-10-18 22:58:38 +02:00
Arthur Sonzogni
1a4b2c98b2 Add colors.
+ example.
2018-10-12 09:23:37 +02:00
Arthur Sonzogni
711b71688e Implement a lot of new features.
This commit deserve to be cut into at least 8 sub commit. Sorry, I
acknowledge this is bad... Here are the new features:

 * dom decorator: bold, dim, underlined, inverted.
 * component mechanism
 * components
   * menu
   * toogle
2018-10-09 19:08:55 +02:00
Arthur Sonzogni
dd92b89611 Add gauge and frame. 2018-09-22 09:49:43 +02:00
Arthur Sonzogni
e577d67f2a Start the gauge widget. 2018-09-19 21:52:25 +02:00
Arthur Sonzogni
49aeaa49c5 Initial prototype 2018-09-18 08:48:40 +02:00