diff options
| author | MenTaLguY <mental@rydia.net> | 2006-01-16 02:36:01 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2006-01-16 02:36:01 +0000 |
| commit | 179fa413b047bede6e32109e2ce82437c5fb8d34 (patch) | |
| tree | a5a6ac2c1708bd02288fbd8edb2ff500ff2e0916 /src/interface.h | |
| download | inkscape-179fa413b047bede6e32109e2ce82437c5fb8d34.tar.gz inkscape-179fa413b047bede6e32109e2ce82437c5fb8d34.zip | |
moving trunk for module inkscape
(bzr r1)
Diffstat (limited to 'src/interface.h')
| -rw-r--r-- | src/interface.h | 85 |
1 files changed, 85 insertions, 0 deletions
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 <lauris@kaplinski.com> + * Frank Felfe <innerspace@iname.com> + * + * Copyright (C) 1999-2002 authors + * Copyright (C) 2001-2002 Ximian, Inc. + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + +#include <gtk/gtkstyle.h> + +#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 : |
