adg-gtk-utils.h | adg-gtk-utils.h | |||
---|---|---|---|---|
skipping to change at line 36 | skipping to change at line 36 | |||
#define ADG_GTK_MODIFIERS (GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MA SK) | #define ADG_GTK_MODIFIERS (GDK_SHIFT_MASK | GDK_CONTROL_MASK | GDK_MOD1_MA SK) | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#if GTK_CHECK_VERSION(2, 14, 0) | #if GTK_CHECK_VERSION(2, 14, 0) | |||
#else | #else | |||
GdkWindow * gtk_widget_get_window (GtkWidget *widget); | GdkWindow * gtk_widget_get_window (GtkWidget *widget); | |||
#endif | #endif | |||
#if GTK_CHECK_VERSION(2, 20, 0) | ||||
#else | ||||
gboolean gtk_widget_get_realized (GtkWidget *widget); | ||||
#endif | ||||
void adg_gtk_window_hide_here (GtkWindow *window); | void adg_gtk_window_hide_here (GtkWindow *window); | |||
void adg_gtk_toggle_button_sensitivize | void adg_gtk_toggle_button_sensitivize | |||
(GtkToggleButton*toggle_but ton, | (GtkToggleButton*toggle_but ton, | |||
GtkWidget *widget); | GtkWidget *widget); | |||
void adg_gtk_use_default_icons (const gchar *dir); | void adg_gtk_use_default_icons (const gchar *dir); | |||
G_END_DECLS | G_END_DECLS | |||
#endif /* __ADG_GTK_UTILS_H__ */ | #endif /* __ADG_GTK_UTILS_H__ */ | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 5 lines changed or added | |||
adg-utils.h | adg-utils.h | |||
---|---|---|---|---|
skipping to change at line 32 | skipping to change at line 32 | |||
#endif | #endif | |||
#ifndef __ADG_UTILS_H__ | #ifndef __ADG_UTILS_H__ | |||
#define __ADG_UTILS_H__ | #define __ADG_UTILS_H__ | |||
#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 "\xC3\xB8" | |||
#define ADG_UTF8_DEGREE "\xC2\xB0" | #define ADG_UTF8_DEGREE "\xC2\xB0" | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#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); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
cpml-curve.h | cpml-curve.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(__CPML_H__) | #if !defined(__CPML_H__) | |||
#error "Only <cpml/cpml.h> can be included directly." | #error "Only <cpml/cpml.h> can be included directly." | |||
#endif | #endif | |||
#ifndef __CPML_CURVE_H__ | #ifndef __CPML_CURVE_H__ | |||
#define __CPML_CURVE_H__ | #define __CPML_CURVE_H__ | |||
typedef enum { | ||||
CPML_CURVE_OFFSET_ALGORITHM_NONE, | ||||
CPML_CURVE_OFFSET_ALGORITHM_DEFAULT, | ||||
CPML_CURVE_OFFSET_ALGORITHM_GEOMETRICAL, | ||||
CPML_CURVE_OFFSET_ALGORITHM_HANDCRAFT, | ||||
CPML_CURVE_OFFSET_ALGORITHM_BAIOCA, | ||||
} CpmlCurveOffsetAlgorithm; | ||||
CAIRO_BEGIN_DECLS | CAIRO_BEGIN_DECLS | |||
void cpml_curve_put_pair_at_time (const CpmlPrimitive *curve, | CpmlCurveOffsetAlgorithm | |||
double t, | cpml_curve_offset_algorithm (CpmlCurveOffsetAlgorithm new_algor | |||
CpmlPair *pair); | ithm); | |||
void cpml_curve_put_vector_at_time (const CpmlPrimitive *curve, | void cpml_curve_put_pair_at_time (const CpmlPrimitive *curve, | |||
double t, | double t, | |||
CpmlVector *vector); | CpmlPair *pair); | |||
void cpml_curve_put_vector_at_time (const CpmlPrimitive *curve, | ||||
double t, | ||||
CpmlVector *vector); | ||||
void cpml_curve_put_offset_at_time (const CpmlPrimitive *curve, | ||||
double t, | ||||
double offset, | ||||
CpmlPair *pair); | ||||
CAIRO_END_DECLS | CAIRO_END_DECLS | |||
#endif /* __CPML_CURVE_H__ */ | #endif /* __CPML_CURVE_H__ */ | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 21 lines changed or added | |||
cpml-gobject.h | cpml-gobject.h | |||
---|---|---|---|---|
skipping to change at line 45 | skipping to change at line 45 | |||
CpmlPrimitive * cpml_primitive_dup (const CpmlPrimitive *primitive) ; | CpmlPrimitive * cpml_primitive_dup (const CpmlPrimitive *primitive) ; | |||
CpmlPrimitive * cpml_primitive_deep_dup (const CpmlPrimitive *primitive) ; | CpmlPrimitive * cpml_primitive_deep_dup (const CpmlPrimitive *primitive) ; | |||
#define CPML_TYPE_SEGMENT (cpml_segment_get_type()) | #define CPML_TYPE_SEGMENT (cpml_segment_get_type()) | |||
GType cpml_segment_get_type (void) G_GNUC_CONST; | GType cpml_segment_get_type (void) G_GNUC_CONST; | |||
CpmlSegment * cpml_segment_dup (const CpmlSegment *segment); | CpmlSegment * cpml_segment_dup (const CpmlSegment *segment); | |||
CpmlSegment * cpml_segment_deep_dup (const CpmlSegment *segment); | CpmlSegment * cpml_segment_deep_dup (const CpmlSegment *segment); | |||
void cpml_segment_deep_copy (CpmlSegment *segment, | void cpml_segment_deep_copy (CpmlSegment *segment, | |||
const CpmlSegment *src); | const CpmlSegment *src); | |||
#define CPML_TYPE_CURVE_OFFSET_ALGORITHM \ | ||||
(cpml_curve_offset_algorithm_get_ty | ||||
pe()) | ||||
GType cpml_curve_offset_algorithm_get_type | ||||
(void) G_GNUC_CONST; | ||||
G_END_DECLS | G_END_DECLS | |||
#endif /* __CPML_GOBJECT_H__ */ | #endif /* __CPML_GOBJECT_H__ */ | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 6 lines changed or added | |||