mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 17:44:20 +00:00

Requires a `gui-theme.cfg` file in Add-on root with a `[gui]` tag. (Add-ons without all buttons in title_screen may get flagged as defunct.)
295 B
295 B
User interface
GUI2 themes can be loaded from add-ons. Requires a `gui-theme.cfg` file in add-on root with a `[gui]` tag that acts as the entry point for the theme.
Lua API
Added new function gui.switch_theme() to allow switching to another gui2 theme from inside a scenario.