Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

sjgui.h

00001 // $Id: sjgui.h,v 1.1.1.1 2003/06/24 15:33:13 sjcomp Exp $
00002 // Copyright (c) 2003, Alexander Shyrokov aka SJ
00003 // E-mail: sjcomp[@]users.sourceforge.com
00004 // Web:    http://sjgui.sourceforge.net
00005 //
00006 // This code is under BSD license agreement.
00007 //
00008 // Alexander Shyrokov makes no representations about the suitability of this software 
00009 // for any purpose. It is provided "AS IS" without express or implied warranty.
00010 
00011 #if !defined(SJGUI_DEF_H_INCLUDED)
00012 #define SJGUI_DEF_H_INCLUDED
00013 
00014 // this file has everything included
00015 #include "styles.h"
00016 #include "globals.h"
00017 
00018 // see boost\boost\regex\v3\regex_library_include.hpp for a good example of using such structure
00019 
00020 /*
00021 SJGUI_DEBUG_EXT_STR: _d for debug
00022 SJGUI_USE_WIN32_API: _wa for winapi, _gt for glut, empty when no wrappers
00023 */
00024 
00025 #if defined(SJGUI_NO_WRAPPERS)
00026     #define SJGUI_API_EXT_STR ""
00027 #elif defined(SJGUI_USE_WIN32_API)
00028     #define SJGUI_API_EXT_STR "_wa"
00029 #else 
00030     #define SJGUI_API_EXT_STR "_gt"
00031 #endif
00032 
00033 #ifdef _DEBUG
00034     #define SJGUI_DEBUG_EXT_STR "_d"
00035 #else 
00036     #define SJGUI_DEBUG_EXT_STR ""
00037 #endif
00038 
00039 #define SJGUI_LIB_NAME "sjgui"
00040 
00041 #pragma comment(lib,SJGUI_LIB_NAME SJGUI_API_EXT_STR SJGUI_DEBUG_EXT_STR ".lib")
00042 
00043 #undef SJGUI_DEBUG_EXT_STR
00044 #undef SJGUI_API_EXT_STR
00045 #undef SJGUI_LIB_NAME 
00046 
00047 
00048 #endif // !defined(SJGUI_DEF_H_INCLUDED)
sjgui logo
Quick Links:

 News
 Description
 Screen Shots
 Projects
 Downloads
 Source Code
 Help/FAQ
 Want to help?
 Credits
 Disclaimer


Documentation:

 Documentation
 Reference
 Lessons


Useful links:

sjcomp logo
sjcomp

opengl logo

nehe logo

SourceForge.net Logo

Last modified:


Started by Alexander Shyrokov. Generated at Wed Apr 28 12:31:04 2004 for the sjgui by doxygen 1.3.1. SourceForge.net Logo