Back to index

plt-scheme  4.2.1
wxSetup.h
Go to the documentation of this file.
00001 /*                                                      -*- C++ -*-
00002  *
00003  * Purpose: Window library configuration file. Note: you may need to edit
00004  *          the main makefile after you have edited this.
00005  *
00006  * Authors: Markus Holzem and Julian Smart
00007  *
00008  * Copyright: (C) 2004-2009 PLT Scheme Inc.
00009  * Copyright: (C) 1995, AIAI, University of Edinburgh (Julian)
00010  * Copyright: (C) 1995, GNU (Markus)
00011  *
00012  * This program is free software; you can redistribute it and/or modify
00013  * it under the terms of the GNU General Public License as published by
00014  * the Free Software Foundation; either version 2 of the License, or
00015  * (at your option) any later version.
00016  *
00017  * This program is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  * GNU General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU General Public License
00023  * along with this program; if not, write to the Free Software
00024  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00025  * 02110-1301 USA.
00026  */
00027 
00028 #ifndef wxSetup_h
00029 #define wxSetup_h
00030 
00031 #ifdef __GNUG__
00032 #pragma interface
00033 #endif
00034 
00035 /*
00036 * Enables debugging: memory tracing, assert, etc.
00037 */
00038 #define DEBUG 0
00039 /*
00040  * Use PostScript device context
00041 */
00042 #define USE_POSTSCRIPT 1
00043 /*
00044  * Use font metric files in GetTextExtent for wxPostScriptDC
00045  */
00046 #define USE_AFM_FOR_POSTSCRIPT 1
00047 /*
00048  * Use Metafile and Metafile device context
00049 */
00050 #define WX_NORMALIZED_PS_FONTS 1
00051 /* MATTHEW
00052  * Use consistent PostScript fonts for AFM and printing (!)
00053 */
00054 #define USE_METAFILE 0
00055 /*
00056  * Use Form panel item placement
00057 */
00058 #define USE_FORM 0
00059 /*
00060  * Use Interprocess communication
00061  * Use wxWindows help facility (needs IPC)
00062 */
00063 #define USE_IPC 0
00064 #define USE_HELP 0
00065 /*
00066  * Use enhanced dialog
00067 */
00068 #define USE_ENHANCED_DIALOG 0
00069 /*
00070  * Use wxGetResource & wxWriteResource (change .Xdefaults)
00071 */
00072 #define USE_RESOURCES 1
00073 /*
00074  * Use clipboard
00075 */
00076 #define USE_CLIPBOARD 1
00077 /*
00078  * Use splines
00079 */
00080 #define USE_SPLINES 1
00081 /*
00082  * Use toolbar
00083 */
00084 #define USE_TOOLBAR 0
00085 /*
00086  * Use gauge item
00087 */
00088 #define USE_GAUGE 1
00089 /*
00090  * Use static item classes
00091 */
00092 #define USE_EXTENDED_STATICS 0
00093 /*
00094  * Use virtual list box item
00095 */
00096 #define USE_VLBOX 0
00097 /*
00098  * Use scrollbar item
00099 */
00100 #define USE_SCROLLBAR 0
00101 /*
00102  * Support XPM package in wxBitmap and wxIcon.
00103  * XPM_INCLUDE specifies, where to find the include-file for XPM
00104  * If you want to use it, you have to link in the XPM library to your applications.
00105 */
00106 #define USE_XPM 1
00107 #define XPM_INCLUDE "../../contrib/xpm/include/xpm.h"
00108 /*
00109  * Support GIF and BMP reading.
00110 */
00111 #define USE_IMAGE_LOADING_IN_X 1
00112 #define WXIMAGE_INCLUDE "../../utils/image/src/wx_image.h"
00113 /*
00114  * Use wxWindows resource loading (.wxr-files)
00115 */
00116 #define USE_WX_RESOURCES 0
00117 /*
00118  * Use the GNU wxString class instead of the AIAI class
00119 */
00120 #define USE_GNU_WXSTRING 0
00121 /*
00122  * Use the document/view architecture
00123 */
00124 #define USE_DOC_VIEW_ARCHITECTURE 0
00125 /*
00126  * Use the print/preview architecture
00127 */
00128 #define USE_PRINTING_ARCHITECTURE 0
00129 /*
00130  * Disable this if your compiler can't cope
00131  * with omission of prototype parameters.
00132 */
00133 #define REMOVE_UNUSED_ARG 1
00134 /*
00135  * Normalize X drawing code to behave exactly as MSW.
00136 */
00137 #define WX_STANDARD_GRAPHICS 1
00138 /*
00139  * Use wxTree
00140  */
00141 #define USE_WXTREE 0
00142 /*
00143  * Use wxGraph
00144  */
00145 #define USE_WXGRAPH 0
00146 /*
00147  * Use Prolog IO
00148  */
00149 #define USE_PROLOGIO 0
00150 /*
00151  * Use Remote Procedure Call (Uses IPC and PROLOGIO)
00152  */
00153 #define USE_RPC 0
00154 
00155 /* MATTHEW */
00156 #define WXGARBAGE_COLLECTION_ON 1
00157                                  
00158 /*
00159  * Adjustions for Imakefile, allows skipping during compilation
00160  */
00161 #ifdef InImakefile
00162 #if USE_GNU_WXSTRING
00163        WXSTRING=DataStructures/wxstrgnu.o DataStructures/wxregex.o
00164 #else
00165        WXSTRING=DataStructures/wxstring.o
00166 #endif
00167 #if USE_RPC
00168        RPC=PrologIO/prorpc.o
00169 #      undef  USE_IPC
00170 #      define USE_IPC 1
00171 #      undef  USE_PROLOGIO
00172 #      define USE_PROLOGIO 1
00173 #endif
00174 #if USE_PROLOGIO
00175        PROLOGIO=PrologIO/read.o PrologIO/parser.o
00176 #endif
00177 #if USE_POSTSCRIPT
00178        POSTSCRIPTDC=DeviceContexts/PSDC.o
00179        POSTSCRIPTDLG=Dialogs/PSDialog.o
00180 #endif
00181 #if USE_METAFILE
00182        METAFILEDC=DeviceContexts/MetafileDC.o
00183 #endif
00184 #if USE_FORM
00185        FORM=HighLevel/wb_form.o
00186 #endif
00187 #if USE_HELP
00188        HELP=IPC-Classes/Help.o
00189 #      undef  USE_IPC
00190 #      define USE_IPC 1
00191 #endif
00192 #if USE_IPC
00193        IPC=IPC-Classes/Client.o IPC-Classes/IPC.o IPC-Classes/Server.o IPC-Classes/Sock.o
00194 #endif
00195 #if USE_ENHANCED_DIALOG
00196        ENHDIALOGBOX=Windows/EnhDialogBox.o
00197 #endif
00198 #if USE_RESOURCES
00199        XRESOURCES=Utilities/Resources.o
00200 #endif
00201 #if USE_CLIPBOARD
00202        CLIPBOARD=Misc/Clipboard.o
00203 #endif
00204 #if USE_TOOLBAR
00205        TOOLBAR=Windows/ToolBar.o
00206 #endif
00207 #if USE_GAUGE
00208        GAUGE=Windows/Gauge.o
00209 #endif
00210 #if USE_EXTENDED_STATICS
00211        STATICITEMS=Windows/StaticItems.o
00212 #endif
00213 #if USE_VLBOX
00214        VIRTLISTBOX=Windows/VirtListBox.o
00215 #endif
00216 #if USE_SCROLLBAR
00217        SCROLLBAR=Windows/Scrollbar.o
00218 #endif
00219 #if USE_WX_RESOURCES
00220        WXRESOURCES=Windows/Resources.o
00221 #endif
00222 #if USE_DOC_VIEW_ARCHITECTURE
00223        DOCVIEW=HighLevel/DocView.o
00224 #endif
00225 #if USE_PRINTING_ARCHITECTURE
00226        PRINTPREVIEW=HighLevel/PrintPreview.o
00227 #endif
00228 #if USE_WXGRAPH
00229        WXGRAPH=DrawingClasses/wxgraph.o
00230 #endif
00231 #if USE_WXTREE
00232        WXTREE=DrawingClasses/wxtree.o
00233 #endif
00234 
00235 #endif /* InImakefile */
00236 
00237 #endif /* wxSetup_h */