diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-12-20 19:16:46 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-12-20 19:16:46 -0500 |
commit | 10d0ca0a3d5536a5c9926998e54775a8b0fd8b2c (patch) | |
tree | 4303abd26e9f1caef8abeee308bd64755805582e /gtk/gtkmagnifierprivate.h | |
parent | 42a6ae6c6c54ddf2f1c0836ed2e67180c0617c0a (diff) | |
download | gtk+-10d0ca0a3d5536a5c9926998e54775a8b0fd8b2c.tar.gz |
GtkMagnifier: Add a resizing mode
In addition to the fixed-size mode that is used by the text view,
add a mode in which the magnifier requests enough size to render
the entire inspected widget at the current magnification. In this
mode, the magnifier will update its size when the size of the
inspected widget changes. Also, make the magnifier redraw on its
own whenever the inspected widget draws.
Diffstat (limited to 'gtk/gtkmagnifierprivate.h')
-rw-r--r-- | gtk/gtkmagnifierprivate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkmagnifierprivate.h b/gtk/gtkmagnifierprivate.h index 5e916900dd..84b79e1c44 100644 --- a/gtk/gtkmagnifierprivate.h +++ b/gtk/gtkmagnifierprivate.h @@ -59,6 +59,10 @@ void _gtk_magnifier_set_magnification (GtkMagnifier *magnifier, gdouble magnification); gdouble _gtk_magnifier_get_magnification (GtkMagnifier *magnifier); +void _gtk_magnifier_set_resize (GtkMagnifier *magnifier, + gboolean resize); +gboolean _gtk_magnifier_get_resize (GtkMagnifier *magnifier); + G_END_DECLS #endif /* __GTK_MAGNIFIER_H__ */ |