mirror of
https://github.com/wesnoth/wesnoth
synced 2024-09-20 07:51:33 +00:00
59911072aa
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.