For tiny-gui: add comment in configure option and code...

...about the needed scaling of images during install.
This commit is contained in:
Ali El Gariani 2007-04-04 19:34:13 +00:00
parent d9e477d0ed
commit 93d60a4c14
2 changed files with 2 additions and 1 deletions

View file

@ -87,7 +87,7 @@ AC_ARG_ENABLE([lite],
[lite=no])
AC_ARG_ENABLE([tinygui],
AS_HELP_STRING([--enable-tinygui], [enable GUI reductions for resolutions down to 320x240 (PDAs)]),
AS_HELP_STRING([--enable-tinygui], [enable GUI reductions for resolutions down to 320x240 (PDAs), resize images before installing]),
[tinygui=$enableval],
[tinygui=no])

View file

@ -32,6 +32,7 @@
/// - brightened: images are scaled and brighter than normal.
namespace image {
#ifdef USE_TINY_GUI
// images in tiny-gui will be scaled at install time
const int tile_size = 36;
#else
const int tile_size = 72;