|
|
enum | alignment_t {
align_forward,
align_reverse,
align_center,
align_proportional,
align_forward_fill,
align_reverse_fill,
align_default,
align_fill,
align_left_fill,
align_right_fill,
align_top_fill,
align_bottom_fill,
align_left,
align_right,
align_top,
align_bottom
} |
|
enum | placement_t { place_leaf,
place_column,
place_row,
place_overlay
} |
|
|
int | bottom (const place_data_t &place_data) |
|
int | height (const place_data_t &place_data) |
|
int & | height (place_data_t &place_data) |
|
int | left (const place_data_t &place_data) |
|
int & | left (place_data_t &place_data) |
|
int | right (const place_data_t &place_data) |
|
int | top (const place_data_t &place_data) |
|
int & | top (place_data_t &place_data) |
|
int | width (const place_data_t &place_data) |
|
int & | width (place_data_t &place_data) |
|
Enumerator |
---|
align_forward |
aligned either left or top depending on axis.
|
align_reverse |
aligned either right or bottom depending on axis.
|
align_center |
aligned centered within available space. Guides are supporessed
|
align_proportional |
extra space in the parent container's layout is distributed evenly among those with this alignment. First item being forward aligned and last item being right aligned. Guides are suppressed.
|
align_forward_fill |
Expands to fill the available space. Identical to align_reverse_fill unless item is not a container and contains a guide, in which case, the guide will snap to other forward guides, and the item will fill forward. Normally used for edit_text, edit_number, and popup.
|
align_reverse_fill |
Expands to fill the available space. Identical to align_forward_fill unless item is not a container and contains a guide, in which case, the guide will snap to other reverse guides, and the item will fill reverse. This alignment is the conterpart to align_forward_fill, intended for implementing support for right-to-left languages. See Implementing Right-To-Left Layout.
|
align_default |
default alignment, alignment is picked up by the parent.
|
align_fill |
Identical to align_forward_fill.
|
align_left_fill |
|
align_right_fill |
|
align_top_fill |
|
align_bottom_fill |
|
align_left |
Identical to align_foward.
|
align_right |
Identical to align_reverse.
|
align_top |
Identical to align_foward.
|
align_bottom |
Identical to align_reverse.
|
Definition at line 29 of file layout_attributes.hpp.
Specifies the placement of child views inside their containing view.
Enumerator |
---|
place_leaf |
This view is a leaf node and has no children.
|
place_column |
Children are to be stacked in a column in the parent view.
|
place_row |
Children are to be lined up in a row in the parent view.
|
place_overlay |
Intended for use when two or more placeable objects are to occupy the same screen real estate at mutually exclusive times. In this instance the immediate children of the parent whose placement is set to overlay have their vertical and horizontal alignments set to align_fill.
|
Definition at line 56 of file layout_attributes.hpp.
int adobe::bottom |
( |
const place_data_t & |
place_data | ) |
|
int adobe::height |
( |
const place_data_t & |
place_data | ) |
|
int& adobe::height |
( |
place_data_t & |
place_data | ) |
|
int adobe::left |
( |
const place_data_t & |
place_data | ) |
|
int& adobe::left |
( |
place_data_t & |
place_data | ) |
|
int adobe::right |
( |
const place_data_t & |
place_data | ) |
|
int adobe::top |
( |
const place_data_t & |
place_data | ) |
|
int& adobe::top |
( |
place_data_t & |
place_data | ) |
|
int adobe::width |
( |
const place_data_t & |
place_data | ) |
|
int& adobe::width |
( |
place_data_t & |
place_data | ) |
|
|