#include <omgui/tablelayout.h>
omgui::TableLayoutInfo::TableLayoutInfo | ( | ) |
omgui::TableLayoutInfo::~TableLayoutInfo | ( | ) |
omgui::TableLayoutInfo::TableLayoutInfo | ( | const TableLayoutInfo & | other | ) |
TableLayoutInfo & omgui::TableLayoutInfo::add_flags | ( | int | flags | ) |
Adds the given flags to the current flags.
TableLayoutInfo & omgui::TableLayoutInfo::anchor | ( | int | column, | |
int | row | |||
) |
Equivilant to anchor(column, row, column, row)
TableLayoutInfo & omgui::TableLayoutInfo::anchor | ( | int | left, | |
int | top, | |||
int | right, | |||
int | bottom | |||
) |
Specifies the placement of the widget within the layout. Placing a widget within the TableLayout is done by specifying "anchor values" for each side of the widget. The anchor value for a given side of the widget specifies the index of the group that side will anchor to. For example, anchoring the left side of the widget to column 1 means that the widget's left side will anchor to the left side of column 1. An anchor value of 2 for the widget's right side means that the right side of the widget will anchor to the right side of column 2. In this case, the widget can be said to be "spanning" from column 1 to column 2. If both the right and left anchor values are the same, the widget is occupying only that column, or it is not spanning any columns.
left | Specifies which column the left edge of the widget should anchor to | |
top | Specifies which row the top edge of the widget should anchor to | |
right | Specifies which column the right edge of the widget should anchor to | |
bottom | Specifies which row the bottom edge of the widget should anchor to |
TableLayoutInfo & omgui::TableLayoutInfo::bottom_anchor | ( | int | row | ) |
Specifies the bottom anchoring value
TableLayoutInfo & omgui::TableLayoutInfo::flags | ( | int | flags | ) |
Specify flags controlling the placement of objects within the layout.
flags | A combination of omgui::flags::LAYOUT_FLAGS |
const common::tablelayoutdetails::LayoutData & omgui::TableLayoutInfo::get_data | ( | ) | const |
int omgui::TableLayoutInfo::get_flags | ( | ) | const |
TableLayoutInfo & omgui::TableLayoutInfo::left_anchor | ( | int | column | ) |
Specifies the left anchoring value
TableLayoutInfo & omgui::TableLayoutInfo::operator= | ( | const TableLayoutInfo & | other | ) |
TableLayoutInfo & omgui::TableLayoutInfo::padding | ( | int | left, | |
int | top, | |||
int | right, | |||
int | bottom | |||
) |
TableLayoutInfo & omgui::TableLayoutInfo::padding | ( | int | pad | ) |
TableLayoutInfo & omgui::TableLayoutInfo::padding_bottom | ( | int | pad | ) |
TableLayoutInfo & omgui::TableLayoutInfo::padding_left | ( | int | pad | ) |
TableLayoutInfo & omgui::TableLayoutInfo::padding_right | ( | int | pad | ) |
TableLayoutInfo & omgui::TableLayoutInfo::padding_top | ( | int | pad | ) |
TableLayoutInfo & omgui::TableLayoutInfo::remove_flags | ( | int | flags | ) |
Removes the given flags from the current flags if they exist in the current flags.
TableLayoutInfo & omgui::TableLayoutInfo::right_anchor | ( | int | column | ) |
Specifies the right anchoring value
TableLayoutInfo & omgui::TableLayoutInfo::top_anchor | ( | int | row | ) |
Specifies the top anchoring value