stlab.adobe.com Adobe Systems Incorporated

Classes

class  layout_attributes_alignment_t
 
struct  layout_attributes_placement_t
 
class  layout_attributes_t
 
class  place_data_t
 
class  place_data_t::slice_t
 
class  layout_attributes_t::slice_t
 

Enumerations

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 }
 

Functions

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)
 

Detailed Description

Enumeration Type Documentation

enum alignment_t
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.

enum placement_t

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.

Function Documentation

int adobe::bottom ( const place_data_t place_data)

Definition at line 200 of file layout_attributes.hpp.

int adobe::height ( const place_data_t place_data)

Definition at line 180 of file layout_attributes.hpp.

int& adobe::height ( place_data_t place_data)

Definition at line 190 of file layout_attributes.hpp.

int adobe::left ( const place_data_t place_data)

Definition at line 165 of file layout_attributes.hpp.

int& adobe::left ( place_data_t place_data)

Definition at line 175 of file layout_attributes.hpp.

int adobe::right ( const place_data_t place_data)

Definition at line 205 of file layout_attributes.hpp.

int adobe::top ( const place_data_t place_data)

Definition at line 160 of file layout_attributes.hpp.

int& adobe::top ( place_data_t place_data)

Definition at line 170 of file layout_attributes.hpp.

int adobe::width ( const place_data_t place_data)

Definition at line 185 of file layout_attributes.hpp.

int& adobe::width ( place_data_t place_data)

Definition at line 195 of file layout_attributes.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google