diff options
author | Fabian Greffrath | 2014-03-17 17:31:59 +0100 |
---|---|---|
committer | Fabian Greffrath | 2014-03-17 17:31:59 +0100 |
commit | dccc76cfd0dda5b6756372451c5738cc129d3e85 (patch) | |
tree | 77728b088bc1a4654d4110343e8855d74ccd4f61 /src/setup | |
parent | 81d5f811e9d3d1c672978790da10c91d3a8d7663 (diff) | |
download | chocolate-doom-dccc76cfd0dda5b6756372451c5738cc129d3e85.tar.gz chocolate-doom-dccc76cfd0dda5b6756372451c5738cc129d3e85.tar.bz2 chocolate-doom-dccc76cfd0dda5b6756372451c5738cc129d3e85.zip |
Add PNG screenshots to advanced video options menu.
Diffstat (limited to 'src/setup')
-rw-r--r-- | src/setup/display.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/setup/display.c b/src/setup/display.c index 99c3d8aa..1c0f8ef4 100644 --- a/src/setup/display.c +++ b/src/setup/display.c @@ -32,6 +32,7 @@ #include "mode.h" #include "display.h" +#include "config.h" extern void RestartTextscreen(void); @@ -562,6 +563,12 @@ static void AdvancedDisplayConfig(TXT_UNCAST_ARG(widget), &show_endoom)); } +#ifdef HAVE_LIBPNG + TXT_AddWidget(window, + TXT_NewCheckBox("Save screenshots in PNG format", + &png_screenshots)); +#endif + TXT_SignalConnect(ar_checkbox, "changed", GenerateModesTable, modes_table); } |