wesnoth/changelog_entries/gui2-theme-support-in-addons.md
Subhraman Sarkar 59911072aa support loading gui2 themes from add-ons
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.)
2024-08-25 01:56:22 -04:00

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.