/*
* Authors:
* Lauris Kaplinski <lauris@kaplinski.com>
* Ralf Stephan <ralf@ark.in-berlin.de>
* Jon A. Cruz <jon@joncruz.org>
*
* Copyright (C) 2001-2002 Lauris Kaplinski
* Copyright (C) 2001 Ximian, Inc.
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "document.h"
#include "view.h"
#include "message-stack.h"
#include "message-context.h"
#include "verbs.h"
#include "inkscape.h"
namespace Inkscape {
namespace UI {
namespace View {
static void
{
v->onResized (x,y);
}
static void
{
v->onRedrawRequested();
}
static void
{
}
static void
{
v->onDocumentURISet (uri);
}
static void
{
v->onDocumentResized (x,y);
}
//--------------------------------------------------------------------
: _doc(0)
{
_redraw_requested_connection = _redraw_requested_signal.connect (sigc::bind (sigc::ptr_fun (&_onRedrawRequested), this));
_message_changed_connection = _message_stack->connectChanged (sigc::bind (sigc::ptr_fun (&_onStatusMessage), this));
}
{
_close();
}
delete _tips_message_context;
_message_stack = 0;
if (_doc) {
// this was the last view of this document, so delete it
delete _doc;
}
}
}
{
}
{
}
if (_doc) {
// this was the last view of this document, so delete it
delete _doc;
}
}
}
}}}
/*
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 :