Commit 4861c5d9 authored by Pierre-Luc Beaudoin's avatar Pierre-Luc Beaudoin

Port Tidy to Clutter 0.9

parent 0ec9d390
This diff is collapsed.
......@@ -24,7 +24,7 @@
#define __TIDY_ADJUSTMENT_H__
#include <glib-object.h>
#include <clutter/clutter-fixed.h>
#include <clutter/clutter.h>
G_BEGIN_DECLS
......@@ -50,7 +50,7 @@ struct _TidyAdjustment
{
/*< private >*/
GObject parent_instance;
TidyAdjustmentPrivate *priv;
};
......@@ -77,24 +77,12 @@ TidyAdjustment *tidy_adjustment_new (gdouble value,
gdouble step_increment,
gdouble page_increment,
gdouble page_size);
TidyAdjustment *tidy_adjustment_newx (ClutterFixed value,
ClutterFixed lower,
ClutterFixed upper,
ClutterFixed step_increment,
ClutterFixed page_increment,
ClutterFixed page_size);
gdouble tidy_adjustment_get_value (TidyAdjustment *adjustment);
ClutterFixed tidy_adjustment_get_valuex (TidyAdjustment *adjustment);
void tidy_adjustment_set_value (TidyAdjustment *adjustment,
gdouble value);
void tidy_adjustment_set_valuex (TidyAdjustment *adjustment,
ClutterFixed value);
void tidy_adjustment_clamp_page (TidyAdjustment *adjustment,
gdouble lower,
gdouble upper);
void tidy_adjustment_clamp_pagex (TidyAdjustment *adjustment,
ClutterFixed lower,
ClutterFixed upper);
void tidy_adjustment_set_values (TidyAdjustment *adjustment,
gdouble value,
gdouble lower,
......@@ -102,13 +90,6 @@ void tidy_adjustment_set_values (TidyAdjustment *adjustment,
gdouble step_increment,
gdouble page_increment,
gdouble page_size);
void tidy_adjustment_set_valuesx (TidyAdjustment *adjustment,
ClutterFixed value,
ClutterFixed lower,
ClutterFixed upper,
ClutterFixed step_increment,
ClutterFixed page_increment,
ClutterFixed page_size);
void tidy_adjustment_get_values (TidyAdjustment *adjustment,
gdouble *value,
gdouble *lower,
......@@ -116,22 +97,11 @@ void tidy_adjustment_get_values (TidyAdjustment *adjustment,
gdouble *step_increment,
gdouble *page_increment,
gdouble *page_size);
void tidy_adjustment_get_valuesx (TidyAdjustment *adjustment,
ClutterFixed *value,
ClutterFixed *lower,
ClutterFixed *upper,
ClutterFixed *step_increment,
ClutterFixed *page_increment,
ClutterFixed *page_size);
void tidy_adjustment_interpolate (TidyAdjustment *adjustment,
gdouble value,
guint n_frames,
guint fps);
void tidy_adjustment_interpolatex (TidyAdjustment *adjustment,
ClutterFixed value,
guint n_frames,
guint fps);
gboolean tidy_adjustment_get_elastic (TidyAdjustment *adjustment);
void tidy_adjustment_set_elastic (TidyAdjustment *adjustment,
......
This diff is collapsed.
......@@ -24,7 +24,7 @@
#define __TIDY_SCROLL_VIEW_H__
#include <glib-object.h>
#include <clutter/clutter-actor.h>
#include <clutter/clutter.h>
G_BEGIN_DECLS
......
......@@ -24,7 +24,7 @@
#define __TIDY_SCROLLABLE_H__
#include <glib-object.h>
#include <tidy/tidy-adjustment.h>
#include "tidy-adjustment.h"
G_BEGIN_DECLS
......@@ -39,7 +39,7 @@ typedef struct _TidyScrollableInterface TidyScrollableInterface;
struct _TidyScrollableInterface
{
GTypeInterface parent;
void (* set_adjustments) (TidyScrollable *scrollable,
TidyAdjustment *hadjustment,
TidyAdjustment *vadjustment);
......
This diff is collapsed.
......@@ -24,7 +24,7 @@
#define __TIDY_VIEWPORT_H__
#include <glib-object.h>
#include <clutter/clutter-group.h>
#include <clutter/clutter.h>
G_BEGIN_DECLS
......@@ -42,7 +42,7 @@ typedef struct _TidyViewportClass TidyViewportClass;
struct _TidyViewport
{
ClutterGroup parent;
TidyViewportPrivate *priv;
};
......@@ -55,25 +55,15 @@ GType tidy_viewport_get_type (void) G_GNUC_CONST;
ClutterActor * tidy_viewport_new (void);
void tidy_viewport_set_originu (TidyViewport *viewport,
ClutterUnit x,
ClutterUnit y,
ClutterUnit z);
void tidy_viewport_set_origin (TidyViewport *viewport,
gint x,
gint y,
gint z);
void tidy_viewport_get_originu (TidyViewport *viewport,
ClutterUnit *x,
ClutterUnit *y,
ClutterUnit *z);
void tidy_viewport_get_origin (TidyViewport *viewport,
gint *x,
gint *y,
gint *z);
gfloat *x,
gfloat *y,
gfloat *z);
void tidy_viewport_stop (TidyViewport *viewport);
G_END_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment