~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to libgimpwidgets/gimppreview.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
{
67
67
  GtkVBoxClass  parent_class;
68
68
 
69
 
  /* virtuals */
 
69
  /* virtual methods */
70
70
  void   (* draw)        (GimpPreview     *preview);
71
71
  void   (* draw_thumb)  (GimpPreview     *preview,
72
72
                          GimpPreviewArea *area,
78
78
  void   (* set_cursor)  (GimpPreview     *preview);
79
79
 
80
80
  /* signal */
81
 
  void   (* invalidated) (GimpPreview   *preview);
 
81
  void   (* invalidated) (GimpPreview     *preview);
 
82
 
 
83
  /* virtual methods */
 
84
  void   (* transform)   (GimpPreview     *preview,
 
85
                          gint             src_x,
 
86
                          gint             src_y,
 
87
                          gint            *dest_x,
 
88
                          gint            *dest_y);
 
89
  void   (* untransform) (GimpPreview     *preview,
 
90
                          gint             src_x,
 
91
                          gint             src_y,
 
92
                          gint            *dest_x,
 
93
                          gint            *dest_y);
82
94
 
83
95
  /* Padding for future expansion */
84
 
  void (* _gimp_reserved1) (void);
85
 
  void (* _gimp_reserved2) (void);
86
96
  void (* _gimp_reserved3) (void);
87
97
  void (* _gimp_reserved4) (void);
88
98
};
89
99
 
90
100
 
91
 
GType     gimp_preview_get_type           (void) G_GNUC_CONST;
92
 
 
93
 
void      gimp_preview_set_update         (GimpPreview  *preview,
94
 
                                           gboolean      update);
95
 
gboolean  gimp_preview_get_update         (GimpPreview  *preview);
96
 
 
97
 
void      gimp_preview_set_bounds         (GimpPreview  *preview,
98
 
                                           gint          xmin,
99
 
                                           gint          ymin,
100
 
                                           gint          xmax,
101
 
                                           gint          ymax);
102
 
 
103
 
void      gimp_preview_get_position       (GimpPreview  *preview,
104
 
                                           gint         *x,
105
 
                                           gint         *y);
106
 
void      gimp_preview_get_size           (GimpPreview  *preview,
107
 
                                           gint         *width,
108
 
                                           gint         *height);
109
 
 
110
 
void      gimp_preview_draw               (GimpPreview  *preview);
111
 
void      gimp_preview_draw_buffer        (GimpPreview  *preview,
112
 
                                           const guchar *buffer,
113
 
                                           gint          rowstride);
114
 
 
115
 
void      gimp_preview_invalidate         (GimpPreview  *preview);
116
 
 
117
 
void      gimp_preview_set_default_cursor (GimpPreview *preview,
118
 
                                           GdkCursor   *cursor);
 
101
GType       gimp_preview_get_type           (void) G_GNUC_CONST;
 
102
 
 
103
void        gimp_preview_set_update         (GimpPreview  *preview,
 
104
                                             gboolean      update);
 
105
gboolean    gimp_preview_get_update         (GimpPreview  *preview);
 
106
 
 
107
void        gimp_preview_set_bounds         (GimpPreview  *preview,
 
108
                                             gint          xmin,
 
109
                                             gint          ymin,
 
110
                                             gint          xmax,
 
111
                                             gint          ymax);
 
112
 
 
113
void        gimp_preview_get_position       (GimpPreview  *preview,
 
114
                                             gint         *x,
 
115
                                             gint         *y);
 
116
void        gimp_preview_get_size           (GimpPreview  *preview,
 
117
                                             gint         *width,
 
118
                                             gint         *height);
 
119
 
 
120
void        gimp_preview_transform          (GimpPreview *preview,
 
121
                                             gint         src_x,
 
122
                                             gint         src_y,
 
123
                                             gint        *dest_x,
 
124
                                             gint        *dest_y);
 
125
void        gimp_preview_untransform        (GimpPreview *preview,
 
126
                                             gint         src_x,
 
127
                                             gint         src_y,
 
128
                                             gint        *dest_x,
 
129
                                             gint        *dest_y);
 
130
 
 
131
GtkWidget * gimp_preview_get_area           (GimpPreview  *preview);
 
132
 
 
133
void        gimp_preview_draw               (GimpPreview  *preview);
 
134
void        gimp_preview_draw_buffer        (GimpPreview  *preview,
 
135
                                             const guchar *buffer,
 
136
                                             gint          rowstride);
 
137
 
 
138
void        gimp_preview_invalidate         (GimpPreview  *preview);
 
139
 
 
140
void        gimp_preview_set_default_cursor (GimpPreview  *preview,
 
141
                                             GdkCursor    *cursor);
 
142
 
 
143
GtkWidget * gimp_preview_get_controls       (GimpPreview  *preview);
119
144
 
120
145
 
121
146
G_END_DECLS