OWLNext 6.32
Classes | Defines | Enumerations
Layout

Classes

struct  owl::TLayoutConstraint
struct  owl::TEdgeConstraint
struct  owl::TEdgeOrSizeConstraint
struct  owl::TEdgeOrWidthConstraint
struct  owl::TEdgeOrHeightConstraint
class  owl::TLayoutMetrics
class  owl::TLayoutWindow

Defines

#define lmParent   0

Enumerations

enum  owl::TEdge { owl::lmLeft, owl::lmTop, owl::lmRight, owl::lmBottom, owl::lmCenter }
enum  owl::TWidthHeight { lmWidth = lmCenter + 1, lmHeight }
enum  owl::TMeasurementUnits { lmPixels, lmLayoutUnits }
enum  owl::TRelationship { lmAsIs = 0, lmPercentOf = 1, lmAbove = 2, lmLeftOf = lmAbove, lmBelow = 3, lmRightOf = lmBelow, lmSameAs = 4, lmAbsolute = 5 }

Define Documentation

#define lmParent   0

Use to represent the parent in layout metrics.


Enumeration Type Documentation

enum owl::TEdge

The TEdge enum describes the following constants that define the boundaries of a window:

Enumerator:
lmLeft 

The left edge of the window.

lmTop 

The top edge of the window.

lmRight 

The right edge of the window.

lmBottom 

The bottom edge of the window.

lmCenter 

The center of the window. The object that owns the constraint, such as TLayoutMetrics, determines whether the center of the window is the vertical center or the horizontal center.

Used by the TLayoutConstraint struct, TMeasurementUnits enumerates the measurement units (lmPixels or lmLayoutUnits) that control the dimension of the window. These can be either pixels or layout units that are obtained by dividing the font height into eight vertical and eight horizontal segments.

Used by the TLayoutConstraint struct, TRelationship specifies the relationship between the edges and sizes of one window and the edges and sizes of another window (which can be a parent or sibling). These relationships can be specified as either the same value as the sibling or parent window (lmAsIs), an absolute value (lmAbsolute), a percent of one of the windows (lmPercentOf), a value that is either added above (lmAbove) or left (lmLeftOf) of one of the windows, or a value that is subtracted from below (lmBelow) or right (lmRightOf) of one of the windows.

Used by the TLayoutConstraint struct, TWidthHeight enumerates the values that control the width (lmWidth) and height (lmHeight) of the window.