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/common-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/common-context.h')
| -rw-r--r-- | src/common-context.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/common-context.h b/src/common-context.h index 8903be391..b4113b9a9 100644 --- a/src/common-context.h +++ b/src/common-context.h @@ -31,7 +31,12 @@ #define SAMPLING_SIZE 8 /* fixme: ?? */ -struct SPCommonContext : public SPEventContext { +class CCommonContext; + +class SPCommonContext : public SPEventContext { +public: + CCommonContext* ccommoncontext; + /** accumulated shape which ultimately goes in svg:path */ SPCurve *accumulated; @@ -98,6 +103,18 @@ struct SPCommonContext : public SPEventContext { struct SPCommonContextClass : public SPEventContextClass{}; +class CCommonContext : public CEventContext { +public: + CCommonContext(SPCommonContext* commoncontext); + + virtual void setup(); + virtual void set(Inkscape::Preferences::Entry* val); + virtual gint root_handler(GdkEvent* event); + +private: + SPCommonContext* spcommoncontext; +}; + GType sp_common_context_get_type(void); #endif // COMMON_CONTEXT_H_SEEN |
