lecui 1.0.0-alpha.20
lecui C++ user interface library
|
Status pane container specifications. More...
#include <status_pane.h>
Public Types | |
enum class | pane_location { bottom , top , left , right } |
The status pane's location. More... | |
Public Member Functions | |
float & | thickness () |
Get or set the pane's thickness. This will be a height for top and bottom panes, and a width for left and right panes. More... | |
status_pane_specs & | thickness (const float &thickness) |
Set the pane's thickness. This will be a height for top and bottom panes, and a width for left and right panes. More... | |
bool & | floating () |
Get or set the floating property. More... | |
status_pane_specs & | floating (const bool &floating) |
Set the floating property. More... | |
pane_location & | location () |
Get or set the location of the status pane. More... | |
status_pane_specs & | location (const status_pane_specs::pane_location location) |
Set the location of the status pane. More... | |
Status pane container specifications.
Note that this does not inherit from widgets::widget as regular panes do. This is by design because of the nature of the status pane.
|
strong |
bool & liblec::lecui::containers::status_pane_specs::floating | ( | ) |
Get or set the floating property.
The floating property determines whether the pane should just float above the form without eating into the client area.
status_pane_specs & liblec::lecui::containers::status_pane_specs::floating | ( | const bool & | floating | ) |
Set the floating property.
floating | Whether to make this a floating pane. |
The floating property determines whether the pane should just float above the form without eating into the client area.
pane_location & liblec::lecui::containers::status_pane_specs::location | ( | ) |
Get or set the location of the status pane.
status_pane_specs & liblec::lecui::containers::status_pane_specs::location | ( | const status_pane_specs::pane_location | location | ) |
Set the location of the status pane.
location | The location of the status pane. |
float & liblec::lecui::containers::status_pane_specs::thickness | ( | ) |
Get or set the pane's thickness. This will be a height for top and bottom panes, and a width for left and right panes.
status_pane_specs & liblec::lecui::containers::status_pane_specs::thickness | ( | const float & | thickness | ) |
Set the pane's thickness. This will be a height for top and bottom panes, and a width for left and right panes.
thickness | The thickness, in pixels. |