]> asedeno.scripts.mit.edu Git - PuTTY.git/commit - unix/gtkask.c
GTK3 port: support the new "draw" signal.
authorSimon Tatham <anakin@pobox.com>
Sun, 16 Aug 2015 13:34:19 +0000 (14:34 +0100)
committerSimon Tatham <anakin@pobox.com>
Sun, 16 Aug 2015 13:50:28 +0000 (14:50 +0100)
commitafae35eb9085d0f0cdb3a1bd9737b120011ee93a
tree4cf9a98556f7f1213e3a0475341df21f8220f95b
parent280b14f129850a5dfb393ad0d16ec6da881cd6ee
GTK3 port: support the new "draw" signal.

This replaces GTK 1/2's "expose_event", and provides a ready-made
cairo_t to do the drawing with. My previous work has already separated
all constructions of a cairo_t from the subsequent drawing with it, so
the new draw event handlers just have to call the latter without the
former.
unix/gtkask.c
unix/gtkfont.c
unix/gtkwin.c