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

« back to all changes in this revision

Viewing changes to src/ink-action.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Kees Cook, Ted Gould
  • Date: 2008-02-10 14:20:16 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080210142016-vcnb2zqyhszu0xvb
Tags: 0.46~pre1-0ubuntu1
[ Kees Cook ]
* debian/control:
  - add libgtkspell-dev build-dep to gain GtkSpell features (LP: #183547).
  - update Standards version (no changes needed).
  - add Vcs and Homepage fields.
  - switch to new python-lxml dep.
* debian/{control,rules}: switch from dpatch to quilt for more sanity.
* debian/patches/20_fix_glib_and_gxx43_ftbfs.patch:
  - merged against upstream fixes.
  - added additional fixes for newly written code.
* debian/rules: enable parallel building.

[ Ted Gould ]
* Updating POTFILES.in to make it so things build correctly.
* debian/control:
  - add ImageMagick++ and libboost-dev to build-deps

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#include <glib.h>
6
6
#include <gtk/gtkaction.h>
7
7
#include <gtk/gtktoggleaction.h>
 
8
#include <gtk/gtkradioaction.h>
8
9
#include <glib-object.h>
9
10
 
 
11
/* Equivalent to GTK Actions of the same type, but can support Inkscape SVG icons */
 
12
 
10
13
G_BEGIN_DECLS
11
14
 
12
15
#define INK_ACTION_TYPE                ( ink_action_get_type() )
71
74
GType ink_toggle_action_get_type( void );
72
75
 
73
76
InkToggleAction* ink_toggle_action_new( const gchar *name,
74
 
                                        const gchar *label,
75
 
                                        const gchar *tooltip,
76
 
                                        const gchar *inkId,
77
 
                                        Inkscape::IconSize size );
 
77
                                        const gchar *label,
 
78
                                        const gchar *tooltip,
 
79
                                        const gchar *inkId,
 
80
                                        Inkscape::IconSize size );
 
81
 
 
82
 
 
83
/* --------------------------------------------------------------- */
 
84
/* --------------------------------------------------------------- */
 
85
/* --------------------------------------------------------------- */
 
86
/* --------------------------------------------------------------- */
 
87
 
 
88
 
 
89
#define INK_RADIO_ACTION_TYPE                ( ink_radio_action_get_type() )
 
90
#define INK_RADIO_ACTION( obj )              ( G_TYPE_CHECK_INSTANCE_CAST( (obj), INK_RADIO_ACTION_TYPE, InkRadioAction) )
 
91
#define INK_RADIO_ACTION_CLASS( klass )      ( G_TYPE_CHECK_CLASS_CAST( (klass), INK_RADIO_ACTION_TYPE, InkRadioActionClass) )
 
92
#define IS_INK_RADIO_ACTION( obj )           ( G_TYPE_CHECK_INSTANCE_TYPE( (obj), INK_RADIO_ACTION_TYPE) )
 
93
#define IS_INK_RADIO_ACTION_CLASS( klass )   ( G_TYPE_CHECK_CLASS_TYPE( (klass), INK_RADIO_ACTION_TYPE) )
 
94
#define INK_RADIO_ACTION_GET_CLASS( obj )    ( G_TYPE_INSTANCE_GET_CLASS( (obj), INK_RADIO_ACTION_TYPE, InkRadioActionClass) )
 
95
 
 
96
typedef struct _InkRadioAction      InkRadioAction;
 
97
typedef struct _InkRadioActionClass InkRadioActionClass;
 
98
typedef struct _InkRadioActionPrivate InkRadioActionPrivate;
 
99
 
 
100
struct _InkRadioAction
 
101
{
 
102
    GtkRadioAction action;
 
103
    InkRadioActionPrivate *private_data;
 
104
};
 
105
 
 
106
struct _InkRadioActionClass
 
107
{
 
108
    GtkRadioActionClass parent_class;
 
109
};
 
110
 
 
111
GType ink_radio_action_get_type( void );
 
112
 
 
113
InkRadioAction* ink_radio_action_new( const gchar *name,
 
114
                                      const gchar *label,
 
115
                                      const gchar *tooltip,
 
116
                                      const gchar *inkId,
 
117
                                      Inkscape::IconSize size );
78
118
 
79
119
 
80
120
 
81
121
G_END_DECLS
82
122
 
83
123
#endif /* SEEN_INK_ACTION */
84
 
 
85