ftxui::WindowRenderState
cpp
#include <ftxui/component/component_options.hpp>State passed to the Window component's render function.
Summary
| Symbol | Description |
|---|---|
inner | The element wrapped inside this window. |
title | The title of the window. |
active | Whether the window is the active one. |
drag | Whether the window is being dragged. |
resize | Whether the window is being resized. |
hover_left | Whether the resizeable left side is hovered. |
hover_right | Whether the resizeable right side is hovered. |
hover_top | Whether the resizeable top side is hovered. |
hover_down | Whether the resizeable down side is hovered. |
Public Attributes
inner
cpp
Element inner;The element wrapped inside this window.
title
cpp
const std::string & title;The title of the window.
active
cpp
bool active = false;Whether the window is the active one.
drag
cpp
bool drag = false;Whether the window is being dragged.
resize
cpp
bool resize = false;Whether the window is being resized.
hover_left
cpp
bool hover_left = false;Whether the resizeable left side is hovered.
hover_right
cpp
bool hover_right = false;Whether the resizeable right side is hovered.
hover_top
cpp
bool hover_top = false;Whether the resizeable top side is hovered.
hover_down
cpp
bool hover_down = false;Whether the resizeable down side is hovered.