gimpspinscale.h revision 20e25114cc4b04c88faf68f0f3e19dc13833474a
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney/* GIMP - The GNU Image Manipulation Program
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney * Copyright (C) 1995 Spencer Kimball and Peter Mattis
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney * Copyright (C) 2010 Michael Natterer <mitch@gimp.org>
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney * This program is free software: you can redistribute it and/or modify
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney * it under the terms of the GNU General Public License as published by
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney * the Free Software Foundation; either version 3 of the License, or
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney * (at your option) any later version.
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney * This program is distributed in the hope that it will be useful,
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney * but WITHOUT ANY WARRANTY; without even the implied warranty of
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney * GNU General Public License for more details.
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney * You should have received a copy of the GNU General Public License
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney * along with this program. If not, see <http://www.gnu.org/licenses/>.
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney#define GIMP_TYPE_SPIN_SCALE (gimp_spin_scale_get_type ())
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney#define GIMP_SPIN_SCALE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_SPIN_SCALE, GimpSpinScale))
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney#define GIMP_SPIN_SCALE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIMP_TYPE_SPIN_SCALE, GimpSpinScaleClass))
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney#define GIMP_IS_SPIN_SCALE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_SPIN_SCALE))
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney#define GIMP_IS_SPIN_SCALE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GIMP_TYPE_SPIN_SCALE))
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney#define GIMP_SPIN_SCALE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GIMP_TYPE_SPIN_SCALE, GimpSpinScaleClass))
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeneytypedef struct _GimpSpinScaleClass GimpSpinScaleClass;
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt SweeneyGType gimp_spin_scale_get_type (void) G_GNUC_CONST;
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt SweeneyGtkWidget * gimp_spin_scale_new (GtkAdjustment *adjustment,
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeneyvoid gimp_spin_scale_set_label (GimpSpinScale *scale,
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeneyconst gchar * gimp_spin_scale_get_label (GimpSpinScale *scale);
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeneyvoid gimp_spin_scale_set_scale_limits (GimpSpinScale *scale,
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeneyvoid gimp_spin_scale_unset_scale_limits (GimpSpinScale *scale);
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeneygboolean gimp_spin_scale_get_scale_limits (GimpSpinScale *scale,
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeneyvoid gimp_spin_scale_set_gamma (GimpSpinScale *scale,
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeneygdouble gimp_spin_scale_get_gamma (GimpSpinScale *scale);
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeneyvoid gimp_spin_scale_set_focuswidget (GtkWidget *scale,
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeneyvoid gimp_spin_scale_set_appearance (GtkWidget *scale,
1f08a8488664773a7d96fa3a043a639692d2a5cbMatt Sweeney#endif /* __GIMP_SPIN_SCALE_H__ */