LiveWallpaper๏
Inherits: Object
Runtime singleton that parents a Blazium window to the Windows desktop WorkerW as an animated wallpaper.
Description๏
LiveWallpaper is compiled when the livewallpaper module is enabled. Command-line switches apply only when blazium/livewallpaper/enabled is true. Run mode finds the desktop WorkerW (Progman + 0x052C) and parents the engine window as a WS_CHILD behind the icons. Preview (--livewallpaper-preview or /p) stays a normal window and never attaches. --livewallpaper-quit signals a running instance to exit.
Methods๏
get_mode() const |
|
get_workerw() const |
|
is_attached() const |
|
void |
Enumerations๏
enum Mode: ๐
Mode MODE_DISABLED = 0
Project setting is off, or no livewallpaper mode was applied.
Mode MODE_RUN = 1
Attach to the desktop WorkerW (default when enabled).
Mode MODE_PREVIEW = 2
Windowed preview that does not attach (--livewallpaper-preview or /p).
Mode MODE_QUIT = 3
Signal a running instance to exit (--livewallpaper-quit).
Method Descriptions๏
Returns the active livewallpaper mode, or MODE_DISABLED when the project setting is off.
Returns the WorkerW HWND used as the embed parent, or 0 in preview / when not attached.
Returns true when run mode found a WorkerW and the window is embedded.
void request_exit() ๐
Quits the livewallpaper process.