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๏ƒ

Mode

get_mode() const

int

get_workerw() const

bool

is_attached() const

void

request_exit()


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๏ƒ

Mode get_mode() const ๐Ÿ”—

Returns the active livewallpaper mode, or MODE_DISABLED when the project setting is off.


int get_workerw() const ๐Ÿ”—

Returns the WorkerW HWND used as the embed parent, or 0 in preview / when not attached.


bool is_attached() const ๐Ÿ”—

Returns true when run mode found a WorkerW and the window is embedded.


void request_exit() ๐Ÿ”—

Quits the livewallpaper process.