fill-and-stroke.cpp revision 073e18ad60852ae12d4c4c28abed5c86004a3967
/**
* @file
* 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),
{
_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) {
}
if (strokeStyleWdgt) {
}
}
}
void
{
}
void
{
}
void
{
//Gtk::Widget *strokeStyleWdgt = manage(Glib::wrap(sp_stroke_style_line_widget_new()));
//Gtk::Widget *strokeStyleWdgt = 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 :