index e03b80d0e21fd28978db545c2d2fbd285088b1cd..a05c20b36da15491a45e8ca3f7418da10748a887 100644 (file)
-/**
- * \brief Fill and Stroke dialog,
- * based on sp_object_properties_dialog
+/** @file
+ * @brief Fill and Stroke dialog - implementation
*
- * Authors:
+ * Based on the old sp_object_properties_dialog.
+ */
+/* Authors:
* Bryce W. Harrington <bryce@bryceharrington.org>
* Gustav Broberg <broberg@kth.se>
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
#include "desktop-handles.h"
#include "desktop-style.h"
#include "document.h"
namespace Dialog {
FillAndStroke::FillAndStroke()
- : UI::Widget::Panel ("", "dialogs.fillstroke", SP_VERB_DIALOG_FILL_STROKE),
+ : UI::Widget::Panel ("", "/dialogs/fillstroke", SP_VERB_DIALOG_FILL_STROKE),
_page_fill(1, 1, true, true),
_page_stroke_paint(1, 1, true, true),
_page_stroke_style(1, 1, true, true),
- _composite_settings(SP_VERB_DIALOG_FILL_STROKE, "fillstroke", SimpleFilterModifier::BLEND | SimpleFilterModifier::BLUR)
+ _composite_settings(SP_VERB_DIALOG_FILL_STROKE, "fillstroke", SimpleFilterModifier::BLUR)
{
Gtk::Box *contents = _getContents();
contents->set_spacing(0);
void
FillAndStroke::_layoutPageStrokeStyle()
{
- Gtk::Widget *ssl = manage(Glib::wrap(sp_stroke_style_line_widget_new()));
+ //Gtk::Widget *ssl = manage(Glib::wrap(sp_stroke_style_line_widget_new()));
+ //Gtk::Widget *ssl = static_cast<Gtk::Widget *>(sp_stroke_style_line_widget_new());
+ Gtk::Widget *ssl = sp_stroke_style_line_widget_new();
_page_stroke_style.table().attach(*ssl, 0, 1, 0, 1);
}