[Tomoe-cvs 834] CVS update: tomoe/lib

Zurück zum Archiv-Index

Kouhei Sutou kous****@users*****
2006年 11月 22日 (水) 11:59:29 JST


Index: tomoe/lib/tomoe-handwrite.c
diff -u tomoe/lib/tomoe-handwrite.c:1.24 tomoe/lib/tomoe-handwrite.c:1.25
--- tomoe/lib/tomoe-handwrite.c:1.24	Wed Nov 22 00:54:25 2006
+++ tomoe/lib/tomoe-handwrite.c	Wed Nov 22 11:59:29 2006
@@ -18,7 +18,7 @@
  *  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  *  Boston, MA  02111-1307  USA
  *
- *  $Id: tomoe-handwrite.c,v 1.24 2006/11/21 15:54:25 makeinu Exp $
+ *  $Id: tomoe-handwrite.c,v 1.25 2006/11/22 02:59:29 kous Exp $
  */
 
 #include <stdlib.h>
@@ -29,7 +29,6 @@
 
 typedef struct _TomoeGlyphPrivate TomoeGlyphPrivate;
 typedef struct _TomoeStroke       TomoeStroke;
-typedef struct _TomoePoint        TomoePoint;
 
 struct _TomoeGlyphPrivate
 {
@@ -43,12 +42,6 @@
     GList *point_last;
 };
 
-struct _TomoePoint
-{
-    int x;
-    int y;
-};
-
 G_DEFINE_TYPE (TomoeGlyph, tomoe_glyph, G_TYPE_OBJECT)
 
 static void tomoe_glyph_dispose (GObject *object);
Index: tomoe/lib/tomoe-handwrite.h
diff -u tomoe/lib/tomoe-handwrite.h:1.16 tomoe/lib/tomoe-handwrite.h:1.17
--- tomoe/lib/tomoe-handwrite.h:1.16	Wed Nov 22 00:54:25 2006
+++ tomoe/lib/tomoe-handwrite.h	Wed Nov 22 11:59:29 2006
@@ -18,7 +18,7 @@
  *  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  *  Boston, MA  02111-1307  USA
  *
- *  $Id: tomoe-handwrite.h,v 1.16 2006/11/21 15:54:25 makeinu Exp $
+ *  $Id: tomoe-handwrite.h,v 1.17 2006/11/22 02:59:29 kous Exp $
  */
 
 /** @file tomoe-handwrite.h
@@ -42,6 +42,8 @@
 typedef struct _TomoeGlyph      TomoeGlyph;
 typedef struct _TomoeGlyphClass TomoeGlyphClass;
 
+typedef struct _TomoePoint        TomoePoint;
+
 struct _TomoeGlyph
 {
     GObject object;
@@ -52,6 +54,12 @@
     GObjectClass parent_class;
 };
 
+struct _TomoePoint
+{
+    gint x;
+    gint y;
+};
+
 GType           tomoe_glyph_get_type            (void) G_GNUC_CONST;
 TomoeGlyph     *tomoe_glyph_new                 (void);
 void            tomoe_glyph_move_to             (TomoeGlyph    *glyph,
@@ -75,6 +83,8 @@
                                                  gint          *y);
 void            tomoe_glyph_remove_last_stroke  (TomoeGlyph    *glyph);
 
+const GList    *tomoe_glyph_get_strokes         (TomoeGlyph    *glyph);
+
 G_END_DECLS
 
 #endif /* __TOMOE_HANDWRITE_H__ */


tomoe-cvs メーリングリストの案内
Zurück zum Archiv-Index