(gdouble) x,
(gdouble) y,
(gdouble) width,
- (gdouble) height,
- orientation);
+ (gdouble) height);
cairo_restore (cr);
gtk_style_context_restore (context);
gdouble x,
gdouble y,
gdouble width,
- gdouble height,
- GtkOrientation orientation)
+ gdouble height)
{
GtkStyleContextPrivate *priv;
GtkThemingEngineClass *engine_class;
store_animation_region (context, x, y, width, height);
_gtk_theming_engine_set_context (priv->theming_engine, context);
- engine_class->render_handle (priv->theming_engine, cr, x, y, width, height, orientation);
+ engine_class->render_handle (priv->theming_engine, cr, x, y, width, height);
}
gdouble x,
gdouble y,
gdouble width,
- gdouble height,
- GtkOrientation orientation);
+ gdouble height);
+void gtk_render_progress (GtkStyleContext *context,
+ cairo_t *cr,
+ gdouble x,
+ gdouble y,
+ gdouble width,
+ gdouble height);
G_END_DECLS
gdouble x,
gdouble y,
gdouble width,
- gdouble height,
- GtkOrientation orientation);
+ gdouble height);
G_DEFINE_TYPE (GtkThemingEngine, gtk_theming_engine, G_TYPE_OBJECT)
gdouble x,
gdouble y,
gdouble width,
- gdouble height,
- GtkOrientation orientation)
+ gdouble height)
{
GtkStateFlags flags;
GdkColor *bg_color;
if (gtk_theming_engine_has_class (engine, "paned"))
{
- if (orientation == GTK_ORIENTATION_HORIZONTAL)
+ if (width > height)
for (xx = x + width / 2 - 15; xx <= x + width / 2 + 15; xx += 5)
render_dot (cr, &lighter, &darker, xx, y + height / 2 - 1, 3);
else
gdouble x,
gdouble y,
gdouble width,
- gdouble height,
- GtkOrientation orientation);
+ gdouble height);
};
GType gtk_theming_engine_get_type (void) G_GNUC_CONST;