summaryrefslogtreecommitdiffstats
path: root/src/widgets/gradient-vector.h
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-03-15 12:43:34 +0000
committerJohn Smith <removethis.john.q.public@bigmail.com>2012-03-15 12:43:34 +0000
commita0c24c953a1ba7fb285050dfe26e2bd41149bf30 (patch)
treedacdad05159b58cd621b0f1814586b5629f58246 /src/widgets/gradient-vector.h
parentbuildtool: don't create build output folders in parallel. superfast in series... (diff)
downloadinkscape-a0c24c953a1ba7fb285050dfe26e2bd41149bf30.tar.gz
inkscape-a0c24c953a1ba7fb285050dfe26e2bd41149bf30.zip
Fix for 903671 : Fill and Stroke Gradient list and Gradient Editor
(bzr r11089)
Diffstat (limited to 'src/widgets/gradient-vector.h')
-rw-r--r--src/widgets/gradient-vector.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/widgets/gradient-vector.h b/src/widgets/gradient-vector.h
index b198895e7..f33240504 100644
--- a/src/widgets/gradient-vector.h
+++ b/src/widgets/gradient-vector.h
@@ -29,6 +29,7 @@
#define SP_IS_GRADIENT_VECTOR_SELECTOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), SP_TYPE_GRADIENT_VECTOR_SELECTOR))
class SPDocument;
+class SPObject;
class SPGradient;
class SPStop;
@@ -42,13 +43,16 @@ struct SPGradientVectorSelector {
SPDocument *doc;
SPGradient *gr;
- /* Vector menu */
- GtkWidget *menu;
+ /* ComboBox of gradient vectors */
+ GtkWidget *combo_box;
+ GtkListStore *store;
sigc::connection gradient_release_connection;
sigc::connection defs_release_connection;
sigc::connection defs_modified_connection;
+ gulong combo_connection;
+
void setSwatched();
};
@@ -71,6 +75,7 @@ SPGradient *sp_gradient_vector_selector_get_gradient (SPGradientVectorSelector *
/* fixme: rethink this (Lauris) */
GtkWidget *sp_gradient_vector_editor_new (SPGradient *gradient, SPStop *stop = NULL);
+gchar *gr_prepare_label (SPObject *obj);
#endif // SEEN_GRADIENT_VECTOR_H