class RenderableWidget
Defined in: C4Widgets.h
Every renderable user interface widget is a subclass of the RenderableWidget class.
Definition
class RenderableWidget : public Widget, public Renderable
Constructor
RenderableWidget(WidgetType type, RenderType renderType);
RenderableWidget(WidgetType type, RenderType renderType, const Vector2D& size);
The constructor has protected access. The RenderableWidget class can only be used as the base class for other interface widgets.
Parameters
type |
The type of the widget.
|
renderType |
The primitive type of the renderable object. See the Renderable base class.
|
size |
The size of the widget, in pixels..
|
Description
Base Classes
Widget |
Renderable widgets are user interface widgets.
|
Renderable |
A RenderableWidget is a renderable object.
|
|