OWLNext 6.32
Public Member Functions
owl::TEdgeOrWidthConstraint Struct Reference
Inheritance diagram for owl::TEdgeOrWidthConstraint:
owl::TEdgeOrSizeConstraint owl::TEdgeConstraint owl::TLayoutConstraint

List of all members.

Public Member Functions

void Absolute (TEdge edge, int value)
void PercentOf (TWindow *otherWin, TEdge edge, int percent)
void SameAs (TWindow *otherWin, TEdge edge)
void Absolute (int value)
void PercentOf (TWindow *otherWin, int percent, TWidthHeight otherWidthHeight=lmWidth)
void SameAs (TWindow *otherWin, TWidthHeight otherWidthHeight=lmWidth, int value=0)

Member Function Documentation

void owl::TEdgeOrWidthConstraint::Absolute ( TEdge  edge,
int  value 
) [inline]

Sets an edge of your window to a fixed value.

Reimplemented from owl::TEdgeOrSizeConstraint.

void owl::TEdgeOrWidthConstraint::Absolute ( int  value) [inline]
void owl::TEdgeOrWidthConstraint::PercentOf ( TWindow otherWin,
int  percent,
TWidthHeight  otherWidthHeight = lmWidth 
) [inline]

Percent of another window's width/height (defaults to being the same dimension but could be the opposite dimension, e.g. make my width 50% of my parent's height)

References owl::TLayoutConstraint::MyEdge, owl::TLayoutConstraint::OtherEdge, owl::TLayoutConstraint::Percent, owl::TLayoutConstraint::Relationship, and owl::TLayoutConstraint::RelWin.

void owl::TEdgeOrWidthConstraint::PercentOf ( TWindow otherWin,
TEdge  edge,
int  percent 
) [inline]

Specifies that the edge of one window indicated in edge should be a percentage of the corresponding edge of another window (otherWin.

Reimplemented from owl::TEdgeOrSizeConstraint.

void owl::TEdgeOrWidthConstraint::SameAs ( TWindow otherWin,
TEdge  edge 
) [inline]

Sets the edge of your window indicated by edge equivalent to the corresponding edge of the window in otherWin.

Reimplemented from owl::TEdgeOrSizeConstraint.

void owl::TEdgeOrWidthConstraint::SameAs ( TWindow otherWin,
TWidthHeight  otherWidthHeight = lmWidth,
int  value = 0 
) [inline]

Same as another window's width/height (defaults to being the same dimension but could be the opposite dimension, e.g. make my width the same as my height)

References owl::TLayoutConstraint::MyEdge, owl::TLayoutConstraint::OtherEdge, owl::TLayoutConstraint::Relationship, owl::TLayoutConstraint::RelWin, and owl::TLayoutConstraint::Value.


The documentation for this struct was generated from the following file: