Code

4bc417e8f6d4ddb7a43064e441511d14f64f6b4a
[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 GtkWidget *sp_snap_toolbox_new ();
33 void sp_snap_toolbox_set_desktop(GtkWidget *toolbox, SPDesktop *desktop);
34 void update_snap_toolbox(SPDesktop *desktop, SPEventContext *eventcontext, GtkWidget *toolbox);
35 void setup_snap_toolbox (GtkWidget *toolbox, SPDesktop *desktop);
37 void show_aux_toolbox(GtkWidget *toolbox);
39 GtkWidget *sp_toolbox_button_normal_new_from_verb(GtkWidget *t,
40                                                   Inkscape::IconSize size,
41                                                   Inkscape::Verb * verb,
42                                                   Inkscape::UI::View::View *view,
43                                                   GtkTooltips *tt);
45 void aux_toolbox_space(GtkWidget *tb, gint space);
47 // utility
48 void sp_toolbox_add_label(GtkWidget *tbl, gchar const *title, bool wide = true);
50 Inkscape::IconSize prefToSize(Glib::ustring const &path, int base = 0 );
52 #endif /* !SEEN_TOOLBOX_H */
54 /*
55   Local Variables:
56   mode:c++
57   c-file-style:"stroustrup"
58   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
59   indent-tabs-mode:nil
60   fill-column:99
61   End:
62 */
63 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :