fill-and-stroke.cpp revision a07ef8cb442640b12e4172d1c1da7f007e1e31d8
/** @file
* @brief Fill and Stroke dialog - implementation
*
* Based on the old sp_object_properties_dialog.
*/
/* Authors:
* Bryce W. Harrington <bryce@bryceharrington.org>
* Gustav Broberg <broberg@kth.se>
* Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) 2004--2007 Authors
* Copyright (C) 2010 Jon A. Cruz
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
#include "desktop-handles.h"
#include "desktop-style.h"
#include "document.h"
#include "fill-and-stroke.h"
#include "filter-chemistry.h"
#include "inkscape.h"
#include "selection.h"
#include "style.h"
#include "svg/css-ostringstream.h"
#include "ui/icon-names.h"
#include "verbs.h"
#include "widgets/fill-style.h"
#include "widgets/paint-selector.h"
#include "widgets/stroke-style.h"
#include "ui/view/view-widget.h"
namespace Inkscape {
namespace UI {
namespace Dialog {
_composite_settings(SP_VERB_DIALOG_FILL_STROKE, "fillstroke", UI::Widget::SimpleFilterModifier::BLUR),
deskTrack(),
targetDesktop(0),
fillWdgt(0),
strokeWdgt(0),
{
contents->set_spacing(0);
_notebook.append_page(_page_stroke_paint, _createPageTabLabel(_("Stroke _paint"), INKSCAPE_ICON_OBJECT_STROKE));
_notebook.append_page(_page_stroke_style, _createPageTabLabel(_("Stroke st_yle"), INKSCAPE_ICON_OBJECT_STROKE_STYLE));
// Connect this up last
desktopChangeConn = deskTrack.connectDesktopChanged( sigc::mem_fun(*this, &FillAndStroke::setTargetDesktop) );
}
{
}
{
}
{
if (targetDesktop != desktop) {
if (fillWdgt) {
}
if (strokeWdgt) {
}
}
}
void
{
}
void
{
}
void
{
//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());
}
void
{
present();
}
void
{
present();
}
void
{
present();
}
{
label_image)));
return *_tab_label_box;
}
} // namespace Dialog
} // namespace UI
} // namespace Inkscape
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :