summaryrefslogtreecommitdiffstats
path: root/src/widgets/paint-selector.h
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-03-28 00:42:22 +0000
committerJon A. Cruz <jon@joncruz.org>2010-03-28 00:42:22 +0000
commit58133b417e94e0bc15fb1624a9d6bbd7613cca5d (patch)
tree43d13d05c23b8e9a09aa079e4d7f62dba123e5d0 /src/widgets/paint-selector.h
parentinherit value as well as computed for linespacing and other spacing propertie... (diff)
downloadinkscape-58133b417e94e0bc15fb1624a9d6bbd7613cca5d.tar.gz
inkscape-58133b417e94e0bc15fb1624a9d6bbd7613cca5d.zip
Phase 3 - Convert to C++ class, but still using C-style callbacks and signals.
(bzr r9244)
Diffstat (limited to 'src/widgets/paint-selector.h')
-rw-r--r--src/widgets/paint-selector.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/widgets/paint-selector.h b/src/widgets/paint-selector.h
index a3c4cb973..84209d1da 100644
--- a/src/widgets/paint-selector.h
+++ b/src/widgets/paint-selector.h
@@ -14,6 +14,8 @@
*/
#include <glib.h>
+
+#include "fill-or-stroke.h"
#include "sp-gradient-spread.h"
#include "sp-gradient-units.h"
@@ -75,7 +77,7 @@ struct SPPaintSelector {
SPColor color;
float alpha;
- static Mode getModeForStyle(SPStyle const & style, bool isfill);
+ static Mode getModeForStyle(SPStyle const & style, FillOrStroke kind);
void setMode( Mode mode );
void setFillrule( FillRule fillrule );
@@ -114,7 +116,7 @@ struct SPPaintSelectorClass {
GtkType sp_paint_selector_get_type (void);
-GtkWidget *sp_paint_selector_new (bool is_fill);
+SPPaintSelector *sp_paint_selector_new(FillOrStroke kind);