| adg-canvas.h | | adg-canvas.h | |
| | | | |
| skipping to change at line 35 | | skipping to change at line 35 | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define ADG_TYPE_CANVAS (adg_canvas_get_type()) | | #define ADG_TYPE_CANVAS (adg_canvas_get_type()) | |
| #define ADG_CANVAS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_
TYPE_CANVAS, AdgCanvas)) | | #define ADG_CANVAS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_
TYPE_CANVAS, AdgCanvas)) | |
| #define ADG_CANVAS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_T
YPE_CANVAS, AdgCanvasClass)) | | #define ADG_CANVAS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_T
YPE_CANVAS, AdgCanvasClass)) | |
| #define ADG_IS_CANVAS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_
TYPE_CANVAS)) | | #define ADG_IS_CANVAS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_
TYPE_CANVAS)) | |
| #define ADG_IS_CANVAS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_T
YPE_CANVAS)) | | #define ADG_IS_CANVAS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_T
YPE_CANVAS)) | |
| #define ADG_CANVAS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_T
YPE_CANVAS, AdgCanvasClass)) | | #define ADG_CANVAS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_T
YPE_CANVAS, AdgCanvasClass)) | |
| | | | |
|
| #if 0 | | | |
| /* AdgCanvas declared in adg-entity.h */ | | | |
| typedef struct _AdgCanvas AdgCanvas; | | | |
| #endif | | | |
| typedef struct _AdgCanvasClass AdgCanvasClass; | | typedef struct _AdgCanvasClass AdgCanvasClass; | |
| | | | |
| struct _AdgCanvas { | | struct _AdgCanvas { | |
| /*< private >*/ | | /*< private >*/ | |
| AdgContainer parent; | | AdgContainer parent; | |
| gpointer data; | | gpointer data; | |
| }; | | }; | |
| | | | |
| struct _AdgCanvasClass { | | struct _AdgCanvasClass { | |
| /*< private >*/ | | /*< private >*/ | |
| | | | |
| skipping to change at line 61 | | skipping to change at line 57 | |
| | | | |
| GType adg_canvas_get_type (void) G_GNUC_CONST; | | GType adg_canvas_get_type (void) G_GNUC_CONST; | |
| | | | |
| AdgCanvas * adg_canvas_new (void); | | AdgCanvas * adg_canvas_new (void); | |
| void adg_canvas_set_size (AdgCanvas *canvas, | | void adg_canvas_set_size (AdgCanvas *canvas, | |
| const AdgPair *size); | | const AdgPair *size); | |
| void adg_canvas_set_size_explicit (AdgCanvas *canvas, | | void adg_canvas_set_size_explicit (AdgCanvas *canvas, | |
| gdouble x, | | gdouble x, | |
| gdouble y); | | gdouble y); | |
| const AdgPair * adg_canvas_get_size (AdgCanvas *canvas); | | const AdgPair * adg_canvas_get_size (AdgCanvas *canvas); | |
|
| | | void adg_canvas_set_scales (AdgCanvas *canvas, | |
| | | ...) G_GNUC_NULL_TERMINATE | |
| | | D; | |
| | | void adg_canvas_set_scales_valist (AdgCanvas *canvas, | |
| | | va_list var_args); | |
| | | void adg_canvas_set_scales_array (AdgCanvas *canvas, | |
| | | gchar **scales); | |
| | | gchar ** adg_canvas_get_scales (AdgCanvas *canvas); | |
| | | void adg_canvas_autoscale (AdgCanvas *canvas); | |
| void adg_canvas_set_background_dress (AdgCanvas *canvas, | | void adg_canvas_set_background_dress (AdgCanvas *canvas, | |
| AdgDress dress); | | AdgDress dress); | |
| AdgDress adg_canvas_get_background_dress (AdgCanvas *canvas); | | AdgDress adg_canvas_get_background_dress (AdgCanvas *canvas); | |
| void adg_canvas_set_frame_dress (AdgCanvas *canvas, | | void adg_canvas_set_frame_dress (AdgCanvas *canvas, | |
| AdgDress dress); | | AdgDress dress); | |
| AdgDress adg_canvas_get_frame_dress (AdgCanvas *canvas); | | AdgDress adg_canvas_get_frame_dress (AdgCanvas *canvas); | |
| void adg_canvas_set_title_block (AdgCanvas *canvas, | | void adg_canvas_set_title_block (AdgCanvas *canvas, | |
| AdgTitleBlock *title_bloc
k); | | AdgTitleBlock *title_bloc
k); | |
| AdgTitleBlock * adg_canvas_get_title_block (AdgCanvas *canvas); | | AdgTitleBlock * adg_canvas_get_title_block (AdgCanvas *canvas); | |
| void adg_canvas_set_top_margin (AdgCanvas *canvas, | | void adg_canvas_set_top_margin (AdgCanvas *canvas, | |
| | | | |
End of changes. 2 change blocks. |
| 4 lines changed or deleted | | 9 lines changed or added | |
|
| adg-dress-builtins.h | | adg-dress-builtins.h | |
| | | | |
| skipping to change at line 34 | | skipping to change at line 34 | |
| #ifndef __ADG_DRESS_BUILTINS_H__ | | #ifndef __ADG_DRESS_BUILTINS_H__ | |
| #define __ADG_DRESS_BUILTINS_H__ | | #define __ADG_DRESS_BUILTINS_H__ | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define ADG_DRESS_UNDEFINED 0 | | #define ADG_DRESS_UNDEFINED 0 | |
| #define ADG_DRESS_COLOR (_adg_dress_color()) | | #define ADG_DRESS_COLOR (_adg_dress_color()) | |
| #define ADG_DRESS_COLOR_BACKGROUND (_adg_dress_color_background()) | | #define ADG_DRESS_COLOR_BACKGROUND (_adg_dress_color_background()) | |
| #define ADG_DRESS_COLOR_STROKE (_adg_dress_color_stroke()) | | #define ADG_DRESS_COLOR_STROKE (_adg_dress_color_stroke()) | |
| #define ADG_DRESS_COLOR_DIMENSION (_adg_dress_color_dimension()) | | #define ADG_DRESS_COLOR_DIMENSION (_adg_dress_color_dimension()) | |
|
| #define ADG_DRESS_COLOR_FILL (_adg_dress_color_fill()) | | | |
| #define ADG_DRESS_COLOR_ANNOTATION (_adg_dress_color_annotation()) | | #define ADG_DRESS_COLOR_ANNOTATION (_adg_dress_color_annotation()) | |
|
| | | #define ADG_DRESS_COLOR_FILL (_adg_dress_color_fill()) | |
| | | #define ADG_DRESS_COLOR_AXIS (_adg_dress_color_axis()) | |
| | | #define ADG_DRESS_COLOR_HIDDEN (_adg_dress_color_hidden()) | |
| #define ADG_DRESS_LINE (_adg_dress_line()) | | #define ADG_DRESS_LINE (_adg_dress_line()) | |
| #define ADG_DRESS_LINE_STROKE (_adg_dress_line_stroke()) | | #define ADG_DRESS_LINE_STROKE (_adg_dress_line_stroke()) | |
| #define ADG_DRESS_LINE_DIMENSION (_adg_dress_line_dimension()) | | #define ADG_DRESS_LINE_DIMENSION (_adg_dress_line_dimension()) | |
| #define ADG_DRESS_LINE_FILL (_adg_dress_line_fill()) | | #define ADG_DRESS_LINE_FILL (_adg_dress_line_fill()) | |
| #define ADG_DRESS_LINE_GRID (_adg_dress_line_grid()) | | #define ADG_DRESS_LINE_GRID (_adg_dress_line_grid()) | |
| #define ADG_DRESS_LINE_FRAME (_adg_dress_line_frame()) | | #define ADG_DRESS_LINE_FRAME (_adg_dress_line_frame()) | |
|
| | | #define ADG_DRESS_LINE_AXIS (_adg_dress_line_axis()) | |
| | | #define ADG_DRESS_LINE_HIDDEN (_adg_dress_line_hidden()) | |
| #define ADG_DRESS_FONT (_adg_dress_font()) | | #define ADG_DRESS_FONT (_adg_dress_font()) | |
| #define ADG_DRESS_FONT_TEXT (_adg_dress_font_text()) | | #define ADG_DRESS_FONT_TEXT (_adg_dress_font_text()) | |
| #define ADG_DRESS_FONT_ANNOTATION (_adg_dress_font_annotation()) | | #define ADG_DRESS_FONT_ANNOTATION (_adg_dress_font_annotation()) | |
| #define ADG_DRESS_FONT_QUOTE_TEXT (_adg_dress_font_quote_text()) | | #define ADG_DRESS_FONT_QUOTE_TEXT (_adg_dress_font_quote_text()) | |
| #define ADG_DRESS_FONT_QUOTE_ANNOTATION (_adg_dress_font_quote_annotation()
) | | #define ADG_DRESS_FONT_QUOTE_ANNOTATION (_adg_dress_font_quote_annotation()
) | |
| #define ADG_DRESS_DIMENSION (_adg_dress_dimension()) | | #define ADG_DRESS_DIMENSION (_adg_dress_dimension()) | |
| #define ADG_DRESS_FILL (_adg_dress_fill()) | | #define ADG_DRESS_FILL (_adg_dress_fill()) | |
| #define ADG_DRESS_FILL_HATCH (_adg_dress_fill_hatch()) | | #define ADG_DRESS_FILL_HATCH (_adg_dress_fill_hatch()) | |
| #define ADG_DRESS_TABLE (_adg_dress_table()) | | #define ADG_DRESS_TABLE (_adg_dress_table()) | |
| | | | |
| AdgDress _adg_dress_color (void) G_GNUC_CONST; | | AdgDress _adg_dress_color (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_color_background (void) G_GNUC_CONST; | | AdgDress _adg_dress_color_background (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_color_stroke (void) G_GNUC_CONST; | | AdgDress _adg_dress_color_stroke (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_color_dimension (void) G_GNUC_CONST; | | AdgDress _adg_dress_color_dimension (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_color_fill (void) G_GNUC_CONST; | | AdgDress _adg_dress_color_fill (void) G_GNUC_CONST; | |
|
| | | AdgDress _adg_dress_color_axis (void) G_GNUC_CONST; | |
| | | AdgDress _adg_dress_color_hidden (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_color_annotation (void) G_GNUC_CONST; | | AdgDress _adg_dress_color_annotation (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_line (void) G_GNUC_CONST; | | AdgDress _adg_dress_line (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_line_stroke (void) G_GNUC_CONST; | | AdgDress _adg_dress_line_stroke (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_line_dimension (void) G_GNUC_CONST; | | AdgDress _adg_dress_line_dimension (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_line_fill (void) G_GNUC_CONST; | | AdgDress _adg_dress_line_fill (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_line_grid (void) G_GNUC_CONST; | | AdgDress _adg_dress_line_grid (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_line_frame (void) G_GNUC_CONST; | | AdgDress _adg_dress_line_frame (void) G_GNUC_CONST; | |
|
| | | AdgDress _adg_dress_line_axis (void) G_GNUC_CONST; | |
| | | AdgDress _adg_dress_line_hidden (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_font (void) G_GNUC_CONST; | | AdgDress _adg_dress_font (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_font_text (void) G_GNUC_CONST; | | AdgDress _adg_dress_font_text (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_font_annotation (void) G_GNUC_CONST; | | AdgDress _adg_dress_font_annotation (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_font_quote_text (void) G_GNUC_CONST; | | AdgDress _adg_dress_font_quote_text (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_font_quote_annotation(void) G_GNUC_CONST; | | AdgDress _adg_dress_font_quote_annotation(void) G_GNUC_CONST; | |
| AdgDress _adg_dress_dimension (void) G_GNUC_CONST; | | AdgDress _adg_dress_dimension (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_fill (void) G_GNUC_CONST; | | AdgDress _adg_dress_fill (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_fill_hatch (void) G_GNUC_CONST; | | AdgDress _adg_dress_fill_hatch (void) G_GNUC_CONST; | |
| AdgDress _adg_dress_table (void) G_GNUC_CONST; | | AdgDress _adg_dress_table (void) G_GNUC_CONST; | |
| | | | |
| | | | |
End of changes. 5 change blocks. |
| 1 lines changed or deleted | | 9 lines changed or added | |
|
| adg-dress.h | | adg-dress.h | |
| | | | |
| skipping to change at line 35 | | skipping to change at line 35 | |
| #define __ADG_DRESS_H__ | | #define __ADG_DRESS_H__ | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define ADG_TYPE_DRESS (adg_dress_get_type()) | | #define ADG_TYPE_DRESS (adg_dress_get_type()) | |
| #define ADG_VALUE_HOLDS_DRESS(value) (G_TYPE_CHECK_VALUE_TYPE((value), A
DG_TYPE_DRESS)) | | #define ADG_VALUE_HOLDS_DRESS(value) (G_TYPE_CHECK_VALUE_TYPE((value), A
DG_TYPE_DRESS)) | |
| | | | |
| #define ADG_TYPE_PARAM_SPEC_DRESS (_adg_param_spec_dress_get_type()) | | #define ADG_TYPE_PARAM_SPEC_DRESS (_adg_param_spec_dress_get_type()) | |
| #define ADG_IS_PARAM_SPEC_DRESS(spec) (G_TYPE_CHECK_INSTANCE_TYPE((spec),
ADG_TYPE_PARAM_SPEC_DRESS)) | | #define ADG_IS_PARAM_SPEC_DRESS(spec) (G_TYPE_CHECK_INSTANCE_TYPE((spec),
ADG_TYPE_PARAM_SPEC_DRESS)) | |
| | | | |
|
| /* AdgDress defined in adg-entity.h */ | | | |
| | | | |
| GType adg_dress_get_type (void) G_GNUC_CONST; | | GType adg_dress_get_type (void) G_GNUC_CONST; | |
| AdgDress adg_dress_new (const gchar *name, | | AdgDress adg_dress_new (const gchar *name, | |
| AdgStyle *fallback); | | AdgStyle *fallback); | |
| AdgDress adg_dress_new_full (const gchar *name, | | AdgDress adg_dress_new_full (const gchar *name, | |
| AdgStyle *fallback, | | AdgStyle *fallback, | |
| GType ancestor_t
ype); | | GType ancestor_t
ype); | |
| AdgDress adg_dress_from_name (const gchar *name); | | AdgDress adg_dress_from_name (const gchar *name); | |
| gboolean adg_dress_set (AdgDress *dress, | | gboolean adg_dress_set (AdgDress *dress, | |
| AdgDress src); | | AdgDress src); | |
| gboolean adg_dress_are_related (AdgDress dress1, | | gboolean adg_dress_are_related (AdgDress dress1, | |
| | | | |
End of changes. 1 change blocks. |
| 2 lines changed or deleted | | 0 lines changed or added | |
|
| adg-entity.h | | adg-entity.h | |
| | | | |
| skipping to change at line 36 | | skipping to change at line 36 | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define ADG_TYPE_ENTITY (adg_entity_get_type()) | | #define ADG_TYPE_ENTITY (adg_entity_get_type()) | |
| #define ADG_ENTITY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_
TYPE_ENTITY, AdgEntity)) | | #define ADG_ENTITY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_
TYPE_ENTITY, AdgEntity)) | |
| #define ADG_ENTITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_T
YPE_ENTITY, AdgEntityClass)) | | #define ADG_ENTITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_T
YPE_ENTITY, AdgEntityClass)) | |
| #define ADG_IS_ENTITY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_
TYPE_ENTITY)) | | #define ADG_IS_ENTITY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_
TYPE_ENTITY)) | |
| #define ADG_IS_ENTITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_T
YPE_ENTITY)) | | #define ADG_IS_ENTITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_T
YPE_ENTITY)) | |
| #define ADG_ENTITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_T
YPE_ENTITY, AdgEntityClass)) | | #define ADG_ENTITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_T
YPE_ENTITY, AdgEntityClass)) | |
| | | | |
|
| /* Forward declarations */ | | typedef struct _AdgEntity AdgEntity; | |
| ADG_FORWARD_DECL(AdgCanvas); | | typedef struct _AdgEntityClass AdgEntityClass; | |
| ADG_FORWARD_DECL(AdgStyle); | | | |
| ADG_FORWARD_DECL(AdgPoint); | | | |
| | | | |
| #ifdef __GI_SCANNER__ | | | |
| ADG_FORWARD_DECL(AdgDress); | | | |
| #else | | | |
| typedef gint AdgDress; | | | |
| #endif | | | |
| | | | |
| typedef struct _AdgEntity AdgEntity; | | | |
| typedef struct _AdgEntityClass AdgEntityClass; | | | |
| | | | |
| struct _AdgEntity { | | struct _AdgEntity { | |
| /*< private >*/ | | /*< private >*/ | |
| GInitiallyUnowned parent; | | GInitiallyUnowned parent; | |
| gpointer data; | | gpointer data; | |
| }; | | }; | |
| | | | |
| struct _AdgEntityClass { | | struct _AdgEntityClass { | |
| /*< private >*/ | | /*< private >*/ | |
| GInitiallyUnownedClass parent_class; | | GInitiallyUnownedClass parent_class; | |
| | | | |
End of changes. 1 change blocks. |
| 13 lines changed or deleted | | 2 lines changed or added | |
|
| adg-gtk-area.h | | adg-gtk-area.h | |
| | | | |
| skipping to change at line 48 | | skipping to change at line 48 | |
| | | | |
| struct _AdgGtkArea { | | struct _AdgGtkArea { | |
| /*< private >*/ | | /*< private >*/ | |
| GtkDrawingArea parent; | | GtkDrawingArea parent; | |
| gpointer data; | | gpointer data; | |
| }; | | }; | |
| | | | |
| struct _AdgGtkAreaClass { | | struct _AdgGtkAreaClass { | |
| /*< private >*/ | | /*< private >*/ | |
| GtkDrawingAreaClass parent_class; | | GtkDrawingAreaClass parent_class; | |
|
| | | | |
| /*< public >*/ | | /*< public >*/ | |
|
| /* Virtual Table */ | | /* Signals */ | |
| void (*canvas_changed) (AdgGtkArea *area, | | void (*canvas_changed) (AdgGtkArea *area, | |
| AdgCanvas *old_canvas
); | | AdgCanvas *old_canvas
); | |
| void (*extents_changed) (AdgGtkArea *area, | | void (*extents_changed) (AdgGtkArea *area, | |
| const CpmlExtents | | const CpmlExtents | |
| *old_extent
s); | | *old_extent
s); | |
| }; | | }; | |
| | | | |
| GType adg_gtk_area_get_type (void) G_GNUC_CONST; | | GType adg_gtk_area_get_type (void) G_GNUC_CONST; | |
| | | | |
| GtkWidget * adg_gtk_area_new (void); | | GtkWidget * adg_gtk_area_new (void); | |
| | | | |
| skipping to change at line 73 | | skipping to change at line 74 | |
| AdgCanvas * adg_gtk_area_get_canvas (AdgGtkArea *area); | | AdgCanvas * adg_gtk_area_get_canvas (AdgGtkArea *area); | |
| const CpmlExtents * | | const CpmlExtents * | |
| adg_gtk_area_get_extents (AdgGtkArea *area); | | adg_gtk_area_get_extents (AdgGtkArea *area); | |
| gdouble adg_gtk_area_get_zoom (AdgGtkArea *area); | | gdouble adg_gtk_area_get_zoom (AdgGtkArea *area); | |
| void adg_gtk_area_set_factor (AdgGtkArea *area, | | void adg_gtk_area_set_factor (AdgGtkArea *area, | |
| gdouble factor); | | gdouble factor); | |
| gdouble adg_gtk_area_get_factor (AdgGtkArea *area); | | gdouble adg_gtk_area_get_factor (AdgGtkArea *area); | |
| void adg_gtk_area_switch_autozoom (AdgGtkArea *area, | | void adg_gtk_area_switch_autozoom (AdgGtkArea *area, | |
| gboolean state); | | gboolean state); | |
| gboolean adg_gtk_area_has_autozoom (AdgGtkArea *area); | | gboolean adg_gtk_area_has_autozoom (AdgGtkArea *area); | |
|
| | | void adg_gtk_area_reset (AdgGtkArea *area); | |
| void adg_gtk_area_canvas_changed (AdgGtkArea *area, | | void adg_gtk_area_canvas_changed (AdgGtkArea *area, | |
| AdgCanvas *old_canva
s); | | AdgCanvas *old_canva
s); | |
| void adg_gtk_area_set_render_map (AdgGtkArea *area, | | void adg_gtk_area_set_render_map (AdgGtkArea *area, | |
| const AdgMatrix *map); | | const AdgMatrix *map); | |
| void adg_gtk_area_transform_render_map | | void adg_gtk_area_transform_render_map | |
| (AdgGtkArea *area, | | (AdgGtkArea *area, | |
| const AdgMatrix *transform
ation, | | const AdgMatrix *transform
ation, | |
| AdgTransformMode mode); | | AdgTransformMode mode); | |
| const AdgMatrix*adg_gtk_area_get_render_map (AdgGtkArea *area); | | const AdgMatrix*adg_gtk_area_get_render_map (AdgGtkArea *area); | |
| void adg_gtk_area_extents_changed (AdgGtkArea *area, | | void adg_gtk_area_extents_changed (AdgGtkArea *area, | |
| | | | |
End of changes. 3 change blocks. |
| 1 lines changed or deleted | | 3 lines changed or added | |
|
| adg-gtk-layout.h | | adg-gtk-layout.h | |
| | | | |
| skipping to change at line 48 | | skipping to change at line 48 | |
| | | | |
| struct _AdgGtkLayout { | | struct _AdgGtkLayout { | |
| /*< private >*/ | | /*< private >*/ | |
| AdgGtkArea parent; | | AdgGtkArea parent; | |
| gpointer data; | | gpointer data; | |
| }; | | }; | |
| | | | |
| struct _AdgGtkLayoutClass { | | struct _AdgGtkLayoutClass { | |
| /*< private >*/ | | /*< private >*/ | |
| AdgGtkAreaClass parent_class; | | AdgGtkAreaClass parent_class; | |
|
| /*< public >*/ | | | |
| /* Virtual Table */ | | | |
| void (*canvas_changed) (AdgGtkLayout *layout); | | | |
| }; | | }; | |
| | | | |
| GType adg_gtk_layout_get_type (void) G_GNUC_CONST; | | GType adg_gtk_layout_get_type (void) G_GNUC_CONST; | |
| | | | |
| GtkWidget * adg_gtk_layout_new (void); | | GtkWidget * adg_gtk_layout_new (void); | |
| GtkWidget * adg_gtk_layout_new_with_canvas (AdgCanvas *canvas); | | GtkWidget * adg_gtk_layout_new_with_canvas (AdgCanvas *canvas); | |
| void adg_gtk_layout_set_hadjustment (AdgGtkLayout *layout, | | void adg_gtk_layout_set_hadjustment (AdgGtkLayout *layout, | |
| GtkAdjustment *hadjustmen
t); | | GtkAdjustment *hadjustmen
t); | |
| GtkAdjustment * adg_gtk_layout_get_hadjustment (AdgGtkLayout *layout); | | GtkAdjustment * adg_gtk_layout_get_hadjustment (AdgGtkLayout *layout); | |
| void adg_gtk_layout_set_vadjustment (AdgGtkLayout *layout, | | void adg_gtk_layout_set_vadjustment (AdgGtkLayout *layout, | |
| | | | |
End of changes. 1 change blocks. |
| 3 lines changed or deleted | | 0 lines changed or added | |
|
| adg-matrix.h | | adg-matrix.h | |
| | | | |
| skipping to change at line 29 | | skipping to change at line 29 | |
| | | | |
| #if !defined(__ADG_H__) | | #if !defined(__ADG_H__) | |
| #error "Only <adg.h> can be included directly." | | #error "Only <adg.h> can be included directly." | |
| #endif | | #endif | |
| | | | |
| #ifndef __ADG_MATRIX_H__ | | #ifndef __ADG_MATRIX_H__ | |
| #define __ADG_MATRIX_H__ | | #define __ADG_MATRIX_H__ | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| #define ADG_TYPE_MATRIX (adg_matrix_get_type()) | | #define _AdgMatrix _cairo_matrix | |
| | | #define ADG_TYPE_MATRIX (adg_matrix_get_type()) | |
| | | | |
|
| #ifdef __GI_SCANNER__ | | typedef struct _AdgMatrix AdgMatrix; | |
| ADG_FORWARD_DECL(AdgMatrix); | | | |
| #else | | | |
| typedef cairo_matrix_t AdgMatrix; | | | |
| #endif | | | |
| | | | |
| GType adg_matrix_get_type (void) G_GNUC_CONST; | | GType adg_matrix_get_type (void) G_GNUC_CONST; | |
| | | | |
| AdgMatrix * adg_matrix_new (void); | | AdgMatrix * adg_matrix_new (void); | |
| const AdgMatrix *adg_matrix_identity (void) G_GNUC_CONST; | | const AdgMatrix *adg_matrix_identity (void) G_GNUC_CONST; | |
| const AdgMatrix *adg_matrix_null (void) G_GNUC_CONST; | | const AdgMatrix *adg_matrix_null (void) G_GNUC_CONST; | |
| | | | |
| void adg_matrix_copy (AdgMatrix *matrix, | | void adg_matrix_copy (AdgMatrix *matrix, | |
| const AdgMatrix *src); | | const AdgMatrix *src); | |
| AdgMatrix * adg_matrix_dup (const AdgMatrix *matrix); | | AdgMatrix * adg_matrix_dup (const AdgMatrix *matrix); | |
| | | | |
End of changes. 2 change blocks. |
| 6 lines changed or deleted | | 3 lines changed or added | |
|
| adg-model.h | | adg-model.h | |
| | | | |
| skipping to change at line 55 | | skipping to change at line 55 | |
| | | | |
| struct _AdgModel { | | struct _AdgModel { | |
| /*< private >*/ | | /*< private >*/ | |
| GObject parent; | | GObject parent; | |
| gpointer data; | | gpointer data; | |
| }; | | }; | |
| | | | |
| struct _AdgModelClass { | | struct _AdgModelClass { | |
| /*< private >*/ | | /*< private >*/ | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
|
| | | | |
| /*< public >*/ | | /*< public >*/ | |
|
| void (*add_dependency) (AdgModel *model, | | /* Virtual table */ | |
| AdgEntity *entity); | | | |
| void (*remove_dependency) (AdgModel *model, | | | |
| AdgEntity *entity); | | | |
| const AdgPair * (*named_pair) (AdgModel *model, | | const AdgPair * (*named_pair) (AdgModel *model, | |
| const gchar *name); | | const gchar *name); | |
|
| | | | |
| | | /* Signals */ | |
| void (*set_named_pair) (AdgModel *model, | | void (*set_named_pair) (AdgModel *model, | |
| const gchar *name, | | const gchar *name, | |
| const AdgPair *pair); | | const AdgPair *pair); | |
| void (*clear) (AdgModel *model); | | void (*clear) (AdgModel *model); | |
| void (*reset) (AdgModel *model); | | void (*reset) (AdgModel *model); | |
|
| | | void (*add_dependency) (AdgModel *model, | |
| | | AdgEntity *entity); | |
| | | void (*remove_dependency) (AdgModel *model, | |
| | | AdgEntity *entity); | |
| void (*changed) (AdgModel *model); | | void (*changed) (AdgModel *model); | |
| }; | | }; | |
| | | | |
| GType adg_model_get_type (void) G_GNUC_CONST; | | GType adg_model_get_type (void) G_GNUC_CONST; | |
| | | | |
| void adg_model_add_dependency (AdgModel *model, | | void adg_model_add_dependency (AdgModel *model, | |
| AdgEntity *entity); | | AdgEntity *entity); | |
| void adg_model_remove_dependency (AdgModel *model, | | void adg_model_remove_dependency (AdgModel *model, | |
| AdgEntity *entity); | | AdgEntity *entity); | |
| const GSList * adg_model_get_dependencies (AdgModel *model); | | const GSList * adg_model_get_dependencies (AdgModel *model); | |
| | | | |
End of changes. 4 change blocks. |
| 4 lines changed or deleted | | 8 lines changed or added | |
|
| adg-point.h | | adg-point.h | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 31 | |
| #error "Only <adg.h> can be included directly." | | #error "Only <adg.h> can be included directly." | |
| #endif | | #endif | |
| | | | |
| #ifndef __ADG_POINT_H__ | | #ifndef __ADG_POINT_H__ | |
| #define __ADG_POINT_H__ | | #define __ADG_POINT_H__ | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define ADG_TYPE_POINT (adg_point_get_type()) | | #define ADG_TYPE_POINT (adg_point_get_type()) | |
| | | | |
|
| #if 0 | | | |
| /* This is declared in adg-entity.h */ | | | |
| typedef struct _AdgPoint AdgPoint; | | | |
| #endif | | | |
| | | | |
| GType adg_point_get_type (void) G_GNUC_CONST; | | GType adg_point_get_type (void) G_GNUC_CONST; | |
| | | | |
| AdgPoint * adg_point_new (void); | | AdgPoint * adg_point_new (void); | |
| AdgPoint * adg_point_dup (const AdgPoint *src); | | AdgPoint * adg_point_dup (const AdgPoint *src); | |
| void adg_point_destroy (AdgPoint *point); | | void adg_point_destroy (AdgPoint *point); | |
| void adg_point_copy (AdgPoint *point, | | void adg_point_copy (AdgPoint *point, | |
| const AdgPoint *src); | | const AdgPoint *src); | |
| void adg_point_set_pair (AdgPoint *point, | | void adg_point_set_pair (AdgPoint *point, | |
| const AdgPair *pair); | | const AdgPair *pair); | |
| void adg_point_set_pair_explicit (AdgPoint *point, | | void adg_point_set_pair_explicit (AdgPoint *point, | |
| | | | |
End of changes. 1 change blocks. |
| 5 lines changed or deleted | | 0 lines changed or added | |
|
| adg-segment.h | | adg-segment.h | |
| | | | |
| skipping to change at line 29 | | skipping to change at line 29 | |
| | | | |
| #if !defined(__ADG_H__) | | #if !defined(__ADG_H__) | |
| #error "Only <adg.h> can be included directly." | | #error "Only <adg.h> can be included directly." | |
| #endif | | #endif | |
| | | | |
| #ifndef __ADG_SEGMENT_H__ | | #ifndef __ADG_SEGMENT_H__ | |
| #define __ADG_SEGMENT_H__ | | #define __ADG_SEGMENT_H__ | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| | | #define _AdgSegment _CpmlSegment | |
| #define ADG_TYPE_SEGMENT (adg_segment_get_type()) | | #define ADG_TYPE_SEGMENT (adg_segment_get_type()) | |
| | | | |
|
| #ifdef __GI_SCANNER__ | | typedef struct _AdgSegment AdgSegment; | |
| ADG_FORWARD_DECL(AdgSegment); | | | |
| #else | | | |
| typedef CpmlSegment AdgSegment; | | | |
| #endif | | | |
| | | | |
| GType adg_segment_get_type (void) G_GNUC_CONST; | | GType adg_segment_get_type (void) G_GNUC_CONST; | |
| AdgSegment * adg_segment_dup (const AdgSegment *segment); | | AdgSegment * adg_segment_dup (const AdgSegment *segment); | |
| AdgSegment * adg_segment_deep_dup (const AdgSegment *segment); | | AdgSegment * adg_segment_deep_dup (const AdgSegment *segment); | |
|
| AdgSegment * adg_segment_deep_copy (AdgSegment *segment, | | void adg_segment_deep_copy (AdgSegment *segment, | |
| const AdgSegment *src); | | const AdgSegment *src); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif /* __ADG_SEGMENT_H__ */ | | #endif /* __ADG_SEGMENT_H__ */ | |
| | | | |
End of changes. 3 change blocks. |
| 6 lines changed or deleted | | 3 lines changed or added | |
|
| adg-style.h | | adg-style.h | |
| | | | |
| skipping to change at line 36 | | skipping to change at line 36 | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define ADG_TYPE_STYLE (adg_style_get_type()) | | #define ADG_TYPE_STYLE (adg_style_get_type()) | |
| #define ADG_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T
YPE_STYLE, AdgStyle)) | | #define ADG_STYLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T
YPE_STYLE, AdgStyle)) | |
| #define ADG_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY
PE_STYLE, AdgStyleClass)) | | #define ADG_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY
PE_STYLE, AdgStyleClass)) | |
| #define ADG_IS_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T
YPE_STYLE)) | | #define ADG_IS_STYLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T
YPE_STYLE)) | |
| #define ADG_IS_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY
PE_STYLE)) | | #define ADG_IS_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY
PE_STYLE)) | |
| #define ADG_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY
PE_STYLE, AdgStyleClass)) | | #define ADG_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY
PE_STYLE, AdgStyleClass)) | |
| | | | |
|
| #if 0 | | | |
| /* This is declared in adg-entity.h */ | | | |
| typedef struct _AdgStyle AdgStyle; | | | |
| #endif | | | |
| typedef struct _AdgStyleClass AdgStyleClass; | | typedef struct _AdgStyleClass AdgStyleClass; | |
| | | | |
| struct _AdgStyle { | | struct _AdgStyle { | |
| /*< private >*/ | | /*< private >*/ | |
| GObject parent; | | GObject parent; | |
| }; | | }; | |
| | | | |
| struct _AdgStyleClass { | | struct _AdgStyleClass { | |
| /*< private >*/ | | /*< private >*/ | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
|
| | | | |
| /*< public >*/ | | /*< public >*/ | |
| /* Signals */ | | /* Signals */ | |
| void (*invalidate) (AdgStyle *style); | | void (*invalidate) (AdgStyle *style); | |
| void (*apply) (AdgStyle *style, | | void (*apply) (AdgStyle *style, | |
| AdgEntity *entity, | | AdgEntity *entity, | |
| cairo_t *cr); | | cairo_t *cr); | |
| }; | | }; | |
| | | | |
| GType adg_style_get_type (void) G_GNUC_CONST; | | GType adg_style_get_type (void) G_GNUC_CONST; | |
| | | | |
| | | | |
End of changes. 2 change blocks. |
| 4 lines changed or deleted | | 1 lines changed or added | |
|
| adg-table-cell.h | | adg-table-cell.h | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 31 | |
| #error "Only <adg.h> can be included directly." | | #error "Only <adg.h> can be included directly." | |
| #endif | | #endif | |
| | | | |
| #ifndef __ADG_TABLE_CELL_H__ | | #ifndef __ADG_TABLE_CELL_H__ | |
| #define __ADG_TABLE_CELL_H__ | | #define __ADG_TABLE_CELL_H__ | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define ADG_TYPE_TABLE_CELL (adg_table_cell_get_type()) | | #define ADG_TYPE_TABLE_CELL (adg_table_cell_get_type()) | |
| | | | |
|
| #if 0 | | | |
| /* AdgTableCell declared in adg-table.h */ | | | |
| typedef struct _AdgTableCell AdgTableCell; | | | |
| #endif | | | |
| | | | |
| GType adg_table_cell_get_type (void) G_GNUC_CONST; | | GType adg_table_cell_get_type (void) G_GNUC_CONST; | |
| | | | |
| AdgTableCell * adg_table_cell_dup (const AdgTableCell *table_
cell); | | AdgTableCell * adg_table_cell_dup (const AdgTableCell *table_
cell); | |
| AdgTableCell * adg_table_cell_new (AdgTableRow *table_row)
; | | AdgTableCell * adg_table_cell_new (AdgTableRow *table_row)
; | |
| AdgTableCell * adg_table_cell_new_before (AdgTableCell *before_cel
l); | | AdgTableCell * adg_table_cell_new_before (AdgTableCell *before_cel
l); | |
| AdgTableCell * adg_table_cell_new_with_width (AdgTableRow *table_row, | | AdgTableCell * adg_table_cell_new_with_width (AdgTableRow *table_row, | |
| gdouble width); | | gdouble width); | |
| AdgTableCell * adg_table_cell_new_full (AdgTableRow *table_row, | | AdgTableCell * adg_table_cell_new_full (AdgTableRow *table_row, | |
| gdouble width, | | gdouble width, | |
| const gchar *name, | | const gchar *name, | |
| | | | |
End of changes. 1 change blocks. |
| 5 lines changed or deleted | | 0 lines changed or added | |
|
| adg-table-row.h | | adg-table-row.h | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 31 | |
| #error "Only <adg.h> can be included directly." | | #error "Only <adg.h> can be included directly." | |
| #endif | | #endif | |
| | | | |
| #ifndef __ADG_TABLE_ROW_H__ | | #ifndef __ADG_TABLE_ROW_H__ | |
| #define __ADG_TABLE_ROW_H__ | | #define __ADG_TABLE_ROW_H__ | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define ADG_TYPE_TABLE_ROW (adg_table_row_get_type()) | | #define ADG_TYPE_TABLE_ROW (adg_table_row_get_type()) | |
| | | | |
|
| #if 0 | | | |
| /* AdgTableRow declared in adg-table.h */ | | | |
| typedef struct _AdgTableRow AdgTableRow; | | | |
| #endif | | | |
| | | | |
| GType adg_table_row_get_type (void) G_GNUC_CONST; | | GType adg_table_row_get_type (void) G_GNUC_CONST; | |
| | | | |
| AdgTableRow * adg_table_row_dup (const AdgTableRow *table_
row); | | AdgTableRow * adg_table_row_dup (const AdgTableRow *table_
row); | |
| AdgTableRow * adg_table_row_new (AdgTable *table); | | AdgTableRow * adg_table_row_new (AdgTable *table); | |
| AdgTableRow * adg_table_row_new_before (AdgTableRow *before_row
); | | AdgTableRow * adg_table_row_new_before (AdgTableRow *before_row
); | |
| void adg_table_row_free (AdgTableRow *table_row)
; | | void adg_table_row_free (AdgTableRow *table_row)
; | |
| void adg_table_row_insert (AdgTableRow *table_row, | | void adg_table_row_insert (AdgTableRow *table_row, | |
| AdgTableCell *table_cell
, | | AdgTableCell *table_cell
, | |
| AdgTableCell *before_cel
l); | | AdgTableCell *before_cel
l); | |
| void adg_table_row_remove (AdgTableRow *table_row, | | void adg_table_row_remove (AdgTableRow *table_row, | |
| | | | |
End of changes. 1 change blocks. |
| 5 lines changed or deleted | | 0 lines changed or added | |
|
| adg-table.h | | adg-table.h | |
| | | | |
| skipping to change at line 36 | | skipping to change at line 36 | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define ADG_TYPE_TABLE (adg_table_get_type()) | | #define ADG_TYPE_TABLE (adg_table_get_type()) | |
| #define ADG_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T
YPE_TABLE, AdgTable)) | | #define ADG_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), ADG_T
YPE_TABLE, AdgTable)) | |
| #define ADG_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY
PE_TABLE, AdgTableClass)) | | #define ADG_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), ADG_TY
PE_TABLE, AdgTableClass)) | |
| #define ADG_IS_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T
YPE_TABLE)) | | #define ADG_IS_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_T
YPE_TABLE)) | |
| #define ADG_IS_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY
PE_TABLE)) | | #define ADG_IS_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), ADG_TY
PE_TABLE)) | |
| #define ADG_TABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY
PE_TABLE, AdgTableClass)) | | #define ADG_TABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), ADG_TY
PE_TABLE, AdgTableClass)) | |
| | | | |
|
| /* Forward declarations */ | | | |
| ADG_FORWARD_DECL(AdgTableRow); | | | |
| ADG_FORWARD_DECL(AdgTableCell); | | | |
| | | | |
| typedef struct _AdgTable AdgTable; | | typedef struct _AdgTable AdgTable; | |
| typedef struct _AdgTableClass AdgTableClass; | | typedef struct _AdgTableClass AdgTableClass; | |
| | | | |
| struct _AdgTable { | | struct _AdgTable { | |
| /*< private >*/ | | /*< private >*/ | |
| AdgEntity parent; | | AdgEntity parent; | |
| gpointer data; | | gpointer data; | |
| }; | | }; | |
| | | | |
| struct _AdgTableClass { | | struct _AdgTableClass { | |
| | | | |
End of changes. 1 change blocks. |
| 4 lines changed or deleted | | 0 lines changed or added | |
|
| adg-textual.h | | adg-textual.h | |
| | | | |
| skipping to change at line 41 | | skipping to change at line 41 | |
| #define ADG_IS_TEXTUAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_
TYPE_TEXTUAL)) | | #define ADG_IS_TEXTUAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), ADG_
TYPE_TEXTUAL)) | |
| #define ADG_TEXTUAL_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), A
DG_TYPE_TEXTUAL, AdgTextualIface)) | | #define ADG_TEXTUAL_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE((obj), A
DG_TYPE_TEXTUAL, AdgTextualIface)) | |
| | | | |
| typedef struct _AdgTextual AdgTextual; | | typedef struct _AdgTextual AdgTextual; | |
| typedef struct _AdgTextualIface AdgTextualIface; | | typedef struct _AdgTextualIface AdgTextualIface; | |
| | | | |
| struct _AdgTextualIface { | | struct _AdgTextualIface { | |
| /*< private >*/ | | /*< private >*/ | |
| GTypeInterface base_iface; | | GTypeInterface base_iface; | |
| | | | |
|
| /* Virtual Table */ | | /*< public >*/ | |
| | | /* Virtual table */ | |
| void (*set_font_dress) (AdgTextual *textual, | | void (*set_font_dress) (AdgTextual *textual, | |
| AdgDress dress); | | AdgDress dress); | |
| AdgDress (*get_font_dress) (AdgTextual *textual); | | AdgDress (*get_font_dress) (AdgTextual *textual); | |
| void (*set_text) (AdgTextual *textual, | | void (*set_text) (AdgTextual *textual, | |
| const gchar *text); | | const gchar *text); | |
| gchar * (*dup_text) (AdgTextual *textual); | | gchar * (*dup_text) (AdgTextual *textual); | |
| | | | |
| /* Signals */ | | /* Signals */ | |
| void (*text_changed) (AdgTextual *textual, | | void (*text_changed) (AdgTextual *textual, | |
| const gchar *old_text); | | const gchar *old_text); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 2 lines changed or added | |
|
| adg-utils.h | | adg-utils.h | |
| | | | |
| skipping to change at line 27 | | skipping to change at line 27 | |
| * Boston, MA 02110-1301, USA. | | * Boston, MA 02110-1301, USA. | |
| */ | | */ | |
| | | | |
| #if !defined(__ADG_H__) | | #if !defined(__ADG_H__) | |
| #error "Only <adg.h> can be included directly." | | #error "Only <adg.h> can be included directly." | |
| #endif | | #endif | |
| | | | |
| #ifndef __ADG_UTILS_H__ | | #ifndef __ADG_UTILS_H__ | |
| #define __ADG_UTILS_H__ | | #define __ADG_UTILS_H__ | |
| | | | |
|
| #define ADG_FORWARD_DECL(id) typedef struct _##id id | | | |
| | | | |
| #define ADG_DIR_RIGHT 0. | | #define ADG_DIR_RIGHT 0. | |
| #define ADG_DIR_DOWN G_PI_2 | | #define ADG_DIR_DOWN G_PI_2 | |
| #define ADG_DIR_LEFT G_PI | | #define ADG_DIR_LEFT G_PI | |
| #define ADG_DIR_UP -G_PI_2 | | #define ADG_DIR_UP -G_PI_2 | |
| | | | |
| #define ADG_UTF8_DIAMETER "\xE2\x8C\x80" | | #define ADG_UTF8_DIAMETER "\xE2\x8C\x80" | |
| #define ADG_UTF8_DEGREE "\xC2\xB0" | | #define ADG_UTF8_DEGREE "\xC2\xB0" | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
|
| typedef struct _AdgClosure AdgClosure; | | | |
| | | | |
| struct _AdgClosure { | | | |
| GCallback callback; | | | |
| gpointer user_data; | | | |
| }; | | | |
| | | | |
| #if GLIB_MINOR_VERSION < 16 | | #if GLIB_MINOR_VERSION < 16 | |
| gint g_strcmp0 (const gchar *s1, | | gint g_strcmp0 (const gchar *s1, | |
| const gchar *s2); | | const gchar *s2); | |
| #endif | | #endif | |
| | | | |
| gboolean adg_is_string_empty (const gchar *str); | | gboolean adg_is_string_empty (const gchar *str); | |
| gboolean adg_is_enum_value (int value, | | gboolean adg_is_enum_value (int value, | |
| GType enum_type); | | GType enum_type); | |
| gboolean adg_is_boolean_value (gboolean value); | | gboolean adg_is_boolean_value (gboolean value); | |
| gchar * adg_string_replace (const gchar *str, | | gchar * adg_string_replace (const gchar *str, | |
| const gchar *from, | | const gchar *from, | |
| const gchar *to); | | const gchar *to); | |
| gchar * adg_find_file (const gchar *file, | | gchar * adg_find_file (const gchar *file, | |
| ...); | | ...); | |
|
| const gchar * adg_datadir (void); | | gdouble adg_scale_factor (const gchar *scale); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif /* __ADG_UTILS_H__ */ | | #endif /* __ADG_UTILS_H__ */ | |
| | | | |
End of changes. 3 change blocks. |
| 10 lines changed or deleted | | 1 lines changed or added | |
|
| adg.h | | adg.h | |
| | | | |
| skipping to change at line 26 | | skipping to change at line 26 | |
| * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
| * Boston, MA 02110-1301, USA. | | * Boston, MA 02110-1301, USA. | |
| */ | | */ | |
| | | | |
| #ifndef __ADG_H__ | | #ifndef __ADG_H__ | |
| #define __ADG_H__ | | #define __ADG_H__ | |
| | | | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <cpml.h> | | #include <cpml.h> | |
| | | | |
|
| | | #include "adg/adg-forward-declarations.h" | |
| #include "adg/adg-enums.h" | | #include "adg/adg-enums.h" | |
| #include "adg/adg-utils.h" | | #include "adg/adg-utils.h" | |
| #include "adg/adg-pair.h" | | #include "adg/adg-pair.h" | |
| #include "adg/adg-matrix.h" | | #include "adg/adg-matrix.h" | |
| #include "adg/adg-pattern.h" | | #include "adg/adg-pattern.h" | |
| #include "adg/adg-primitive.h" | | #include "adg/adg-primitive.h" | |
| #include "adg/adg-segment.h" | | #include "adg/adg-segment.h" | |
| #include "adg/adg-entity.h" | | #include "adg/adg-entity.h" | |
| #include "adg/adg-model.h" | | #include "adg/adg-model.h" | |
| #include "adg/adg-trail.h" | | #include "adg/adg-trail.h" | |
| #include "adg/adg-path.h" | | #include "adg/adg-path.h" | |
| #include "adg/adg-edges.h" | | #include "adg/adg-edges.h" | |
| #include "adg/adg-point.h" | | #include "adg/adg-point.h" | |
| #include "adg/adg-marker.h" | | #include "adg/adg-marker.h" | |
|
| | | #include "adg/adg-dash.h" | |
| #include "adg/adg-style.h" | | #include "adg/adg-style.h" | |
| #include "adg/adg-color-style.h" | | #include "adg/adg-color-style.h" | |
| #include "adg/adg-line-style.h" | | #include "adg/adg-line-style.h" | |
| #include "adg/adg-font-style.h" | | #include "adg/adg-font-style.h" | |
| #include "adg/adg-table-style.h" | | #include "adg/adg-table-style.h" | |
| #include "adg/adg-dim-style.h" | | #include "adg/adg-dim-style.h" | |
| #include "adg/adg-fill-style.h" | | #include "adg/adg-fill-style.h" | |
| #include "adg/adg-ruled-fill.h" | | #include "adg/adg-ruled-fill.h" | |
| #include "adg/adg-dress.h" | | #include "adg/adg-dress.h" | |
| #include "adg/adg-dress-builtins.h" | | #include "adg/adg-dress-builtins.h" | |
| | | | |
End of changes. 2 change blocks. |
| 0 lines changed or deleted | | 2 lines changed or added | |
|
| cpml-segment.h | | cpml-segment.h | |
| | | | |
| skipping to change at line 33 | | skipping to change at line 33 | |
| | | | |
| #ifndef __CPML_SEGMENT_H__ | | #ifndef __CPML_SEGMENT_H__ | |
| #define __CPML_SEGMENT_H__ | | #define __CPML_SEGMENT_H__ | |
| | | | |
| CAIRO_BEGIN_DECLS | | CAIRO_BEGIN_DECLS | |
| | | | |
| typedef cairo_path_t CpmlPath; | | typedef cairo_path_t CpmlPath; | |
| typedef struct _CpmlSegment CpmlSegment; | | typedef struct _CpmlSegment CpmlSegment; | |
| | | | |
| struct _CpmlSegment { | | struct _CpmlSegment { | |
|
| CpmlPath *path; | | /*< public >*/ | |
| cairo_path_data_t *data; | | CpmlPath *path; | |
| int num_data; | | cairo_path_data_t *data; | |
| | | int num_data; | |
| }; | | }; | |
| | | | |
| int cpml_path_is_empty (const CpmlPath *path); | | int cpml_path_is_empty (const CpmlPath *path); | |
| int cpml_segment_from_cairo (CpmlSegment *segment, | | int cpml_segment_from_cairo (CpmlSegment *segment, | |
| CpmlPath *path); | | CpmlPath *path); | |
| void cpml_segment_copy (CpmlSegment *segment, | | void cpml_segment_copy (CpmlSegment *segment, | |
| const CpmlSegment *src); | | const CpmlSegment *src); | |
| void cpml_segment_reset (CpmlSegment *segment); | | void cpml_segment_reset (CpmlSegment *segment); | |
| int cpml_segment_next (CpmlSegment *segment); | | int cpml_segment_next (CpmlSegment *segment); | |
| double cpml_segment_get_length (const CpmlSegment *segment); | | double cpml_segment_get_length (const CpmlSegment *segment); | |
| | | | |
End of changes. 1 change blocks. |
| 3 lines changed or deleted | | 4 lines changed or added | |
|