themes.htm 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
  2. <html><head>
  3. <title>themes</title>
  4. </head><body>
  5. <p>[<a href="mxdoc.htm">mainpage</a>]
  6. [<a href="tags.htm">tags</a>]<br>
  7. <h1>tag: themes</h1><ul><li>
  8. <a name="void mx_theme_set(const MX_THEME* theme)"><code>void mx_theme_set(const MX_THEME* theme)</code></a>
  9. <p>
  10. <p><b>Set the current theme</b><p>
  11. This function changes the current theme.
  12. (<a href="../include/depui/corepui.c">../include/depui/corepui.c</a>)
  13. <p>This function does nothing if the requested theme is already being used.
  14. (<a href="../include/depui/corepui.c">../include/depui/corepui.c</a>)
  15. <p>The current theme is stopped before trying the new one.
  16. (<a href="../include/depui/corepui.c">../include/depui/corepui.c</a>)
  17. <p>If the new theme cannot be started the previous theme is restarted.
  18. (<a href="../include/depui/corepui.c">../include/depui/corepui.c</a>)
  19. <p>If both the new theme and the previous theme can't be started the
  20. default theme for the platform is found and started.
  21. (<a href="../include/depui/corepui.c">../include/depui/corepui.c</a>)
  22. <p>If we get here then NO themes, not even the default, work
  23. anymore. Indicate some kind of (platform specific?) fatal error.
  24. (<a href="../include/depui/corepui.c">../include/depui/corepui.c</a>)
  25. <p>When the new theme is started successfully, all objects in the
  26. main tree get an MX_THEME_CHANGE event so that they can change their
  27. sizes or geometry to handle the new theme properly.
  28. (<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>)
  29. <p></li>
  30. </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
  31. </body></html>