Code

From trunk
[inkscape.git] / src / widgets / toolbox.h
1 #ifndef SEEN_TOOLBOX_H
2 #define SEEN_TOOLBOX_H
4 /**
5  * \brief Main toolbox
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  */
17 #include <gtk/gtkstyle.h>
18 #include <gtk/gtktooltips.h>
20 #include "forward.h"
21 #include "icon-size.h"
23 GtkWidget *sp_tool_toolbox_new ();
24 void sp_tool_toolbox_set_desktop(GtkWidget *toolbox, SPDesktop *desktop);
26 GtkWidget *sp_aux_toolbox_new ();
27 void sp_aux_toolbox_set_desktop(GtkWidget *toolbox, SPDesktop *desktop);
29 GtkWidget *sp_commands_toolbox_new ();
30 void sp_commands_toolbox_set_desktop(GtkWidget *toolbox, SPDesktop *desktop);
32 void show_aux_toolbox(GtkWidget *toolbox);
34 GtkWidget *sp_toolbox_button_normal_new_from_verb(GtkWidget *t,
35                                                   Inkscape::IconSize size,
36                                                   Inkscape::Verb * verb,
37                                                   Inkscape::UI::View::View *view,
38                                                   GtkTooltips *tt);
40 void aux_toolbox_space(GtkWidget *tb, gint space);
42 // utility
43 void sp_toolbox_add_label(GtkWidget *tbl, gchar const *title, bool wide = true);
45 Inkscape::IconSize prefToSize(Glib::ustring const &path, int base = 0 );
47 #endif /* !SEEN_TOOLBOX_H */
49 /*
50   Local Variables:
51   mode:c++
52   c-file-style:"stroustrup"
53   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
54   indent-tabs-mode:nil
55   fill-column:99
56   End:
57 */
58 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :