void mx_theme_set(const MX_THEME* theme)
Set the current theme
This function changes the current theme. (../include/depui/corepui.c)
This function does nothing if the requested theme is already being used. (../include/depui/corepui.c)
The current theme is stopped before trying the new one. (../include/depui/corepui.c)
If the new theme cannot be started the previous theme is restarted. (../include/depui/corepui.c)
If both the new theme and the previous theme can't be started the default theme for the platform is found and started. (../include/depui/corepui.c)
If we get here then NO themes, not even the default, work anymore. Indicate some kind of (platform specific?) fatal error. (../include/depui/corepui.c)
When the new theme is started successfully, all objects in the
main tree get an MX_THEME_CHANGE event so that they can change their
sizes or geometry to handle the new theme properly.
(../include/depui/corepui.c)
(library depui : module corepui)
Generated by MXDOC 2.2 on Sun Feb 4 15:16:26 2007