mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-12-16 01:48:56 +08:00
Make component more functionnal
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
namespace ftxui {
|
||||
|
||||
class ScreenInteractive;
|
||||
class Component;
|
||||
class ComponentBase;
|
||||
|
||||
/// @brief Represent an event. It can be key press event, a terminal resize, or
|
||||
/// more ...
|
||||
@@ -76,7 +76,7 @@ struct Event {
|
||||
|
||||
//--- State section ----------------------------------------------------------
|
||||
private:
|
||||
friend Component;
|
||||
friend ComponentBase;
|
||||
friend ScreenInteractive;
|
||||
enum class Type {
|
||||
Unknown,
|
||||
|
||||
Reference in New Issue
Block a user