<< Return to Main Index

< Return to Class Index

CGXStyle::LoadBaseStyle

virtual void LoadBaseStyle(const CGXStylesMap& map);

map

Reference to the styles map with registered base styles.

Remarks

Applies the base styles to the current style object.

A style object can have a base style. If a base style is included, it applies the base style to the current style with ChangeStyle(basestyle, gxApplyNew). If the base style is derived from another style, this base style is also applied. LoadBaseStyle loops through all base styles until no base style is included.

When drawing the grid, Objective Grid fills up uninitialized attributes by calling LoadBaseStyle.

See Also

CGXStyle::ChangeStyle

CGXStyle

Class Overview | Class Members