CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

csLayoutConstraint Class Reference
[Layouting]

csLayoutConstraint is a basic constraint used for positioning a control in a csLayout derived component. More...

#include <csws/cslayout.h>

Inheritance diagram for csLayoutConstraint:

csBorderConstraint csGridBagConstraint List of all members.

Public Member Functions

 csLayoutConstraint ()
 Constructor: initialize the object with zero.
 csLayoutConstraint (csComponent *comp)
 Constructor: initialize the object with given value.
virtual ~csLayoutConstraint ()
 the destructor ... nothing much to say about.
virtual csLayoutConstraintClone ()
 make a copy of this constraint

Public Attributes

csComponentcomp
 the attached component

Detailed Description

csLayoutConstraint is a basic constraint used for positioning a control in a csLayout derived component.

Definition at line 37 of file cslayout.h.


Constructor & Destructor Documentation

csLayoutConstraint::csLayoutConstraint  )  [inline]
 

Constructor: initialize the object with zero.

Definition at line 44 of file cslayout.h.

References comp.

csLayoutConstraint::csLayoutConstraint csComponent comp  )  [inline]
 

Constructor: initialize the object with given value.

Definition at line 47 of file cslayout.h.

virtual csLayoutConstraint::~csLayoutConstraint  )  [inline, virtual]
 

the destructor ... nothing much to say about.

Definition at line 50 of file cslayout.h.


Member Function Documentation

virtual csLayoutConstraint* csLayoutConstraint::Clone  )  [virtual]
 

make a copy of this constraint

Reimplemented in csGridBagConstraint, and csBorderConstraint.


Member Data Documentation

csComponent* csLayoutConstraint::comp
 

the attached component

Definition at line 41 of file cslayout.h.

Referenced by csConstraintVector::CompareKey(), and csLayoutConstraint().


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.3.9.1