9#if !defined(OWL_LAYOUTCO_H)
13#if defined(BI_HAS_PRAGMA_ONCE)
31#define lmParent nullptr
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
TEdge
The TEdge enum describes the following constants that define the boundaries of a window:
TMeasurementUnits
Used by the TLayoutConstraint struct, TMeasurementUnits enumerates the measurement units (lmPixels or...
TRelationship
Used by the TLayoutConstraint struct, TRelationship specifies the relationship between the edges and ...
TWidthHeight
Used by the TLayoutConstraint struct, TWidthHeight enumerates the values that control the width (lmWi...
@ lmTop
The top edge of the window.
@ lmBottom
The bottom edge of the window.
@ lmCenter
The center of the window.
@ lmRight
The right edge of the window.
@ lmLeft
The left edge of the window.
Object Windows Library (OWLNext Core)
General definitions used by all ObjectWindows programs.
TEdgeConstraint adds member functions that set edge (but not size) constraints.
void Below(TWindow *sibling, int margin=0)
Positions your window with respect to a sibling window.
void RightOf(TWindow *sibling, int margin=0)
Positions one window with respect to a sibling window.
void Above(TWindow *sibling, int margin=0)
Positions your window above a sibling window.
void LeftOf(TWindow *sibling, int margin=0)
Positions one window with respect to a sibling window.
void SameAs(TWindow *otherWin, TEdge edge)
Sets the edge of your window indicated by edge equivalent to the corresponding edge of the window in ...
void Absolute(TEdge edge, int value)
Sets an edge of your window to a fixed value.
void Set(TEdge edge, TRelationship rel, TWindow *otherWin, TEdge otherEdge, int value=0)
For setting arbitrary edge constraints.
void PercentOf(TWindow *otherWin, TEdge edge, int percent)
Specifies that the edge of one window indicated in edge should be a percentage of the corresponding e...
void PercentOf(TWindow *otherWin, TEdge edge, int percent)
void SameAs(TWindow *otherWin, TEdge edge)
void Absolute(TEdge edge, int value)
void Absolute(TEdge edge, int value)
void SameAs(TWindow *otherWin, TEdge edge)
void PercentOf(TWindow *otherWin, TEdge edge, int percent)
void PercentOf(TWindow *otherWin, TEdge edge, int percent)
void Absolute(TEdge edge, int value)
void SameAs(TWindow *otherWin, TEdge edge)
TLayoutConstraint is a structure that defines a relationship (a layout constraint) between an edge or...
int Value
used for "lmSameAs" and "lmAbsolute"
TWindow * RelWin
RelWin is a pointer to the sibling windows or lmParent if the child is a proportion of the parent's d...
uint MyEdge
MyEdge contains the name of the edge or size constraint (lmTop, lmBottom, lmLeft, lmRight,...
int Percent
used for "lmPercentOf"
TRelationship Relationship
Relationship specifies the type of relationship that exists between the two windows (that is,...
int Margin
used for "lmAbove", "lmBelow", "lmLeftOf", "lmRightOf"
TMeasurementUnits Units
Units enumerates the units of measurement (either pixels or layout units) used to measure the height ...
uint OtherEdge
OtherEdge contains the name of the edge or size constraint (lmTop, lmBottom, lmLeft,...