filename | src/config.h |
changeset | 1144:00dd49743974 |
prev | 1072:d82e04e6d497 |
next | 1296:30ecee61f811 |
author | nkeynes |
date | Wed Feb 15 17:54:51 2012 +1000 (10 years ago) |
permissions | -rw-r--r-- |
last change | Use GL_TEXTURE_2D instead of GL_TEXTURE_RECTANGLE_ARB for frame buffers, for systems that don't provide the latter (and there's not really much difference anyway). Add macro wrangling for GL_DEPTH24_STENCIL8 format |
file | annotate | diff | log | raw |
1.1 --- a/src/config.h Tue Jul 21 20:33:21 2009 +10001.2 +++ b/src/config.h Wed Feb 15 17:54:51 2012 +10001.3 @@ -36,6 +36,7 @@1.4 #define CONFIG_TYPE_KEY 31.5 #define CONFIG_TYPE_FILELIST 41.6 #define CONFIG_TYPE_INTEGER 51.7 +#define CONFIG_TYPE_BOOLEAN 61.9 #define DEFAULT_CONFIG_FILENAME "lxdreamrc"1.11 @@ -97,6 +98,9 @@1.12 void lxdream_copy_config_group( lxdream_config_group_t dest, lxdream_config_group_t src );1.13 void lxdream_clone_config_group( lxdream_config_group_t dest, lxdream_config_group_t src );1.15 +gboolean lxdream_get_config_boolean_value( lxdream_config_group_t group, int key );1.16 +gboolean lxdream_set_config_boolean_value( lxdream_config_group_t group, int key, gboolean value );1.17 +1.18 /**1.19 * Return a fully expanded path value for a key - this performs substitutions1.20 * for ~ and simple shell variables ($VAR and ${VAR})
.