Operating System Simulator Plugin
3.5.1
Unreal Engine plugin that simulates an Operating System Environment
|
An interface class for handling operating system theme changes in widgets. More...
#include "OperatingSystemThemeInterface.h"
Public Member Functions | |
void | K2_OnOperatingSystemThemeChanged (UOperatingSystemSettingModule_Theme *ThemePayload) |
Callback function for handling theme changes in the operating system widget. | |
An interface class for handling operating system theme changes in widgets.
This interface provides a blueprint event, K2_OnOperatingSystemThemeChanged(), to handle theme changes in widgets that implement this interface.
void IOperatingSystemThemeInterface::K2_OnOperatingSystemThemeChanged | ( | UOperatingSystemSettingModule_Theme * | ThemePayload | ) |
Callback function for handling theme changes in the operating system widget.
This function is invoked when the operating system theme is changed. It takes a ThemePayload parameter, which is an instance of the UOperatingSystemSettingModule_Theme class. ThemePayload contains information about the new theme that is being applied.
The function first checks if there are any blueprint events registered for handling theme changes. If there are, it calls the Execute_K2_OnOperatingSystemThemeChanged() function, passing this widget instance and the ThemePayload.
ThemePayload | A pointer to the theme payload object that contains information about the new theme. |