igor::iLayerWidgets Class Reference

#include <iLayerWidgets.h>

Inherits igor::iLayer.

Public Member Functions

 iLayerWidgets (iWidgetThemePtr theme, iWindowPtr window, const iaString &name, int32 zIndex)
 
virtual ~iLayerWidgets ()=default
 
- Public Member Functions inherited from igor::iLayer
 iLayer (iWindowPtr window, const iaString &name="Layer", int32 zIndex=0)
 
virtual ~iLayer ()=default
 
virtual void onInit ()
 
virtual void onDeinit ()
 
virtual void onUpdate ()
 
virtual void onEvent (iEvent &event)
 
const iaStringgetName () const
 
void setName (const iaString &name)
 
int32 getZIndex () const
 
iWindowPtr getWindow () const
 

Protected Member Functions

virtual void onInit () override
 
virtual void onDeinit () override
 
virtual void onUpdate () override
 
virtual void onEvent (iEvent &event) override
 

Detailed Description

layer for witdget system

Constructor & Destructor Documentation

◆ iLayerWidgets()

igor::iLayerWidgets::iLayerWidgets ( iWidgetThemePtr  theme,
iWindowPtr  window,
const iaString name,
int32  zIndex 
)

ctor initializes layer

Parameters
windowthe given window
themethe widget theme to use
namethe name of this layer
zIndexthe z index

◆ ~iLayerWidgets()

virtual igor::iLayerWidgets::~iLayerWidgets ( )
virtualdefault

does nothing

Member Function Documentation

◆ onDeinit()

void igor::iLayerWidgets::onDeinit ( )
overrideprotectedvirtual

deinitialize example

Reimplemented from igor::iLayer.

◆ onEvent()

void igor::iLayerWidgets::onEvent ( iEvent event)
overrideprotectedvirtual

called on any other event

Parameters
eventthe event to handle

Reimplemented from igor::iLayer.

◆ onInit()

void igor::iLayerWidgets::onInit ( )
overrideprotectedvirtual

initialize example

Reimplemented from igor::iLayer.

◆ onUpdate()

void igor::iLayerWidgets::onUpdate ( )
overrideprotectedvirtual

called on application pre draw event

Reimplemented from igor::iLayer.


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