/* Copyright (C) 1998-2002 The gtkmm Development Team
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see .
*/
// To exclude this file from the documentation when build-deprecated-api=false.
_CONFIGINCLUDE(gtkmmconfig.h)
#include
_DEFS(gtkmm,gtk)
_PINCLUDE(gtkmm/private/scale_p.h)
#m4 _PUSH(SECTION_CC_PRE_INCLUDES)
#undef GTK_DISABLE_DEPRECATED
#define GDK_DISABLE_DEPRECATION_WARNINGS 1
#m4 _POP()
namespace Gtk
{
/** A vertical slider for selecting values.
*
* The Gtk::VScale widget is used to allow the user to select a value using a
* vertical slider. See the Gtk::Scale documentation for more information
* on how to use a Gtk::VScale.
*
* A VScale widget looks like this:
* @image html vscale1.png
*
* @ingroup Widgets
*
* @deprecated Use Scale instead.
*/
class GTKMM_API VScale : public Scale
{
_CLASS_GTKOBJECT(VScale,GtkVScale,GTK_VSCALE,Gtk::Scale,GtkScale,,,GTKMM_API)
_IS_DEPRECATED
public:
VScale();
/**
* Construct a VScale with the given minimum and maximum. The step size is the
* distance the slider moves when the arrow keys are used to adjust the scale
* value.
*/
VScale(double min, double max, double step);
explicit VScale(const Glib::RefPtr& adjustment);
};
/** A horizontal slider for selecting values.
*
* The Gtk::HScale widget is used to allow the user to select a value using a
* horizontal slider. See the Gtk::Scale documentation for more information
* on how to use a Gtk::HScale.
*
* The HScale widget looks like this:
* @image html hscale1.png
*
* @ingroup Widgets
*
* @deprecated Use Scale instead.
*/
class GTKMM_API HScale : public Scale
{
_CLASS_GTKOBJECT(HScale,GtkHScale,GTK_HSCALE,Gtk::Scale,GtkScale,,,GTKMM_API)
_IS_DEPRECATED
public:
HScale();
/**
* Construct a HScale with the given minimum and maximum. The step size is the
* distance the slider moves when the arrow keys are used to adjust the scale
* value.
*/
HScale(double min, double max, double step);
explicit HScale(const Glib::RefPtr& adjustment);
};
} //namespace Gtk