Widget::BuildWidget
Defined in:
Builds the geometric structure of a widget.
C4Widgets.h
Prototype
virtual void BuildWidget(void);
Description
The BuildWidget
function is called by the Interface Manager when a widget needs to be built before it can be rendered. An implementation of this function should build the geometric structure of a widget by filling in vertex arrays as necessary for the Renderable
base class of the RenderableWidget
class.A widget indicates that it needs to be rebuilt by calling the
Widget::SetBuildFlag
function. For subclasses of the RenderableWidget
class, the build flag is initially set during preprocessing.
See Also