diff options
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 |
