Cairo buttons can now be themed
commitad315c27183b998eb7f822b3dc14b5de5e826ae8
authorJohann Haarhoff <johann@haarhoff.org.za>
Wed, 14 Apr 2010 22:10:12 +0000 (15 00:10 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 15 Apr 2010 20:17:49 +0000 (15 22:17 +0200)
treec7e77f7f3f3c834a1ac5e864a74bfe192dc26e78
parent1f471c67022d491705367024d2e3fc58b0aa73c5
Cairo buttons can now be themed

paintButton now stamps the surface created in wtheme.c onto buttons.
Themes are selectable by #defining NEW_LOOK, or OLD_LOOK, but this
has to be built into configure somehow.
14 files changed:
WINGs/Makefile.am
WINGs/TODO
WINGs/WINGs/WINGs.h
WINGs/WINGs/WINGsP.h
WINGs/WINGs/wtheme.h [new file with mode: 0644]
WINGs/newtheme.c [new file with mode: 0644]
WINGs/oldtheme.c [new file with mode: 0644]
WINGs/wbutton.c
WINGs/wcolor.c
WINGs/wfont.c
WINGs/wmisc.c
WINGs/wtheme.c [new file with mode: 0644]
WINGs/wview.c
test/cairo/draw.c