~mc.../inkscape/inkscape

« back to all changes in this revision

Viewing changes to src/interface.h

  • Committer: mental
  • Date: 2006-01-16 02:36:01 UTC
  • Revision ID: mental@users.sourceforge.net-20060116023601-wkr0h7edl5veyudq
moving trunk for module inkscape

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __SP_INTERFACE_H__
 
2
#define __SP_INTERFACE_H__
 
3
 
 
4
/*
 
5
 * Main UI stuff
 
6
 *
 
7
 * Authors:
 
8
 *   Lauris Kaplinski <lauris@kaplinski.com>
 
9
 *   Frank Felfe <innerspace@iname.com>
 
10
 *
 
11
 * Copyright (C) 1999-2002 authors
 
12
 * Copyright (C) 2001-2002 Ximian, Inc.
 
13
 *
 
14
 * Released under GNU GPL, read the file 'COPYING' for more information
 
15
 */
 
16
 
 
17
#include <gtk/gtkstyle.h>
 
18
 
 
19
#include "forward.h"
 
20
 
 
21
 
 
22
/**
 
23
 *  Create a new document window.
 
24
 */
 
25
void sp_create_window (SPViewWidget *vw, gboolean editable);
 
26
 
 
27
/**
 
28
 *
 
29
 */
 
30
void sp_ui_close_view (GtkWidget *widget);
 
31
 
 
32
/**
 
33
 *
 
34
 */
 
35
void sp_ui_new_view (void);
 
36
void sp_ui_new_view_preview (void);
 
37
 
 
38
/**
 
39
 *
 
40
 */
 
41
unsigned int sp_ui_close_all (void);
 
42
 
 
43
/**
 
44
 *
 
45
 */
 
46
GtkWidget *sp_ui_main_menubar (Inkscape::UI::View::View *view);
 
47
 
 
48
/**
 
49
 *
 
50
 */
 
51
GtkWidget *sp_ui_context_menu (Inkscape::UI::View::View *v, SPItem *item);
 
52
 
 
53
 
 
54
/**
 
55
 *
 
56
 */
 
57
void sp_menu_append_recent_documents (GtkWidget *menu);
 
58
 
 
59
 
 
60
/**
 
61
 *
 
62
 */
 
63
void sp_ui_dialog_title_string (Inkscape::Verb * verb, gchar* c);
 
64
 
 
65
 
 
66
/**
 
67
 *
 
68
 */
 
69
void sp_ui_error_dialog (const gchar * message);
 
70
bool sp_ui_overwrite_file (const gchar * filename);
 
71
 
 
72
void sp_ui_shortcut_string (unsigned int shortcut, gchar* c);
 
73
 
 
74
#endif
 
75
 
 
76
/*
 
77
  Local Variables:
 
78
  mode:c++
 
79
  c-file-style:"stroustrup"
 
80
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
 
81
  indent-tabs-mode:nil
 
82
  fill-column:99
 
83
  End:
 
84
*/
 
85
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :