C4 Engine
C4 Engine API Documentation

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);

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.