config.h

Go to the documentation of this file.
00001 //=============================================================================
00016 #ifndef __CONFIG_H_INCLUDED__
00017 #define __CONFIG_H_INCLUDED__
00018 
00019 
00020 //=============================================================================
00021 //  version identification
00022 //=============================================================================
00023 
00025 #ifndef _DEBUG
00026 #define VERSION_STRING  "1.00, compiled:  " __DATE__ "  " __TIME__
00027 #else
00028 #define VERSION_STRING  "1.00, debug build, compiled:  " __DATE__ "  " __TIME__
00029 #endif
00030 
00031 
00032 //=============================================================================
00033 //  compatibility
00034 //=============================================================================
00035 
00042 #define CONFIG_USE_QTGUI    1
00043 
00044 
00045 //=============================================================================
00046 //  misc
00047 //=============================================================================
00048 
00049 #define CONFIG_SHADER_DIRECTORY     "shaders/"  
00050 #define CONFIG_MODEL_DIRECTORY      "models/"   
00051 #define CONFIG_TEXTURE_DIRECTORY    "textures/" 
00052 #define CONFIG_EDITOR_FONT_NAME     "Courier"   
00053 #define CONFIG_TAB_SIZE             4           
00054 #define CONFIG_REFRESH_INTERVAL     10          
00055 #define CONFIG_MAX_USED_TMUS        4           
00056 
00057 
00058 #define CONFIG_ENABLE_GEOMETRY_SHADER
00059 
00063 #ifdef WIN32
00064 #define CONFIG_EDITOR_FONT_SIZE     10
00065 #else // linux, mac
00066 #define CONFIG_EDITOR_FONT_SIZE     12
00067 #endif
00068 
00069 
00070 //=============================================================================
00071 //  string constants
00072 //=============================================================================
00073 
00074 #define CONFIG_STRING_APPLICATION_TITLE         "Shader Maker"      
00075 #define CONFIG_STRING_FILE_UNTITLED             "untitled"                  
00076 #define CONFIG_STRING_ERRORDLG_TITLE            "... always bad news ..."   
00077 #define CONFIG_STRING_SHOULD_SAVE_FILE_TITLE    "Save Changes"              
00078 #define CONFIG_STRING_SHOULD_SAVE_FILE          "The %1 '%2' has been modified.\nSave changes?" 
00079 
00080 
00081 #define CONFIG_STRING_ABOUT_BOX_TEXT \
00082     "Shader Maker, a cross-platform GLSL editor.\n" \
00083     "Copyright (C) 2007-2008 Markus Kramer.\n" \
00084     "\n" \
00085     "This Software comes with ABSOLUTELY NO WARRANTY; for details see the file COPYING.\n" \
00086     "This is free software, and you are welcome to redistribute it " \
00087     "under certain conditions; see the file COPYING for details.\n" \
00088     "\n" \
00089     "This software uses the Qt 4 toolkit (http://www.trolltech.com/qt/)\n" \
00090     "and the GLee library (http://elf-stone.com/glee.php)\n" \
00091     "\n" \
00092     "This software can be downloaded at\n" \
00093     "http://cg.in.tu-clausthal.de/research/glsl_editor/index.shtml\n" \
00094     "\n" \
00095     "Version: " VERSION_STRING "\n"
00096 
00097 #endif  // __CONFIG_H_INCLUDED__

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