Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
WidgetSubsystem Class Reference
Inheritance diagram for WidgetSubsystem:
Collaboration diagram for WidgetSubsystem:

Public Member Functions

 WidgetSubsystem (App *appOwner)
 
virtual int Init () override
 Init the subsystem / start.
 
virtual void Tick (double deltaTime) override
 Called every frame regardless of if the app is closing.
 
virtual void Exit () override
 Called when closing the app.
 
template<class T >
T * AddWidgetClass ()
 
template<class T >
T * AddWidgetClassToRoot ()
 
- Public Member Functions inherited from Subsystem
 Subsystem (App *appOwner)
 
virtual int PreInit (int ArgC, char *ArgV[])
 Runs as early as possible and provides command line arguments.
 
virtual void PreTick (double deltaTime)
 Runs before to tick to get if the app should close or set up a new frame.
 
virtual void TickRendering (double deltaTime)
 Called every frame if the app is NOT closing.
 
AppGetApp () const
 

Additional Inherited Members

- Protected Attributes inherited from Subsystem
Appm_app = nullptr
 

Member Function Documentation

◆ Exit()

void WidgetSubsystem::Exit ( )
overridevirtual

Called when closing the app.

Reimplemented from Subsystem.

◆ Init()

int WidgetSubsystem::Init ( )
overridevirtual

Init the subsystem / start.

Returns
int Returns for success and greater than 0 for error

Reimplemented from Subsystem.

◆ Tick()

void WidgetSubsystem::Tick ( double  deltaTime)
overridevirtual

Called every frame regardless of if the app is closing.

Reimplemented from Subsystem.


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