diff options
author | Alexander Larsson <alexl@redhat.com> | 2014-10-30 19:49:43 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2014-10-30 21:04:29 +0100 |
commit | 37d0159a8497d229852a865ecc92a330dddd311e (patch) | |
tree | a9c125cd77dd1370bc980246e9eb1c9b37db972d /gtk/gtkglarea.h | |
parent | 969b9c65520d388ea9e5c4a9eb42cf928a7debd5 (diff) | |
download | gtk+-37d0159a8497d229852a865ecc92a330dddd311e.tar.gz |
GtkGLArea: Add resize signal
This is very useful, as almost all GL code wants to recalculate
the cameras each time the window size changes.
Diffstat (limited to 'gtk/gtkglarea.h')
-rw-r--r-- | gtk/gtkglarea.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkglarea.h b/gtk/gtkglarea.h index 87fb453c72..f3ad2a1056 100644 --- a/gtk/gtkglarea.h +++ b/gtk/gtkglarea.h @@ -68,6 +68,9 @@ struct _GtkGLAreaClass /*< public >*/ gboolean (* render) (GtkGLArea *area, GdkGLContext *context); + void (* resize) (GtkGLArea *area, + int width, + int height); /*< private >*/ gpointer _padding[6]; |