Operating System Simulator Plugin  3.5.1
Unreal Engine plugin that simulates an Operating System Environment
Loading...
Searching...
No Matches
IOperatingSystemThemeInterface Class Reference

An interface class for handling operating system theme changes in widgets. More...

#include "OperatingSystemThemeInterface.h"

Inheritance diagram for IOperatingSystemThemeInterface:
[legend]

Public Member Functions

void K2_OnOperatingSystemThemeChanged (UOperatingSystemSettingModule_Theme *ThemePayload)
 Callback function for handling theme changes in the operating system widget.
 

Detailed Description

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.

Member Function Documentation

◆ K2_OnOperatingSystemThemeChanged()

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.

Parameters
ThemePayloadA pointer to the theme payload object that contains information about the new theme.

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