~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

« back to all changes in this revision

Viewing changes to src/widgets/button.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-07-06 22:03:02 UTC
  • mto: (2.4.1 sid) (1.4.1 upstream) (45.1.3 maverick)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20060706220302-itgso3qgxdaxjmcy
Tags: upstream-0.44
ImportĀ upstreamĀ versionĀ 0.44

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include <gtk/gtktogglebutton.h>
21
21
#include <gtk/gtktooltips.h>
22
22
 
23
 
#include <helper/action.h>
24
 
 
25
 
#include <glib.h>
26
 
 
 
23
#include "helper/action.h"
 
24
#include "icon-size.h"
27
25
 
28
26
 
29
27
typedef enum {
38
36
struct SPButton {
39
37
        GtkToggleButton widget;
40
38
        SPButtonType type;
41
 
        GtkIconSize lsize;
 
39
        Inkscape::IconSize lsize;
42
40
        unsigned int psize;
43
41
        SPAction *action;
44
42
        SPAction *doubleclick_action;
53
51
 
54
52
GType sp_button_get_type (void);
55
53
 
56
 
GtkWidget *sp_button_new (GtkIconSize size, SPButtonType type, SPAction *action, SPAction *doubleclick_action, GtkTooltips *tooltips);
 
54
GtkWidget *sp_button_new (Inkscape::IconSize size, SPButtonType type, SPAction *action, SPAction *doubleclick_action, GtkTooltips *tooltips);
57
55
 
58
56
void sp_button_toggle_set_down (SPButton *button, gboolean down);
59
57
 
60
 
GtkWidget *sp_button_new_from_data (GtkIconSize size,
 
58
GtkWidget *sp_button_new_from_data (Inkscape::IconSize size,
61
59
                                    SPButtonType type,
62
60
                                    Inkscape::UI::View::View *view,
63
61
                                    const gchar *name,