typedef struct _PsppireAxis PsppireAxis;
typedef struct _PsppireAxisClass PsppireAxisClass;
+struct pool;
struct _PsppireAxis
{
GObject parent;
- gint width ;
struct tower tower;
+ struct pool *pool;
+
+ glong min_extent;
+ gint default_size;
};
struct _PsppireAxisClass
{
GObjectClass parent_class;
-
};
GType psppire_axis_get_type (void);
-PsppireAxis* psppire_axis_new (gint w);
+PsppireAxis* psppire_axis_new (void);
\f
/* Interface between sheet and axis */
/* Interface between axis and model */
-void psppire_axis_append (PsppireAxis *a, gint width);
+void psppire_axis_clear (PsppireAxis *a);
+
+void psppire_axis_append (PsppireAxis *a, gint size);
+
+void psppire_axis_insert (PsppireAxis *a, gint size, gint posn);
+
+void psppire_axis_remove (PsppireAxis *a, gint posn);
+
+void psppire_axis_resize_unit (PsppireAxis *a, gint size, gint posn);
+
G_END_DECLS