OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
layoutco.h File Reference

Definition of class TLayoutConstraint. More...

#include <owl/private/defs.h>
#include <owl/defs.h>
#include <owl/preclass.h>
#include <owl/posclass.h>

Go to the source code of this file.

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
 

Namespaces

namespace  owl
 Object Windows Library (OWLNext Core)
 

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

Detailed Description

Definition of class TLayoutConstraint.

Definition in file layoutco.h.