diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d41a940 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.gif filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md index 79bd16a..a31f609 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ ![Static Badge](https://img.shields.io/badge/builds_on-Linux-brightgreen) ![Static Badge](https://img.shields.io/badge/builds_on-Windows-brightgreen) +![index](img/index.gif) + 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(); diff --git a/img/index.gif b/img/index.gif new file mode 100644 index 0000000..89545bb --- /dev/null +++ b/img/index.gif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:866e3bdcd84294be52a5a92f9bab7807c9d695a6dd42fb4fc7853cf540459904 +size 545562