mirror of
https://github.com/yoboujon/ftxui_template.git
synced 2025-06-08 04:50:49 +02:00
Added gif.
This commit is contained in:
parent
0988205844
commit
951a8a22d9
3 changed files with 7 additions and 1 deletions
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
*.gif filter=lfs diff=lfs merge=lfs -text
|
|
@ -3,6 +3,8 @@
|
|||

|
||||

|
||||
|
||||

|
||||
|
||||
Template example using the [FTXUI](https://github.com/ArthurSonzogni/FTXUI) library with a proper logger, thread-safe event handler and multiple pages paradigm. This template can be used in any project and is a good way to start a project using a simple and not-so-verbose approach.
|
||||
|
||||
## Build the project
|
||||
|
@ -55,7 +57,7 @@ void Page1::change_screen()
|
|||
|
||||
### Logger
|
||||
|
||||
_'Logger'_ is a general Logger that can be instanciated anywhere as a singleton. It can have a maximum size for its buffer that can be changed on the go.Each LoggerType can be gathered from each data which can lead to multiple ways to print out a log.
|
||||
_'Logger'_ is a general Logger that can be instanciated anywhere as a singleton. It can have a maximum size for its buffer that can be changed on the go. Each LoggerType can be gathered from each data which can lead to multiple ways to print out a log.
|
||||
|
||||
```cpp
|
||||
Logger& logger = Logger::GetInstance();
|
||||
|
|
3
img/index.gif
Normal file
3
img/index.gif
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:866e3bdcd84294be52a5a92f9bab7807c9d695a6dd42fb4fc7853cf540459904
|
||||
size 545562
|
Loading…
Add table
Reference in a new issue