Difference between revisions of "GUI Themes/Specs"

Jump to navigation Jump to search
(adding section on disabling widgets)
(→‎Disabling Widgets: -- proper section title)
Line 502: Line 502:
Only present sections are loaded. If a section is not defined no error message is generated.
Only present sections are loaded. If a section is not defined no error message is generated.


== Disabling Widgets ==
== Backend-specific theme additions ==
Widgets can be disabled. This is especially useful on platforms that lack certain features and can be used without modifying the main theme configuration.
Backends may specify their own theme additions. This is especially useful on platforms that lack certain features and can be used without modifying the main theme configuration.


The function in the base OSystem is <tt>Common::String getExtraThemeConfig();</tt> and it can be used as such:
The function in the base OSystem is <tt>Common::String getExtraThemeConfig();</tt> and it can be used as such: