gtk: Add back infrastructure for GTK_DEBUG=updates

Desktop / GNOME / GTK - Benjamin Otte [redhat.com] - 26 October 2016 22:07 UTC

Includes the ability to turn on updates in the inspector. Animations are now run via a tick function which allows us to neatly overlay a semi-transparent red rectangle and fade it out over time.

It also probably enables way more, but somebody with more UI neatness than me needs to figure out what it eanbles first...

48f5df5 gtk: Add back infrastructure for GTK_DEBUG=updates
gtk/Makefile.am | 2 +
gtk/gtkdebugupdates.c | 318 ++++++++++++++++++++++++++++++++++++++++++
gtk/gtkdebugupdatesprivate.h | 40 ++++++
gtk/gtkmain.c | 4 +
gtk/gtkwindow.c | 12 +-
gtk/inspector/visual.c | 9 +-
6 files changed, 379 insertions(+), 6 deletions(-)

Upstream: git.gnome.org


  • Share