ET++: The VObjAlign type

VObjAlign is an enumerated type used for simple single-component graphical layout. It can, for instance, be used to specify that a certain object should be horizontally aligned flush left in its container, and vertically centered. The bitwise or operation (|) is used to combine different alignments (one horizontal and one vertical).


enum VObjAlign {
	eVObjHLeft      = BIT(0),
	eVObjHCenter    = BIT(1),
	eVObjHRight     = BIT(2),
	eVObjHExpand    = BIT(3),
	eVObjHEqual     = BIT(4),
	eVObjHGapExpand = BIT(5),
	eVObjH          = eVObjHLeft|eVObjHCenter|eVObjHRight,
	eVObjVTop       = BIT(8),
	eVObjVBase      = BIT(9),
	eVObjVCenter    = BIT(10),
	eVObjVBottom    = BIT(11),
	eVObjVExpand    = BIT(12),
	eVObjVEqual     = BIT(13),
	eVObjVGapExpand = BIT(14),
	eVObjV          = eVObjVTop|eVObjVBase|eVObjVCenter|eVObjVBottom
};

Back to the graphical layout description

Back to the main ET++ page