From 179fa413b047bede6e32109e2ce82437c5fb8d34 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Mon, 16 Jan 2006 02:36:01 +0000 Subject: moving trunk for module inkscape (bzr r1) --- src/interface.h | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 src/interface.h (limited to 'src/interface.h') diff --git a/src/interface.h b/src/interface.h new file mode 100644 index 000000000..099fdd277 --- /dev/null +++ b/src/interface.h @@ -0,0 +1,85 @@ +#ifndef __SP_INTERFACE_H__ +#define __SP_INTERFACE_H__ + +/* + * Main UI stuff + * + * Authors: + * Lauris Kaplinski + * Frank Felfe + * + * Copyright (C) 1999-2002 authors + * Copyright (C) 2001-2002 Ximian, Inc. + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + +#include + +#include "forward.h" + + +/** + * Create a new document window. + */ +void sp_create_window (SPViewWidget *vw, gboolean editable); + +/** + * + */ +void sp_ui_close_view (GtkWidget *widget); + +/** + * + */ +void sp_ui_new_view (void); +void sp_ui_new_view_preview (void); + +/** + * + */ +unsigned int sp_ui_close_all (void); + +/** + * + */ +GtkWidget *sp_ui_main_menubar (Inkscape::UI::View::View *view); + +/** + * + */ +GtkWidget *sp_ui_context_menu (Inkscape::UI::View::View *v, SPItem *item); + + +/** + * + */ +void sp_menu_append_recent_documents (GtkWidget *menu); + + +/** + * + */ +void sp_ui_dialog_title_string (Inkscape::Verb * verb, gchar* c); + + +/** + * + */ +void sp_ui_error_dialog (const gchar * message); +bool sp_ui_overwrite_file (const gchar * filename); + +void sp_ui_shortcut_string (unsigned int shortcut, gchar* c); + +#endif + +/* + 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:encoding=utf-8:textwidth=99 : -- cgit v1.2.3