SO3Engine
|
#include <SO3WidgetFactory.h>
Public Member Functions | |
SWidgetFactory (const std::string &widgetType) | |
virtual | ~SWidgetFactory () |
std::string | GetType () |
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) |
SWidget * | CreateWidget (SScene *targetScene, const std::string &widgetName, const int &xPos, const int &yPos, const unsigned short &width, const unsigned short &height, SViewPort *targetViewport) |
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) |
void | DeleteWidget (SWidget *existingWidget) |
Protected Member Functions | |
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 |
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 |
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 |
virtual void | DeleteWidgetImpl (SWidget *existingWidget)=0 |
Detailed Description
Definition at line 43 of file SO3WidgetFactory.h.
Constructor & Destructor Documentation
◆ SWidgetFactory()
SO3::SWidgetFactory::SWidgetFactory | ( | const std::string & | widgetType | ) |
Constructor.
Definition at line 42 of file SO3WidgetFactory.cpp.
◆ ~SWidgetFactory()
|
virtual |
Destructor.
Definition at line 52 of file SO3WidgetFactory.cpp.
Member Function Documentation
◆ CreateWidget() [1/3]
SWidget * SO3::SWidgetFactory::CreateWidget | ( | SScene * | targetScene, |
const std::string & | widgetName, | ||
const int & | xPos, | ||
const int & | yPos, | ||
const unsigned short & | width, | ||
const unsigned short & | height, | ||
SViewPort * | targetViewport | ||
) |
Create a widget on a viewport, creating a new material.
Definition at line 70 of file SO3WidgetFactory.cpp.
◆ CreateWidget() [2/3]
SWidget * SO3::SWidgetFactory::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 | ||
) |
Create a widget on a viewport, creating a new material.
Definition at line 65 of file SO3WidgetFactory.cpp.
◆ CreateWidget() [3/3]
SWidget * SO3::SWidgetFactory::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 | ||
) |
Create a widget on an existing material.
Definition at line 75 of file SO3WidgetFactory.cpp.
◆ CreateWidgetImpl() [1/3]
|
protectedpure virtual |
Create a widget on a 2D rect, creating a new material. Concrete implementation to be redefine by subclasses.
Implemented in SO3::SBitmapWidgetFactory, SO3::SFlashWidgetFactory, SO3::SObjWindowWidgetFactory, and SO3::SWebNavigatorWidgetFactory.
◆ CreateWidgetImpl() [2/3]
|
protectedpure virtual |
Create a widget on a viewport, creating a new material. Concrete implementation to be redefine by subclasses.
Implemented in SO3::SBitmapWidgetFactory, SO3::SFlashWidgetFactory, SO3::SObjWindowWidgetFactory, and SO3::SWebNavigatorWidgetFactory.
◆ CreateWidgetImpl() [3/3]
|
protectedpure virtual |
Create a widget on an existing material. Concrete implementation to be redefine by subclasses.
Implemented in SO3::SBitmapWidgetFactory, SO3::SFlashWidgetFactory, SO3::SObjWindowWidgetFactory, and SO3::SWebNavigatorWidgetFactory.
◆ DeleteWidget()
void SO3::SWidgetFactory::DeleteWidget | ( | SWidget * | existingWidget | ) |
Definition at line 80 of file SO3WidgetFactory.cpp.
◆ DeleteWidgetImpl()
|
protectedpure virtual |
◆ GetType()
std::string SO3::SWidgetFactory::GetType | ( | ) |
Definition at line 60 of file SO3WidgetFactory.cpp.
The documentation for this class was generated from the following files:
- include/SO3Renderer/SO3WidgetFactory.h
- src/SO3Renderer/SO3WidgetFactory.cpp
Generated by 1.9.8