Add TakeFocus and SetActiveChild.

This allows developers to set child children component must be the
currently active/focused one.

This can be used to "control" where the focus is, without user
interactions.
This commit is contained in:
ArthurSonzogni
2020-08-26 14:57:42 +02:00
committed by Arthur Sonzogni
parent 114ab4ae2a
commit 81d79d311d
6 changed files with 247 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ execute_process(
project(ftxui
LANGUAGES CXX
VERSION 0.1.${git_version}
VERSION 0.2.${git_version}
)
option(FTXUI_BUILD_EXAMPLES "Set to ON to build examples" ON)