123456789101112131415161718192021222324252627282930313233343536373839 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
- <html><head>
- <title>themes</title>
- </head><body>
- <p>[<a href="mxdoc.htm">mainpage</a>]
- [<a href="tags.htm">tags</a>]<br>
- <h1>tag: themes</h1><ul><li>
- <a name="void mx_theme_set(const MX_THEME* theme)"><code>void mx_theme_set(const MX_THEME* theme)</code></a>
- <p>
- <p><b>Set the current theme</b><p>
- This function changes the current theme.
- (<a href="../include/depui/corepui.c">../include/depui/corepui.c</a>)
- <p>This function does nothing if the requested theme is already being used.
- (<a href="../include/depui/corepui.c">../include/depui/corepui.c</a>)
- <p>The current theme is stopped before trying the new one.
- (<a href="../include/depui/corepui.c">../include/depui/corepui.c</a>)
- <p>If the new theme cannot be started the previous theme is restarted.
- (<a href="../include/depui/corepui.c">../include/depui/corepui.c</a>)
- <p>If both the new theme and the previous theme can't be started the
- default theme for the platform is found and started.
- (<a href="../include/depui/corepui.c">../include/depui/corepui.c</a>)
- <p>If we get here then NO themes, not even the default, work
- anymore. Indicate some kind of (platform specific?) fatal error.
- (<a href="../include/depui/corepui.c">../include/depui/corepui.c</a>)
- <p>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.
- (<a href="../include/depui/corepui.c">../include/depui/corepui.c</a>)<br>(library <a href="depui.htm">depui</a> : module <a href="depui_corepui.htm">corepui</a>)
- <p></li>
- </ul><p>Generated by <a href="http://www.deleveld.dds.nl/mxdoc/index.htm">MXDOC</a> 2.2 on Sun Feb 4 15:16:26 2007
- </body></html>
|