omegalib  13.1
omegaToolkit::UiModule Class Reference

#include <UiModule.h>

Public Member Functions

 UiModule ()
 
virtual ~UiModule ()
 
bool isLocalEventsEnabled ()
 
virtual void initialize ()
 
virtual void dispose ()
 
virtual void initializeRenderer (Renderer *r)
 
virtual void update (const UpdateContext &context)
 
virtual void handleEvent (const Event &evt)
 
ui::ContainergetUi ()
 
ui::WidgetFactorygetWidgetFactory ()
 
void setGamepadInteractionEnabled (bool value)
 
bool getGamepadInteractionEnabled ()
 
void setPointerInteractionEnabled (bool value)
 
bool getPointerInteractionEnabled ()
 
void setCullingEnabled (bool value)
 Enabled or disables widget culling. More...
 
bool isCullingEnabled ()
 
void activateWidget (ui::Widget *w)
 
void queueWidgetForLayoutRefresh (ui::Widget *w)
 Queues a widget for layout refresh. More...
 
ui::ContainercreateExtendedUi (const String &name, uint mask, int rendererId)
 Extended ui. More...
 
ui::ContainergetExtendedUi (const String &name)
 
void destroyExtendedUi (const String &name)
 
- Public Member Functions inherited from omega::EngineModule
 EngineModule (const String &name)
 
 EngineModule ()
 
virtual ~EngineModule ()
 
void requestOpenGLProfile (OpenGLProfile profile)
 This method can be used within an engine module ctor or initialization to test for module compatibility. More...
 
void enableSharedData ()
 
void disableSharedData ()
 
virtual void handleEvent (const Event &evt)
 
virtual bool handleCommand (const String &cmd)
 
virtual void commitSharedData (SharedOStream &out)
 
virtual void updateSharedData (SharedIStream &in)
 
void doInitialize (Engine *server)
 
void doDispose ()
 
virtual bool isInitialized ()
 
EnginegetEngine ()
 
Priority getPriority ()
 
void setPriority (Priority value)
 
const StringgetName ()
 
- Public Member Functions inherited from omicron::ReferenceType
 ReferenceType ()
 
virtual ~ReferenceType ()
 
void ref ()
 
void unref ()
 
long refCount ()
 

Static Public Member Functions

static UiModuleinstance ()
 
static UiModulecreateAndInitialize ()
 
static void setConfirmButton (Event::Flags button)
 
static void setCancelButton (Event::Flags button)
 
static Event::Flags getConfirmButton ()
 
static Event::Flags getCancelButton ()
 
static void setClickButton (Event::Flags button)
 
static Event::Flags getClickButton ()
 
- Static Public Member Functions inherited from omicron::ReferenceType
static void printObjCounts ()
 

Additional Inherited Members

- Public Types inherited from omega::EngineModule
enum  Priority {
  PriorityLowest = 0, PriorityLow = 1, PriorityNormal = 2, PriorityHigh = 3,
  PriorityHighest = 4
}
 
enum  OpenGLProfile { CoreProfile, CompatibilityProfile, UnspecifiedProfile }
 
- Static Protected Attributes inherited from omicron::ReferenceType
static List< ReferenceType * > mysObjList
 
+ Inheritance diagram for omegaToolkit::UiModule:

Constructor & Destructor Documentation

omegaToolkit::UiModule::UiModule ( )
virtual omegaToolkit::UiModule::~UiModule ( )
virtual

Member Function Documentation

void omegaToolkit::UiModule::activateWidget ( ui::Widget w)
static UiModule* omegaToolkit::UiModule::createAndInitialize ( )
static
ui::Container* omegaToolkit::UiModule::createExtendedUi ( const String name,
uint  mask,
int  rendererId 
)

Extended ui.

void omegaToolkit::UiModule::destroyExtendedUi ( const String name)
virtual void omegaToolkit::UiModule::dispose ( )
virtual

Reimplemented from omega::EngineModule.

static Event::Flags omegaToolkit::UiModule::getCancelButton ( )
inlinestatic
static Event::Flags omegaToolkit::UiModule::getClickButton ( )
inlinestatic
static Event::Flags omegaToolkit::UiModule::getConfirmButton ( )
inlinestatic
ui::Container* omegaToolkit::UiModule::getExtendedUi ( const String name)
bool omegaToolkit::UiModule::getGamepadInteractionEnabled ( )
inline
bool omegaToolkit::UiModule::getPointerInteractionEnabled ( )
inline
ui::Container* omegaToolkit::UiModule::getUi ( )
ui::WidgetFactory * omegaToolkit::UiModule::getWidgetFactory ( )
inline
virtual void omegaToolkit::UiModule::handleEvent ( const Event &  evt)
virtual
virtual void omegaToolkit::UiModule::initialize ( )
virtual

Reimplemented from omega::EngineModule.

virtual void omegaToolkit::UiModule::initializeRenderer ( Renderer r)
virtual

Reimplemented from omega::EngineModule.

static UiModule* omegaToolkit::UiModule::instance ( )
inlinestatic
bool omegaToolkit::UiModule::isCullingEnabled ( )
inline
bool omegaToolkit::UiModule::isLocalEventsEnabled ( )
inline
void omegaToolkit::UiModule::queueWidgetForLayoutRefresh ( ui::Widget w)
inline

Queues a widget for layout refresh.

static void omegaToolkit::UiModule::setCancelButton ( Event::Flags  button)
inlinestatic
static void omegaToolkit::UiModule::setClickButton ( Event::Flags  button)
inlinestatic
static void omegaToolkit::UiModule::setConfirmButton ( Event::Flags  button)
inlinestatic
void omegaToolkit::UiModule::setCullingEnabled ( bool  value)
inline

Enabled or disables widget culling.

When culling is enabled, 2D mode widgets are drawn only if they are within the viewport boundaries. Defaults to true.

void omegaToolkit::UiModule::setGamepadInteractionEnabled ( bool  value)
inline
void omegaToolkit::UiModule::setPointerInteractionEnabled ( bool  value)
inline
virtual void omegaToolkit::UiModule::update ( const UpdateContext context)
virtual

Reimplemented from omega::EngineModule.


The documentation for this class was generated from the following file: