summaryrefslogtreecommitdiff
path: root/gtk/gtkruler.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-03-19 21:06:38 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-03-19 21:06:38 +0000
commit489c376bf4b98f0e521f6ab4992a1c9ac7529657 (patch)
tree3b065d89aebf3147870f232f643f4af2f929d0b1 /gtk/gtkruler.h
parentc5f68d2527735465da0f11013871b5b719aae405 (diff)
downloadgtk+-489c376bf4b98f0e521f6ab4992a1c9ac7529657.tar.gz
Handle quoting of / with \; properly handle __ in paths, quote " and \n in
Mon Mar 19 15:53:36 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkitemfactory.c gtk/testgtk.c: Handle quoting of / with \; properly handle __ in paths, quote " and \n in gtk_item_factory_dump_items(). * gtk/gtkadjustment.[ch] gtk/gtkclist.c gtk/gtkhruler.c gtk/gtklayout.c gtk/gtklist.c gtk/gtkprogress.[ch] gtk/gtkprogressbar.[ch] gtk/gtkrange.[ch] gtk/gtkruler.[ch] gtk/gtkscale.c gtk/gtkscrolledwindow.c gtk/gtkspinbutton.[ch] gtk/gtktext.c gtk/gtktextview.c gtk/gtkvruler.c gtk/testgtk.c: Change float to double everywhere with the exception of 0<->1.0 alignment and GtkCurve.
Diffstat (limited to 'gtk/gtkruler.h')
-rw-r--r--gtk/gtkruler.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/gtk/gtkruler.h b/gtk/gtkruler.h
index f9d4b20892..472b1feac9 100644
--- a/gtk/gtkruler.h
+++ b/gtk/gtkruler.h
@@ -73,13 +73,13 @@ struct _GtkRuler
gint slider_size;
/* The upper limit of the ruler (in points) */
- gfloat lower;
+ gdouble lower;
/* The lower limit of the ruler */
- gfloat upper;
+ gdouble upper;
/* The position of the mark on the ruler */
- gfloat position;
+ gdouble position;
/* The maximum size of the ruler */
- gfloat max_size;
+ gdouble max_size;
};
struct _GtkRulerClass
@@ -96,8 +96,8 @@ struct _GtkRulerMetric
gchar *abbrev;
/* This should be points_per_unit. This is the size of the unit
* in 1/72nd's of an inch and has nothing to do with screen pixels */
- gfloat pixels_per_unit;
- gfloat ruler_scale[10];
+ gdouble pixels_per_unit;
+ gdouble ruler_scale[10];
gint subdivide[5]; /* five possible modes of subdivision */
};
@@ -106,10 +106,10 @@ GtkType gtk_ruler_get_type (void) G_GNUC_CONST;
void gtk_ruler_set_metric (GtkRuler *ruler,
GtkMetricType metric);
void gtk_ruler_set_range (GtkRuler *ruler,
- gfloat lower,
- gfloat upper,
- gfloat position,
- gfloat max_size);
+ gdouble lower,
+ gdouble upper,
+ gdouble position,
+ gdouble max_size);
void gtk_ruler_draw_ticks (GtkRuler *ruler);
void gtk_ruler_draw_pos (GtkRuler *ruler);