SECLNRelativeConstraint Class

class SECLNRelativeConstraint

Constraint properties utilized by SECLNRelative

Defined in: RELATIVE.H

See Also

SECLNRelative

Comments

For convenience, the following constants can be used in place of the ConstraintType enum: REL_TOP = SECLNRelativeConstraint::TOP REL_BOTTOM = SECLNRelativeConstraint::BOTTOM REL_LEFT = SECLNRelativeConstraint::LEFT REL_RIGHT = SECLNRelativeConstraint::RIGHT REL_WIDTH = SECLNRelativeConstraint::WIDTH REL_HEIGHT = SECLNRelativeConstraint::HEIGHT REL_HCENTER = SECLNRelativeConstraint::CENTER_HORZ REL_VCENTER = SECLNRelativeConstraint::CENTER_VERT REL_MOVEL = SECLNRelativeConstraint::MOVE_LEFT REL_MOVER = SECLNRelativeConstraint::MOVE_RIGHT REL_MOVET = SECLNRelativeConstraint::MOVE_TOP REL_MOVEB = SECLNRelativeConstraint::MOVE_BOTTOM REL_DEFAULT = SECLNRelativeConstraint::DEFAULT

Class Members

enum ConstraintType

ConstraintType - available constraint types

SECLayoutNode* m_pNodeFrom

Node to which the constraint is applied

ConstraintType m_constraintFrom

Type of constraint applied to m_pNodeFrom

SECLayoutNode* m_pNodeTo

Position m_pNodeFrom relative to this node. Use NULL for absolute position.

ConstraintType m_constraintTo

Target constraint for relatively positioned node.

int m_nModifier

Additive modifier applied to relative constraint

float m_fModifier

Multiplicative modifier applied to relative constraint