Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > a2116f36018873d572acbcadddb8e994 > files > 3099

clanlib0.8-docs-0.8.1-22.mga7.i586.rpm


<!-- clanlib header begin -->
<HTML>
<HEAD>
<TITLE>CL_ScrollBar - 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_ScrollBar</h1>
<p>  ScrollBar component <a href="#description">More...</a></p>
<p>Derived from:
<a href="CL_Component.html">CL_Component</a>
<br>
Derived by:
<i>none</i>
<br>Group: GUI (Controls)</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_ScrollBar__CL_ScrollBar.html">CL_ScrollBar</a></p></td><td valign=top><p>  ScrollBar Constructor</p></td></tr></table>
<p><b>Attributes:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_ScrollBar__is_vertical.html">is_vertical</a></p></td><td valign=top><p>  Returns the orientation of the scroll bar.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__is_tracking.html">is_tracking</a></p></td><td valign=top><p>  Returns true if tracking is enabled, or false if tracking is disabled. 
  Tracking is initially enabled. See set_tracking for more info on tracking.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__get_min_value.html">get_min_value</a></p></td><td valign=top><p>  Returns the current min value.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__get_max_value.html">get_max_value</a></p></td><td valign=top><p>  Returns the current max value.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__get_range.html">get_range</a></p></td><td valign=top><p>  Returns the range (delta max-min).</p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__get_value.html">get_value</a></p></td><td valign=top><p>  Returns the current range control value. </p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__is_dragging_slider.html">is_dragging_slider</a></p></td><td valign=top><p>  Returns true if the user has clicked the mouse on the slider and is currently dragging it, or false if not. </p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__is_fixed_length_slider.html">is_fixed_length_slider</a></p></td><td valign=top><p>  Returns true if this is a fixed length slider, false otherwise.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__get_slider_rect.html">get_slider_rect</a></p></td><td valign=top><p>  Returns the scroll bar slider rectangle. </p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__get_min_slider_length.html">get_min_slider_length</a></p></td><td valign=top><p>  Returns the minimum size of the slider.
  Only usable in variable-length sliders.</p></td></tr></table>
<p><b>Operations:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_ScrollBar__set_fixed_length_mode.html">set_fixed_length_mode</a></p></td><td valign=top><p>  Sets the length-mode of the slider.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__set_slider_length.html">set_slider_length</a></p></td><td valign=top><p>  Sets the current size of the slider.
  Only usable in fixed-length sliders.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__set_min_slider_length.html">set_min_slider_length</a></p></td><td valign=top><p>  Sets the minimum size of the slider.
  Only usable in variable-length sliders.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__set_vertical.html">set_vertical</a></p></td><td valign=top><p>  Sets the scroll bar orientation to vertical if enable is true, horizontal otherwise.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__set_tracking.html">set_tracking</a></p></td><td valign=top><p>  Enables scroll bar tracking if enable is true, or disables tracking if enable is false. </p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__set_range.html">set_range</a></p></td><td valign=top><p>  Sets the range between min_value and max_value. 
  If max_value is smaller than min_value, max_value is set to min_value.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__set_min_value.html">set_min_value</a></p></td><td valign=top><p>  Sets the range to start from value. 
  If current maximum value is less than the minvalue, maxvalue is set to minvalue.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__set_max_value.html">set_max_value</a></p></td><td valign=top><p>  Sets the range to end at value. 
  If current maximum value is less than the minvalue, maxvalue is set to minvalue.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__set_value.html">set_value</a></p></td><td valign=top><p>  Sets the range controls value to value and forces it to be within the legal range. </p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__increase.html">increase</a></p></td><td valign=top><p>  Increases current value with step.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__decrease.html">decrease</a></p></td><td valign=top><p>  Decreases current value with step.</p></td></tr></table>
<p><b>Signals:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_ScrollBar__sig_value_changed.html">sig_value_changed</a></p></td><td valign=top><p>  This signal is emitted when the scroll bar value has changed, with the new scroll bar value as an argument. 
  See set_tracking() for specifics on this signal.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__sig_slider_pressed.html">sig_slider_pressed</a></p></td><td valign=top><p>  This signal is emitted when the user presses the slider with the mouse. </p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__sig_slider_moved.html">sig_slider_moved</a></p></td><td valign=top><p>  This signal is emitted when the slider is moved by the user, with the new scroll bar value as an argument. 
  This signal is emitted even when tracking is turned off. </p></td></tr><tr><td width=30% valign=top><p><a href="CL_ScrollBar__sig_slider_released.html">sig_slider_released</a></p></td><td valign=top><p>  This signal is emitted when the user releases the slider with the mouse. </p></td></tr></table>
<a name="#description"><p><b>Detailed description:</b></p>
  !group=GUI/Controls!
  !header=gui.h!


<!-- 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 -->