Sophie

Sophie

distrib > Mandriva > current > i586 > by-pkgid > 98920281af4e2e96d5ea984cee4f9e2f > files > 3518

clanlib0.8-docs-0.8.1-5mdv2010.1.i586.rpm


<!-- clanlib header begin -->
<HTML>
<HEAD>
<TITLE>CL_StyleManager - ClanLib Game SDK</TITLE>
<STYLE TYPE="text/css"><!--
HTML BODY
{
	font-family: verdana, helvetica, sans-serif;
	font-size: 12px;
}
H1 { font-size: 22px; }
H2 { font-size: 18px; }
H3 { font-size: 16px; }
H4 { font-size: 14px; }
P { font-size: 12px; }
LI { font-size: 12px; }
--></STYLE>
</HEAD>

<body bgcolor=white text=black link=blue vlink=#800080>

<center>
<img src="http://clanlib.org/gfx/clanlib.png">
</center>
<!-- clanlib header end -->

<center>
<p>
<a href="http://clanlib.org/docs.html">Home</a> |
<a href="classes.html">All Classes</a> |
<a href="modules.html">Grouped Classes</a> |
<a href="index.html">Index</a> |
<a href="search.html">Search</a>
</p>
</center>
<h1>Class CL_StyleManager</h1>
<p>  Manages the overall style of the system. <a href="#description">More...</a></p>
<p>Derived from:
<i>none</i>
<br>
Derived by:
<a href="CL_StyleManager_Silver.html">CL_StyleManager_Silver</a>
<br>Group: GUI (Framework)</p>
<p>
#include &lt;ClanLib/gui.h&gt;
<p>
<table border=0 width=100%>
</table>
<p><b>Construction:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_StyleManager__CL_StyleManager.html">CL_StyleManager</a></p></td><td valign=top><p>  Construct a style manager using the specified resources.</p></td></tr></table>
<p><b>Attributes:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_StyleManager__get_resources.html">get_resources</a></p></td><td valign=top><p>  Returns style manager's resources.</p></td></tr></table>
<p><b>Overrideables:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_StyleManager__create_component.html">create_component</a></p></td><td valign=top><p>  Create a component based on a type name.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_StyleManager__connect_styles.html">connect_styles</a></p></td><td valign=top><p>  Connect component styles to component.
  The 'type' parameter indicates what type the component is.</p></td></tr></table>
<a name="#description"><p><b>Detailed description:</b></p>
  !group=GUI/Framework!
  !header=gui.h!
  <p>The style manager is responsible of attaching CL_ComponentStyle objects to
  CL_Component objects.</p>
  <p>When a component is constructed, it will contact its style manager's
  connect_styles() function. The style manager will then construct and attach
  component styles to the component.</p>
  <p>The style manager also works as a 'component factory' for the component
  manager. By using create_component(), it is possible to create a component
  based on a name and component options describing it.</p>


<!-- clanlib footer begin -->

<center><br><br><font color="#a0a0a0">
Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>.
</font></center>

</body>
</html>
<!-- clanlib footer end -->