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/eraser-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/eraser-context.h')
| -rw-r--r-- | src/eraser-context.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/eraser-context.h b/src/eraser-context.h index bc4268aef..ae73dc0ad 100644 --- a/src/eraser-context.h +++ b/src/eraser-context.h @@ -37,11 +37,28 @@ G_BEGIN_DECLS #define ERC_MAX_TILT 1.0 #define ERC_DEFAULT_TILT 0.0 -struct SPEraserContext : public SPCommonContext { +class CEraserContext; + +class SPEraserContext : public SPCommonContext { +public: + CEraserContext* cerasercontext; }; struct SPEraserContextClass : public SPEventContextClass{}; +class CEraserContext : public CCommonContext { +public: + CEraserContext(SPEraserContext* erasercontext); + + virtual void setup(); + virtual void set(Inkscape::Preferences::Entry* val); + virtual gint root_handler(GdkEvent* event); + +private: + SPEraserContext* sperasercontext; +}; + + GType sp_eraser_context_get_type(void); G_END_DECLS |
