"Fossies" - the Fresh Open Source Software Archive 
Member "gtkdatabox-1.0.0/gtk/gtkdatabox_scale.h" (31 Mar 2021, 1817 Bytes) of package /linux/privat/gtkdatabox-1.0.0.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "gtkdatabox_scale.h" see the
Fossies "Dox" file reference documentation and the latest
Fossies "Diffs" side-by-side code changes report:
0.9.3.1_vs_1.0.0.
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 #ifndef __GTK_DATABOX_SCALE_H__
21 #define __GTK_DATABOX_SCALE_H__
22
23 #include <glib-object.h>
24
25 /**
26 * SECTION:gtkdatabox_scale
27 * @short_description: scale type enumeration
28 * @include: gtkdatabox_scale.h
29 * @see_also: #GtkDatabox, #GtkDataboxRuler
30 *
31 * This file adds the #GtkDataboxScaleType enumeration used in several places.
32 */
33
34 G_BEGIN_DECLS
35
36 /**
37 * GtkDataboxScaleType
38 * @GTK_DATABOX_SCALE_LINEAR: Linear scale
39 * @GTK_DATABOX_SCALE_LOG2: Logarithmic scale (base 2)
40 * @GTK_DATABOX_SCALE_LOG: Logarithmic scale (base 10)
41 *
42 * Scale type for #GtkDatabox and #GtkDataboxRuler objects.
43 *
44 * See also: #GtkDatabox:scale_type_x, #GtkDatabox:scale_type_y
45 */
46 typedef enum
47 {
48 GTK_DATABOX_SCALE_LINEAR = 0,
49 GTK_DATABOX_SCALE_LOG2,
50 GTK_DATABOX_SCALE_LOG
51 }
52 GtkDataboxScaleType;
53
54 GType gtk_databox_scale_type_get_type (void);
55
56 G_END_DECLS
57 #endif /* __GTK_DATABOX_SCALE_H__ */