/*
* Copyright (C) 2007 MenTaLguY <mental@rydia.net>
* Abhishek Sharma
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
*/
#include "ui/widget/style-subject.h"
#include "desktop.h"
#include "sp-object.h"
#include "xml/sp-css-attr.h"
#include "desktop-style.h"
#include "selection.h"
#include "style.h"
namespace Inkscape {
namespace UI {
namespace Widget {
}
StyleSubject::~StyleSubject() {
}
if (desktop) {
}
if (_desktop) {
}
_emitChanged();
}
}
}
}
if (desktop) {
return desktop->getSelection();
} else {
return NULL;
}
}
if(selection)
}
if (selection) {
} else {
}
}
if (desktop) {
} else {
return QUERY_STYLE_NOTHING;
}
}
if (desktop) {
_subsel_changed = desktop->connectToolSubselectionChanged(sigc::hide(sigc::mem_fun(*this, &Selection::_emitChanged)));
if (selection) {
_sel_changed = selection->connectChanged(sigc::hide(sigc::mem_fun(*this, &Selection::_emitChanged)));
_sel_modified = selection->connectModified(sigc::hide(sigc::hide(sigc::mem_fun(*this, &Selection::_emitChanged))));
}
}
}
if (desktop) {
}
}
}
}
if (_element) {
}
if (layer) {
_layer_release = layer->connectRelease(sigc::hide(sigc::bind(sigc::mem_fun(*this, &CurrentLayer::_setLayer), (SPObject *)NULL)));
_layer_modified = layer->connectModified(sigc::hide(sigc::hide(sigc::mem_fun(*this, &CurrentLayer::_emitChanged))));
}
_emitChanged();
}
return _element;
}
return _element;
}
return list;
}
} else {
}
}
SPObject* i=_getLayerSList();
if (i) {
} else {
return QUERY_STYLE_NOTHING;
}
}
if (layer) {
}
}
if (desktop) {
_layer_switched = desktop->connectCurrentLayerChanged(sigc::mem_fun(*this, &CurrentLayer::_setLayer));
} else {
}
}
}
}
}
/*
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 :