pspp-widget-facade: New code to measure and render some GTK+ widgets.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 24 Apr 2012 05:43:13 +0000 (22:43 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 25 Apr 2012 05:41:41 +0000 (22:41 -0700)
commitf9035ac5308961fa6957894b5660bdb3adad60d0
tree100d4d6e758bc8a868059a8f0a71a0a4bdd4659a
parenta0a6abd7f428676f2c5dfa43bebc7d980d687fbb
pspp-widget-facade: New code to measure and render some GTK+ widgets.

There are two upcoming uses for this in the tree, both related to
rendering fake buttons.  First, creating, maintaining, and rendering
the column header buttons in a PsppSheetView is a huge cost when
there are hundreds or thousands of columns.  Using this facade code
to "fake" buttons makes the sheet much faster.  Second, this code
will be used to implement a cell renderer for GtkButton, so that
buttons can be put into PsppSheetView rows.
src/ui/gui/automake.mk
src/ui/gui/pspp-widget-facade.c [new file with mode: 0644]
src/ui/gui/pspp-widget-facade.h [new file with mode: 0644]