GtkMagnifier: Add a resizing mode

Desktop / GNOME / GTK - Matthias Clasen [redhat.com] - 20 December 2014 18:16 UTC

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.

10d0ca0 GtkMagnifier: Add a resizing mode
gtk/gtkmagnifier.c | 194 ++++++++++++++++++++++++++++++++++++++++++++-
gtk/gtkmagnifierprivate.h | 4 +
2 files changed, 197 insertions(+), 1 deletion(-)

Upstream: git.gnome.org


  • Share