This content is provided AS IS for archive purposes only. Content may be out of date with no guarantee of correctness.

HagLoadGuiTheme - Main Functions - Hag GUI for Cobra - Static

Main Article

HagLoadGuiTheme - Main Functions - Hag GUI for Cobra

Procedure HagLoadGuiTheme(themeName: String)

themeName: the name of a theme available in the hag resource directory, e.g. "XP"

This procedure loads theme images contained in the theme directory, and parses a compiled theme file for style information.

If you want to switch themes while a program is running, first call HagFreeGuiTheme. Then call HagFreeTileCache to free any cached images and HagUpdateOnce to make the changes apparent.

See also: Compiling Themes.

Stay Subscribed

Follow me on twitter @golightlyb, subscribe to the RSS feed or get updates by e-mail.

You can also contact me directly - I make an effort to reply to every e-mail.


Login
v0.34.archive