[fondue-commits] [SCM] Fondue Font Editor branch, master, updated. bfebb8bd678db80c937a21dd2aaa09d9b8a44a17

Eugeniy Meshcheryakov eugen at debian.org
Sun Nov 9 21:03:30 UTC 2008


The following commit has been merged in the master branch:
commit a3fcf5f5854de41e7c4674f2e8b79fd509a8fb6f
Author: Eugeniy Meshcheryakov <eugen at debian.org>
Date:   Fri Oct 10 16:00:38 2008 +0300

    Add user types

diff --git a/gui/glyphitem.h b/gui/glyphitem.h
index 6a55b4f..5d7ba44 100644
--- a/gui/glyphitem.h
+++ b/gui/glyphitem.h
@@ -24,6 +24,9 @@ class GlyphItemBase : public QObject, public QGraphicsPathItem {
 	Q_OBJECT
 public:
 	GlyphItemBase(Glyph *glyph, bool includeOpen, QGraphicsItem *parent = 0);
+	enum {Type = UserType + 2};
+	int type() const {return Type;}
+
 public slots:
 	void updateGeometry();
 protected:
@@ -36,6 +39,8 @@ class GlyphItemOutline : public GlyphItemBase {
 	Q_OBJECT
 public:
 	GlyphItemOutline(Glyph *glyph, QGraphicsItem *parent = 0);
+	enum {Type = UserType + 3};
+	int type() const {return Type;}
 };
 
 #endif

-- 
Fondue Font Editor



More information about the fondue-commits mailing list