32#ifndef _SO3_WIDGET_FACTORY_H_
33#define _SO3_WIDGET_FACTORY_H_
63 std::string GetType();
68 SWidget* CreateWidget(
SScene* targetScene,
const std::string& widgetName,
const int& xPos,
const int& yPos,
const unsigned short& width,
const unsigned short& height,
SViewPort* targetViewport,
const unsigned int& widgetZOrder);
73 SWidget* CreateWidget(
SScene* targetScene,
const std::string& widgetName,
const int& xPos,
const int& yPos,
const unsigned short& width,
const unsigned short& height,
SViewPort* targetViewport);
78 SWidget* CreateWidget(
SScene* targetScene,
const std::string& widgetName,
const unsigned short& width,
const unsigned short& height,
SMaterial* targetMaterial,
const unsigned short& targetTechnique,
const unsigned short& targetPass,
const unsigned short& targetTextureUnit);
82 void DeleteWidget(
SWidget* existingWidget);
87 virtual SWidget*
CreateWidgetImpl(
SScene* targetScene,
const std::string& widgetName,
const int& xPos,
const int& yPos,
const unsigned short& width,
const unsigned short& height,
SViewPort* targetViewport,
const unsigned int& widgetZOrder)=0;
92 virtual SWidget*
CreateWidgetImpl(
SScene* targetScene,
const std::string& widgetName,
const int& xPos,
const int& yPos,
const unsigned short& width,
const unsigned short& height,
SViewPort* targetViewport)=0;
97 virtual SWidget*
CreateWidgetImpl(
SScene* targetScene,
const std::string& widgetName,
const unsigned short& width,
const unsigned short& height,
SMaterial* targetMaterial,
const unsigned short& targetTechnique,
const unsigned short& targetPass,
const unsigned short& targetTextureUnit)=0;