~valavanisalex/ubuntu/precise/inkscape/fix-943984

« back to all changes in this revision

Viewing changes to inkscape-0.47pre1/src/widgets/toolbox.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2009-07-02 17:09:45 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090702170945-nn6d6zswovbwju1t
Tags: 0.47~pre1-0ubuntu1
* New upstream release.
  - Don't constrain maximization on small resolution devices (pre0)
    (LP: #348842)
  - Fixes segfault on startup (pre0)
    (LP: #391149)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef SEEN_TOOLBOX_H
 
2
#define SEEN_TOOLBOX_H
 
3
 
 
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
 */
 
16
 
 
17
#include <gtk/gtkstyle.h>
 
18
#include <gtk/gtktooltips.h>
 
19
 
 
20
#include "forward.h"
 
21
#include "icon-size.h"
 
22
 
 
23
GtkWidget *sp_tool_toolbox_new ();
 
24
void sp_tool_toolbox_set_desktop(GtkWidget *toolbox, SPDesktop *desktop);
 
25
 
 
26
GtkWidget *sp_aux_toolbox_new ();
 
27
void sp_aux_toolbox_set_desktop(GtkWidget *toolbox, SPDesktop *desktop);
 
28
 
 
29
GtkWidget *sp_commands_toolbox_new ();
 
30
void sp_commands_toolbox_set_desktop(GtkWidget *toolbox, SPDesktop *desktop);
 
31
 
 
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);
 
36
 
 
37
void show_aux_toolbox(GtkWidget *toolbox);
 
38
 
 
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);
 
44
 
 
45
void aux_toolbox_space(GtkWidget *tb, gint space);
 
46
 
 
47
// utility
 
48
void sp_toolbox_add_label(GtkWidget *tbl, gchar const *title, bool wide = true);
 
49
 
 
50
Inkscape::IconSize prefToSize(Glib::ustring const &path, int base = 0 );
 
51
 
 
52
#endif /* !SEEN_TOOLBOX_H */
 
53
 
 
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 :