1 /* $Id: gtkdatabox_scale.h 4 2008-06-22 09:19:11Z rbock $ */
2 /* GtkDatabox - An extension to the gtk+ library
3  * Copyright (C) 1998 - 2008  Dr. Roland Bock
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public License
7  * as published by the Free Software Foundation; either version 2.1
8  * of the License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 /**
21  * @file gtkdatabox_scale.h
22  *
23  * Currently just an enumeration used in several places...
24  *
25  */
26 
27 #ifndef __GTK_DATABOX_SCALE_H__
28 #define __GTK_DATABOX_SCALE_H__
29 
30 #include <glib-object.h>
31 
32 G_BEGIN_DECLS
33 
34 /**
35  * GtkDataboxScaleType:
36  * @GTK_DATABOX_SCALE_LINEAR:           Linear scale
37  * @GTK_DATABOX_SCALE_LOG:              Logarithmic scale (base 10)
38  *
39  * Scale type for #GtkDatabox and #GtkDataboxRuler objects.
40  *
41  * See also: #GtkDatabox:scale_type_x, #GtkDatabox:scale_type_y
42  */
43 typedef enum
44 {
45    GTK_DATABOX_SCALE_LINEAR = 0,
46    GTK_DATABOX_SCALE_LOG2,
47    GTK_DATABOX_SCALE_LOG
48 }
49 GtkDataboxScaleType;
50 
51 GType gtk_databox_scale_type_get_type (void);
52 
53 G_END_DECLS
54 #endif				/* __GTK_DATABOX_SCALE_H__ */
55