config.h File Reference

Defines global compile time configuration constants. More...

Go to the source code of this file.

Defines

#define VERSION_STRING   "1.00, compiled: " __DATE__ " " __TIME__
 Version identification string.
#define CONFIG_USE_QTGUI   1
 Use the QtGui/QtGui include files.
#define CONFIG_SHADER_DIRECTORY   "shaders/"
 Where to look for shader source files.
#define CONFIG_MODEL_DIRECTORY   "models/"
 Where to look for .OBJ model files.
#define CONFIG_TEXTURE_DIRECTORY   "textures/"
#define CONFIG_EDITOR_FONT_NAME   "Courier"
 Editor font.
#define CONFIG_TAB_SIZE   4
 One tab quals that many spaces.
#define CONFIG_REFRESH_INTERVAL   10
 100 fps, periodic screen refesh in ms
#define CONFIG_MAX_USED_TMUS   4
 number of texture mapping units accessable by CTextureWidget
#define CONFIG_ENABLE_GEOMETRY_SHADER
 Commet this out to disable geometry shader support.
#define CONFIG_EDITOR_FONT_SIZE   12
 Font size for the editor.
#define CONFIG_STRING_APPLICATION_TITLE   "Shader Maker"
 Window title string.
#define CONFIG_STRING_FILE_UNTITLED   "untitled"
 Default new file name.
#define CONFIG_STRING_ERRORDLG_TITLE   "... always bad news ..."
 Error message titles.
#define CONFIG_STRING_SHOULD_SAVE_FILE_TITLE   "Save Changes"
 Message box title.
#define CONFIG_STRING_SHOULD_SAVE_FILE   "The %1 '%2' has been modified.\nSave changes?"
 Message box question.
#define CONFIG_STRING_ABOUT_BOX_TEXT
 This text is displayed in the 'about' dialog.


Detailed Description

Defines global compile time configuration constants.


Define Documentation

#define CONFIG_EDITOR_FONT_SIZE   12

Font size for the editor.

10 is hard to read on linux.

#define CONFIG_STRING_ABOUT_BOX_TEXT

Value:

"Shader Maker, a cross-platform GLSL editor.\n" \
    "Copyright (C) 2007-2008 Markus Kramer.\n" \
    "\n" \
    "This Software comes with ABSOLUTELY NO WARRANTY; for details see the file COPYING.\n" \
    "This is free software, and you are welcome to redistribute it " \
    "under certain conditions; see the file COPYING for details.\n" \
    "\n" \
    "This software uses the Qt 4 toolkit (http://www.trolltech.com/qt/)\n" \
    "and the GLee library (http://elf-stone.com/glee.php)\n" \
    "\n" \
    "This software can be downloaded at\n" \
    "http://cg.in.tu-clausthal.de/research/glsl_editor/index.shtml\n" \
    "\n" \
    "Version: " VERSION_STRING "\n"
This text is displayed in the 'about' dialog.

#define CONFIG_USE_QTGUI   1

Use the QtGui/QtGui include files.

If this is zero, the required files must be included manually. Setting this to 1 should work with all Qt versions but significantly slows down compilation time. Setting this to zero will compile faster, but might not work with some Qt versions.


Generated on Sun Mar 2 17:12:31 2008 for Shader Maker by  doxygen 1.5.4