<!-- clanlib header begin --> <HTML> <HEAD> <TITLE>CL_Button_Silver - 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_Button_Silver</h1> <p> Button default style. <a href="#description">More...</a></p> <p>Derived from: <a href="CL_ComponentStyle.html">CL_ComponentStyle</a> <br> Derived by: <i>none</i> <br>Group: GUI (Style: Silver)</p> <p> #include <ClanLib/guistylesilver.h> <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_Button_Silver__CL_Button_Silver.html">CL_Button_Silver</a></p></td><td valign=top><p> Constructor</p></td></tr></table> <p><b>Operations:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_Button_Silver__set_font.html">set_font</a></p></td><td valign=top><p> Sets the font used to draw the label.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Button_Silver__set_font_disabled.html">set_font_disabled</a></p></td><td valign=top><p> Sets the font used to draw the label in disabled mode.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Button_Silver__set_surface_up.html">set_surface_up</a></p></td><td valign=top><p> Sets the surface used when button is in the up-state.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Button_Silver__set_surface_down.html">set_surface_down</a></p></td><td valign=top><p> Set the surface used when button is in the down-state.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Button_Silver__set_surface_highlighted.html">set_surface_highlighted</a></p></td><td valign=top><p> Sets the surface used when button is highlighted.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Button_Silver__set_surface_disabled.html">set_surface_disabled</a></p></td><td valign=top><p> Sets the surface used when button is disabled.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Button_Silver__set_surface_draw_only.html">set_surface_draw_only</a></p></td><td valign=top><p> Selects if the surfaces should be drawn alone, or with the normal frames.</p></td></tr></table> <a name="#description"><p><b>Detailed description:</b></p> !group=GUI/Style: Silver! !header=guistylesilver.h! <p>Script attributes:</p> <ul> <li>surface_up: The surface used when button is in the up-state. [String]</li> <li>surface_down: The surface used when button is in the down-state. [String]</li> <li>surface_disabled: The surface used when button is disabled. [String]</li> <li>surface_highlighted: The surface used when button is highlighted. [String]</li> <li>font: The font used to draw the label. [String]</li> <li>font_disabled: The font used to draw the label in disabled mode. [String]</li> </ul> <p>Note that it inherits the attributes of CL_Button and CL_Component as well.</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 -->