OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Classes | |
struct | owl::TLayoutConstraint |
TLayoutConstraint is a structure that defines a relationship (a layout constraint) between an edge or size of one window and an edge or size of one of the window's siblings or its parent. More... | |
struct | owl::TEdgeConstraint |
TEdgeConstraint adds member functions that set edge (but not size) constraints. More... | |
struct | owl::TEdgeOrSizeConstraint |
struct | owl::TEdgeOrWidthConstraint |
struct | owl::TEdgeOrHeightConstraint |
class | owl::TLayoutMetrics |
When specifying the layout metrics for a window, four layout constraints are needed. More... | |
class | owl::TLayoutWindow |
Derived from TWindow, TLayoutWindow provides functionality for defining the layout metrics for a window. More... | |
Macros | |
#define | lmParent nullptr |
Use to represent the parent in layout metrics. | |
Enumerations | |
enum | owl::TEdge { owl::lmLeft , owl::lmTop , owl::lmRight , owl::lmBottom , owl::lmCenter } |
The TEdge enum describes the following constants that define the boundaries of a window: More... | |
enum | owl::TWidthHeight { owl::lmWidth = lmCenter + 1 , owl::lmHeight } |
Used by the TLayoutConstraint struct, TWidthHeight enumerates the values that control the width (lmWidth) and height (lmHeight) of the window. More... | |
enum | owl::TMeasurementUnits { owl::lmPixels , owl::lmLayoutUnits } |
Used by the TLayoutConstraint struct, TMeasurementUnits enumerates the measurement units (lmPixels or lmLayoutUnits) that control the dimension of the window. More... | |
enum | owl::TRelationship { owl::lmAsIs = 0 , owl::lmPercentOf = 1 , owl::lmAbove = 2 , owl::lmLeftOf = lmAbove , owl::lmBelow = 3 , owl::lmRightOf = lmBelow , owl::lmSameAs = 4 , owl::lmAbsolute = 5 } |
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). More... | |
Use to represent the parent in layout metrics.
Definition at line 31 of file layoutco.h.
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. |
Definition at line 35 of file layoutco.h.
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.
Enumerator | |
---|---|
lmPixels | |
lmLayoutUnits |
Definition at line 58 of file layoutco.h.
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.
Enumerator | |
---|---|
lmAsIs | |
lmPercentOf | |
lmAbove | |
lmLeftOf | |
lmBelow | |
lmRightOf | |
lmSameAs | |
lmAbsolute |
Definition at line 68 of file layoutco.h.
Used by the TLayoutConstraint struct, TWidthHeight enumerates the values that control the width (lmWidth) and height (lmHeight) of the window.
Enumerator | |
---|---|
lmWidth | |
lmHeight |
Definition at line 48 of file layoutco.h.