Back to index

plt-scheme  4.2.1
GlobalData.cc
Go to the documentation of this file.
00001 /*                                                      -*- C++ -*-
00002  *
00003  * Purpose: global data for an application (UNSHARED)
00004  *
00005  * Authors: Markus Holzem and Julian Smart
00006  *
00007  * Copyright: (C) 2004-2009 PLT Scheme Inc.
00008  * Copyright: (C) 1995, AIAI, University of Edinburgh (Julian)
00009  * Copyright: (C) 1995, GNU (Markus)
00010  *
00011  * This program is free software; you can redistribute it and/or modify
00012  * it under the terms of the GNU General Public License as published by
00013  * the Free Software Foundation; either version 2 of the License, or
00014  * (at your option) any later version.
00015  *
00016  * This program is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU General Public License
00022  * along with this program; if not, write to the Free Software
00023  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00024  * 02110-1301 USA.
00025  */
00026 
00027 #ifdef __GNUG__
00028 #pragma implementation "GlobalData.h"
00029 #endif
00030 
00031 #define  Uses_XtIntrinsic
00032 #define  Uses_wxList
00033 #define  Uses_wxTypeTree
00034 #include "wx.h"
00035 
00036 //-- Application data wxWindows -----------------------------------------------
00037 
00038 class wxApp;
00039 wxApp* wxTheApp = 0;
00040 
00041 char*  wxAPP_CLASS = 0;
00042 char*  wxAPP_NAME = 0;
00043 Bool   wxAPP_DEBUGOUTPUT = FALSE;
00044 
00045 wxColourMap* wxAPP_COLOURMAP = 0;
00046 
00047 //-- Application data wxWindows (Xt) ------------------------------------------
00048 
00049 XtAppContext wxAPP_CONTEXT;
00050 
00051 //-- Application data wxWindows (XLib) ----------------------------------------
00052 
00053 Display* wxAPP_DISPLAY = 0;
00054 Screen*        wxAPP_SCREEN = 0;
00055 Window   wxAPP_ROOT = 0;
00056 
00057 //-- GDI collections ----------------------------------------------------------
00058 
00059 wxColourDatabase* wxTheColourDatabase = 0;
00060 wxPenList*        wxThePenList = 0;
00061 wxBrushList*    wxTheBrushList = 0;
00062 wxFontList*     wxTheFontList = 0;
00063 
00064 //-- misc ---------------------------------------------------------------------
00065 
00066 char* wxBuffer = 0;
00067 
00068 //-- Printing -----------------------------------------------------------------
00069 
00070 wxPrintPaperDatabase* wxThePrintPaperDatabase = 0;
00071 wxPrintSetupData*     wxThePrintSetupData = 0;
00072 
00073 //-- Resources ----------------------------------------------------------------
00074 
00075 XrmDatabase wxResourceDatabase;
00076 wxList *wxResourceCache;
00077 
00078 //-- simple language support---------------------------------------------------
00079 
00080 char **wx_msg_str = NULL;
00081 
00082 //-- stock objects ------------------------------------------------------------
00083 
00084 wxBrush* wxBLUE_BRUSH = 0;
00085 wxBrush* wxGREEN_BRUSH = 0;
00086 wxBrush* wxWHITE_BRUSH = 0;
00087 wxBrush* wxBLACK_BRUSH = 0;
00088 wxBrush* wxGREY_BRUSH = 0;
00089 wxBrush* wxMEDIUM_GREY_BRUSH = 0;
00090 wxBrush* wxLIGHT_GREY_BRUSH = 0;
00091 wxBrush* wxTRANSPARENT_BRUSH = 0;
00092 wxBrush* wxCYAN_BRUSH = 0;
00093 wxBrush* wxRED_BRUSH = 0;
00094 
00095 wxColour* wxBLACK = 0;
00096 wxColour* wxWHITE = 0;
00097 wxColour* wxGREY = 0;
00098 wxColour* wxBUTTON_COLOR = 0;
00099 wxColour* wxRED = 0;
00100 wxColour* wxBLUE = 0;
00101 wxColour* wxGREEN = 0;
00102 wxColour* wxCYAN = 0;
00103 wxColour* wxLIGHT_GREY = 0;
00104 wxColour* wxCTL_HILITE = 0;
00105 
00106 wxCursor* wxSTANDARD_CURSOR = 0;
00107 wxCursor* wxHOURGLASS_CURSOR = 0;
00108 wxCursor* wxCROSS_CURSOR = 0;
00109 wxCursor* wxIBEAM_CURSOR = 0;
00110 wxCursor* wxBLANK_CURSOR = 0;
00111 
00112 wxFont* wxNORMAL_FONT = 0;
00113 wxFont* wxSMALL_FONT = 0;
00114 wxFont* wxITALIC_FONT = 0;
00115 wxFont* wxSWISS_FONT = 0;
00116 wxFont* wxSYSTEM_FONT = 0;
00117 
00118 wxPen* wxRED_PEN = 0;
00119 wxPen* wxCYAN_PEN = 0;
00120 wxPen* wxGREEN_PEN = 0;
00121 wxPen* wxBLACK_PEN = 0;
00122 wxPen* wxWHITE_PEN = 0;
00123 wxPen* wxTRANSPARENT_PEN = 0;
00124 wxPen* wxBLACK_DASHED_PEN = 0;
00125 wxPen* wxGREY_PEN = 0;
00126 wxPen* wxMEDIUM_GREY_PEN = 0;
00127 wxPen* wxLIGHT_GREY_PEN = 0;
00128 
00129 unsigned long wxWHITE_PIXEL;
00130 unsigned long wxBLACK_PIXEL;
00131 unsigned long wxGREY_PIXEL;
00132 unsigned long wxBUTTON_PIXEL;
00133 unsigned long wxDARK_GREY_PIXEL;
00134 unsigned long wxCTL_HIGHLIGHT_PIXEL;
00135 
00136 //-- Types --------------------------------------------------------------------
00137 
00138 wxTypeTree *wxAllTypes;