<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>PlotMM: PlotMM::HScale Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.4 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> <div class="nav"> <b>PlotMM</b>::<a class="el" href="class_plot_m_m_1_1_h_scale.html">HScale</a></div> <h1>PlotMM::HScale Class Reference</h1><!-- doxytag: class="PlotMM::HScale" --><!-- doxytag: inherits="PlotMM::Scale" -->Inheritance diagram for PlotMM::HScale:<p><center><img src="class_plot_m_m_1_1_h_scale__inherit__graph.png" border="0" usemap="#_plot_m_m_1_1_h_scale__inherit__map" alt="Inheritance graph"></center> <map name="_plot_m_m_1_1_h_scale__inherit__map"> <area href="class_plot_m_m_1_1_scale.html" shape="rect" coords="10,18,104,42" alt=""> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for PlotMM::HScale:<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_plot_m_m_1_1_h_scale-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> Class to draw a horizontal scale. <p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_h_scale.html#_plot_m_m_1_1_h_scalea0">HScale</a> (Gtk::PositionType p, <a class="el" href="class_plot_m_m_1_1_scale_labels.html">ScaleLabels</a> *l=0)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_h_scale.html#_plot_m_m_1_1_h_scalea1">~HScale</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea2">set_position</a> (Gtk::PositionType p)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">Gtk::PositionType </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea3">position</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea4">set_ticklengths</a> (int major, int minor)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea5">major_ticklength</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea6">minor_ticklength</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea7">set_enabled</a> (bool b)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea8">enabled</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_plot_m_m_1_1_double_int_map.html">DoubleIntMap</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea9">scale_map</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea10">set_range</a> (double l, double r)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea11">set_range</a> (double l, double r, bool lg)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea12">set_autoscale</a> (bool b)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea13">autoscale</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea14">autoscale</a> (double min, double max)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea15">begin_autoscale</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea16">end_autoscale</a> ()</td></tr> <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">SigC::Signal1< void, bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scaleo0">signal_enabled</a></td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_h_scale.html#_plot_m_m_1_1_h_scaleb0">redraw</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_h_scale.html#_plot_m_m_1_1_h_scaleb1">on_tick_change</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scaleb2">on_realize</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scaleb3">on_expose_event</a> (GdkEventExpose *event)</td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_plot_m_m_1_1_v_scalep0"></a><!-- doxytag: member="PlotMM::HScale::gc_" ref="_plot_m_m_1_1_v_scalep0" args="" --> Glib::RefPtr< Gdk::GC > </td><td class="memItemRight" valign="bottom"><b>gc_</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_plot_m_m_1_1_v_scalep1"></a><!-- doxytag: member="PlotMM::HScale::window_" ref="_plot_m_m_1_1_v_scalep1" args="" --> Glib::RefPtr< Gdk::Window > </td><td class="memItemRight" valign="bottom"><b>window_</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_plot_m_m_1_1_v_scalep2"></a><!-- doxytag: member="PlotMM::HScale::labwin_" ref="_plot_m_m_1_1_v_scalep2" args="" --> Glib::RefPtr< Gdk::Window > </td><td class="memItemRight" valign="bottom"><b>labwin_</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_plot_m_m_1_1_v_scalep3"></a><!-- doxytag: member="PlotMM::HScale::labels_" ref="_plot_m_m_1_1_v_scalep3" args="" --> <a class="el" href="class_plot_m_m_1_1_scale_labels.html">ScaleLabels</a> * </td><td class="memItemRight" valign="bottom"><b>labels_</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_plot_m_m_1_1_v_scalep4"></a><!-- doxytag: member="PlotMM::HScale::scaleDiv_" ref="_plot_m_m_1_1_v_scalep4" args="" --> ScaleDiv </td><td class="memItemRight" valign="bottom"><b>scaleDiv_</b></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="_plot_m_m_1_1_v_scalep5"></a><!-- doxytag: member="PlotMM::HScale::scaleMap_" ref="_plot_m_m_1_1_v_scalep5" args="" --> <a class="el" href="class_plot_m_m_1_1_double_int_map.html">DoubleIntMap</a> </td><td class="memItemRight" valign="bottom"><b>scaleMap_</b></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="_plot_m_m_1_1_h_scalea0"></a><!-- doxytag: member="PlotMM::HScale::HScale" ref="_plot_m_m_1_1_h_scalea0" args="(Gtk::PositionType p, ScaleLabels *l=0)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">HScale::HScale </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">Gtk::PositionType </td> <td class="mdname" nowrap> <em>p</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="class_plot_m_m_1_1_scale_labels.html">ScaleLabels</a> * </td> <td class="mdname" nowrap> <em>l</em> = <code>0</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Constructor<p> <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_scalea0">Scale::Scale()</a></dd></dl> </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_h_scalea1"></a><!-- doxytag: member="PlotMM::HScale::~HScale" ref="_plot_m_m_1_1_h_scalea1" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">HScale::~HScale </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Destructor </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="_plot_m_m_1_1_v_scalea14"></a><!-- doxytag: member="PlotMM::HScale::autoscale" ref="_plot_m_m_1_1_v_scalea14" args="(double min, double max)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void Scale::autoscale </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname" nowrap> <em>min</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>max</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Add autoscale information<p> The given minimum and maximum value extend the current autoscale information. Call <a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea16">end_autoscale()</a> when finished. </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_v_scalea13"></a><!-- doxytag: member="PlotMM::HScale::autoscale" ref="_plot_m_m_1_1_v_scalea13" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool PlotMM::Scale::autoscale </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Query if autoscaling is enabled. <p> </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_v_scalea15"></a><!-- doxytag: member="PlotMM::HScale::begin_autoscale" ref="_plot_m_m_1_1_v_scalea15" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void Scale::begin_autoscale </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Reset autoscale information<p> Before updating autoscale information with autoscale(min,max), begin_autoscale must be called to reset the old autoscale information. Call <a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea16">end_autoscale()</a> when finished. </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_v_scalea8"></a><!-- doxytag: member="PlotMM::HScale::enabled" ref="_plot_m_m_1_1_v_scalea8" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool PlotMM::Scale::enabled </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Query if the scale is enabled (i.e. visible). <p> </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_v_scalea16"></a><!-- doxytag: member="PlotMM::HScale::end_autoscale" ref="_plot_m_m_1_1_v_scalea16" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void Scale::end_autoscale </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Finish update of autoscale information<p> After updating autoscale information with autoscale(min,max) this function sets the new range of values.<p> <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea10">set_range</a></dd></dl> </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_v_scalea5"></a><!-- doxytag: member="PlotMM::HScale::major_ticklength" ref="_plot_m_m_1_1_v_scalea5" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int PlotMM::Scale::major_ticklength </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Return the major ticklength. <p> </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_v_scalea6"></a><!-- doxytag: member="PlotMM::HScale::minor_ticklength" ref="_plot_m_m_1_1_v_scalea6" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int PlotMM::Scale::minor_ticklength </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Return the minor ticklength. <p> </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_v_scaleb3"></a><!-- doxytag: member="PlotMM::HScale::on_expose_event" ref="_plot_m_m_1_1_v_scaleb3" args="(GdkEventExpose *event)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool Scale::on_expose_event </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">GdkEventExpose * </td> <td class="mdname1" valign="top" nowrap> <em>event</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected, virtual, inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Handles an expose event </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_v_scaleb2"></a><!-- doxytag: member="PlotMM::HScale::on_realize" ref="_plot_m_m_1_1_v_scaleb2" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void Scale::on_realize </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected, virtual, inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Do the necessary initializations when window is realized. </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_h_scaleb1"></a><!-- doxytag: member="PlotMM::HScale::on_tick_change" ref="_plot_m_m_1_1_h_scaleb1" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void HScale::on_tick_change </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Requests a size for the drawingarea that can hold the major tick <p> Reimplemented from <a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_scaleb2">PlotMM::Scale</a>. </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_v_scalea3"></a><!-- doxytag: member="PlotMM::HScale::position" ref="_plot_m_m_1_1_v_scalea3" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">Gtk::PositionType PlotMM::Scale::position </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Return where the scale is positioned. <p> </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_h_scaleb0"></a><!-- doxytag: member="PlotMM::HScale::redraw" ref="_plot_m_m_1_1_h_scaleb0" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void HScale::redraw </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Draws the scale <p> Implements <a class="el" href="class_plot_m_m_1_1_scale.html">PlotMM::Scale</a>. </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_v_scalea9"></a><!-- doxytag: member="PlotMM::HScale::scale_map" ref="_plot_m_m_1_1_v_scalea9" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">const <a class="el" href="class_plot_m_m_1_1_double_int_map.html">DoubleIntMap</a>& PlotMM::Scale::scale_map </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Query the ScaleMap used by this scale. <p> </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_v_scalea12"></a><!-- doxytag: member="PlotMM::HScale::set_autoscale" ref="_plot_m_m_1_1_v_scalea12" args="(bool b)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void Scale::set_autoscale </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>b</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Turn on autoscaling </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_v_scalea7"></a><!-- doxytag: member="PlotMM::HScale::set_enabled" ref="_plot_m_m_1_1_v_scalea7" args="(bool b)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void Scale::set_enabled </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>b</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Enable drawing of scales<p> If scale drawing is disabled, no space will be occupied and nothing will be displayed. If a <a class="el" href="class_plot_m_m_1_1_scale_labels.html">ScaleLabels</a> instance was specified, the <a class="el" href="class_plot_m_m_1_1_scale_labels.html">ScaleLabels</a> will also be disabled.<p> To re-enable <a class="el" href="class_plot_m_m_1_1_scale.html">Scale</a> and <a class="el" href="class_plot_m_m_1_1_scale_labels.html">ScaleLabels</a> drawing, call this function with true. </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_v_scalea2"></a><!-- doxytag: member="PlotMM::HScale::set_position" ref="_plot_m_m_1_1_v_scalea2" args="(Gtk::PositionType p)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void Scale::set_position </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">Gtk::PositionType </td> <td class="mdname1" valign="top" nowrap> <em>p</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Change the position of the <a class="el" href="class_plot_m_m_1_1_scale.html">Scale</a> (may not work)<p> <dl compact><dt><b><a class="el" href="todo.html#_todo000011">Todo:</a></b></dt><dd>check this out </dd></dl> </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_v_scalea11"></a><!-- doxytag: member="PlotMM::HScale::set_range" ref="_plot_m_m_1_1_v_scalea11" args="(double l, double r, bool lg)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void Scale::set_range </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname" nowrap> <em>l</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>r</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>bool </td> <td class="mdname" nowrap> <em>lg</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Set the range of double values the scale represents.<p> To make the scale logarithmic, true can be given as the third argument. After setting the new range, the scale is redrawn. </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_v_scalea10"></a><!-- doxytag: member="PlotMM::HScale::set_range" ref="_plot_m_m_1_1_v_scalea10" args="(double l, double r)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void Scale::set_range </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname" nowrap> <em>l</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>double </td> <td class="mdname" nowrap> <em>r</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Set the range of double values the scale represents.<p> To make the scale logarithmic, true can be given as the third argument. After setting the new range, the scale is redrawn. </td> </tr> </table> <a class="anchor" name="_plot_m_m_1_1_v_scalea4"></a><!-- doxytag: member="PlotMM::HScale::set_ticklengths" ref="_plot_m_m_1_1_v_scalea4" args="(int major, int minor)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void Scale::set_ticklengths </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>major</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>minor</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inherited]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Set the length of major and minor ticks </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="_plot_m_m_1_1_v_scaleo0"></a><!-- doxytag: member="PlotMM::HScale::signal_enabled" ref="_plot_m_m_1_1_v_scaleo0" args="" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">SigC::Signal1<void,bool> <a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scaleo0">PlotMM::Scale::signal_enabled</a><code> [inherited]</code> </td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> This signal is thrown whenever the scale is enabled or disabled <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea7">set_enabled</a>, <a class="el" href="class_plot_m_m_1_1_scale.html#_plot_m_m_1_1_v_scalea8">enabled</a></dd></dl> </td> </tr> </table> <hr size="1"><address style="align: right;"><small>Generated on Thu Nov 10 15:26:23 2005 for PlotMM by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address> </body> </html>