Skip to content
You are viewing documentation for v5.0.0. Switch to latest (main).

ftxui::WindowRenderState ​

cpp
#include <ftxui/component/component_options.hpp>

Summary ​

SymbolDescription
inner
title< The element wrapped inside this window.
active< The title of the window.
drag< Whether the window is the active one.
resize< Whether the window is being dragged.
hover_left< Whether the window is being resized.
hover_right< Whether the resizeable left side is hovered.
hover_top< Whether the resizeable right side is hovered.
hover_down< Whether the resizeable top side is hovered.

Public Attributes ​

inner ​

cpp
Element inner;

title ​

cpp
const std::string & title;

< The element wrapped inside this window.

active ​

cpp
bool active = false;

< The title of the window.

drag ​

cpp
bool drag = false;

< Whether the window is the active one.

resize ​

cpp
bool resize = false;

< Whether the window is being dragged.

hover_left ​

cpp
bool hover_left = false;

< Whether the window is being resized.

hover_right ​

cpp
bool hover_right = false;

< Whether the resizeable left side is hovered.

hover_top ​

cpp
bool hover_top = false;

< Whether the resizeable right side is hovered.

hover_down ​

cpp
bool hover_down = false;

< Whether the resizeable top side is hovered.