diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-04-08 22:23:07 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-04-08 22:23:07 +0000 |
| commit | e58cac52b258e64c2cc88b0044bf9cfbaecedce2 (patch) | |
| tree | f2a5d2992b8658a583e740321b1a4b461aad54a9 /src/mesh-context.h | |
| parent | Reactivated independent reference counting in the SPObject tree. (diff) | |
| download | inkscape-e58cac52b258e64c2cc88b0044bf9cfbaecedce2.tar.gz inkscape-e58cac52b258e64c2cc88b0044bf9cfbaecedce2.zip | |
Started conversion of SPEventContext tree; added virtual pads to all classes.
(bzr r11608.1.89)
Diffstat (limited to 'src/mesh-context.h')
| -rw-r--r-- | src/mesh-context.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/mesh-context.h b/src/mesh-context.h index e5d06ec0a..d4ccc502e 100644 --- a/src/mesh-context.h +++ b/src/mesh-context.h @@ -27,7 +27,11 @@ #define SP_IS_MESH_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), SP_TYPE_MESH_CONTEXT)) #define SP_IS_MESH_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SP_TYPE_MESH_CONTEXT)) -struct SPMeshContext : public SPEventContext { +class CMeshContext; + +class SPMeshContext : public SPEventContext { +public: + CMeshContext* cmeshcontext; Geom::Point origin; @@ -47,6 +51,17 @@ struct SPMeshContextClass { SPEventContextClass parent_class; }; +class CMeshContext : public CEventContext { +public: + CMeshContext(SPMeshContext* meshcontext); + + virtual void setup(); + virtual gint root_handler(GdkEvent* event); + +private: + SPMeshContext* spmeshcontext; +}; + // Standard Gtk function GType sp_mesh_context_get_type(); |
