Elaztek Developer Hub
Blamite Game Engine - Strings  00402.09.29.23.0627.blamite
A library containing general purpose utilities and classes for use in multiple projects.
EditorThemeChangeEvent Class Reference

Class representing an editor theme change event. More...

#include <EditorThemeChange.h>

+ Inheritance diagram for EditorThemeChangeEvent:
+ Collaboration diagram for EditorThemeChangeEvent:

Public Member Functions

 EditorThemeChangeEvent (BlamEditorTheme *_theme)
 Constructs a new event. More...
 
BlamEditorTheme * GetTheme ()
 Retrieves the newly applied Editor Theme. More...
 
- Public Member Functions inherited from BlamEvent
 BlamEvent (BlamEventType type)
 Constructs a new event with the specified type. More...
 
BlamEventType GetEventType ()
 Retrieves the type of the event. More...
 
void SetCancelled (bool cancel)
 Sets whether or not the event should be cancelled. More...
 
bool IsCancelled ()
 Determines whether or not the event has been cancelled. More...
 

Detailed Description

Class representing an editor theme change event.

This event is fired from Keystone's theme change functions. Completely replaces the old KeystoneThemeChangeReceiver system.

Constructor & Destructor Documentation

◆ EditorThemeChangeEvent()

EditorThemeChangeEvent::EditorThemeChangeEvent ( BlamEditorTheme *  _theme)

Constructs a new event.

Parameters
_tick- The number of the tick that was fired. Will always be between 0 and the maximum tick rate.
_total_tick- The number of the tick within the amount of total program runtime ticks.

Member Function Documentation

◆ GetTheme()

BlamEditorTheme * EditorThemeChangeEvent::GetTheme ( )

Retrieves the newly applied Editor Theme.

Returns
Pointer to the active Editor Theme.

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