mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-05-06 08:06:58 +08:00
34 lines
1.5 KiB
Markdown
34 lines
1.5 KiB
Markdown
![]() |
# FTXUI
|
||
|
|
||
|
A C++ library for making text based user interface.
|
||
|
|
||
|
## Feature
|
||
|
* Functional style.
|
||
|
* Simple and elegant syntax (in my opinion).
|
||
|
* No dependencies.
|
||
|
|
||
|
## Example:
|
||
|
~~~cpp
|
||
|
vbox(
|
||
|
hbox(
|
||
|
text(L"left") | frame,
|
||
|
text(L"middle") | frame | flex,
|
||
|
text(L"right") | frame
|
||
|
),
|
||
|
gauge(0.5) | frame
|
||
|
)
|
||
|
~~~
|
||
|
|
||
|
~~~bash
|
||
|
┌────┐┌───────────────────────────────────────────────────────────────┐┌─────┐
|
||
|
│left││middle ││right│
|
||
|
└────┘└───────────────────────────────────────────────────────────────┘└─────┘
|
||
|
┌────────────────────────────────────────────────────────────────────────────┐
|
||
|
│██████████████████████████████████████ │
|
||
|
└────────────────────────────────────────────────────────────────────────────┘
|
||
|
~~~
|
||
|
|
||
|
## Tutorial
|
||
|
See [Tutorial](./tutorial.md)
|
||
|
|