]> git.saurik.com Git - wxWidgets.git/blame - src/x11/data.cpp
redefined TRUE and FALSE to be of type bool
[wxWidgets.git] / src / x11 / data.cpp
CommitLineData
83df96d6
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: data.cpp
3// Purpose: Various data
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13#pragma implementation
14#endif
15
16#include "wx/wx.h"
17#include "wx/dcps.h"
18
19#define _MAXPATHLEN 500
20
83df96d6
JS
21// Windows List
22wxWindowList wxTopLevelWindows;
23
24// List of windows pending deletion
25wxList wxPendingDelete;
26
27int wxPageNumber;
28
29// GDI Object Lists
30wxBrushList *wxTheBrushList = NULL;
31wxPenList *wxThePenList = NULL;
32wxFontList *wxTheFontList = NULL;
33wxBitmapList *wxTheBitmapList = NULL;
34
35wxColourDatabase *wxTheColourDatabase = NULL;
36
37// Stock objects
38wxFont *wxNORMAL_FONT;
39wxFont *wxSMALL_FONT;
40wxFont *wxITALIC_FONT;
41wxFont *wxSWISS_FONT;
42wxPen *wxRED_PEN;
43
44wxPen *wxCYAN_PEN;
45wxPen *wxGREEN_PEN;
46wxPen *wxBLACK_PEN;
47wxPen *wxWHITE_PEN;
48wxPen *wxTRANSPARENT_PEN;
49wxPen *wxBLACK_DASHED_PEN;
50wxPen *wxGREY_PEN;
51wxPen *wxMEDIUM_GREY_PEN;
52wxPen *wxLIGHT_GREY_PEN;
53
54wxBrush *wxBLUE_BRUSH;
55wxBrush *wxGREEN_BRUSH;
56wxBrush *wxWHITE_BRUSH;
57wxBrush *wxBLACK_BRUSH;
58wxBrush *wxTRANSPARENT_BRUSH;
59wxBrush *wxCYAN_BRUSH;
60wxBrush *wxRED_BRUSH;
61wxBrush *wxGREY_BRUSH;
62wxBrush *wxMEDIUM_GREY_BRUSH;
63wxBrush *wxLIGHT_GREY_BRUSH;
64
65wxColour *wxBLACK;
66wxColour *wxWHITE;
67wxColour *wxRED;
68wxColour *wxBLUE;
69wxColour *wxGREEN;
70wxColour *wxCYAN;
71wxColour *wxLIGHT_GREY;
72
73wxCursor *wxSTANDARD_CURSOR = NULL;
74wxCursor *wxHOURGLASS_CURSOR = NULL;
75wxCursor *wxCROSS_CURSOR = NULL;
76
77// 'Null' objects
78wxAcceleratorTable wxNullAcceleratorTable;
79wxBitmap wxNullBitmap;
80wxIcon wxNullIcon;
81wxCursor wxNullCursor;
82wxPen wxNullPen;
83wxBrush wxNullBrush;
84wxPalette wxNullPalette;
85wxFont wxNullFont;
86wxColour wxNullColour;
87
88// Default window names
e88be8c9 89const char *wxControlNameStr = "control";
83df96d6
JS
90const char *wxButtonNameStr = "button";
91const char *wxCanvasNameStr = "canvas";
92const char *wxCheckBoxNameStr = "check";
93const char *wxChoiceNameStr = "choice";
94const char *wxComboBoxNameStr = "comboBox";
95const char *wxDialogNameStr = "dialog";
96const char *wxFrameNameStr = "frame";
97const char *wxGaugeNameStr = "gauge";
98const char *wxStaticBoxNameStr = "groupBox";
99const char *wxListBoxNameStr = "listBox";
100const char *wxStaticTextNameStr = "message";
101const char *wxStaticBitmapNameStr = "message";
102const char *wxMultiTextNameStr = "multitext";
103const char *wxPanelNameStr = "panel";
104const char *wxRadioBoxNameStr = "radioBox";
105const char *wxRadioButtonNameStr = "radioButton";
106const char *wxBitmapRadioButtonNameStr = "radioButton";
107const char *wxScrollBarNameStr = "scrollBar";
108const char *wxSliderNameStr = "slider";
109const char *wxStaticNameStr = "static";
110const char *wxTextCtrlWindowNameStr = "textWindow";
111const char *wxTextCtrlNameStr = "text";
112const char *wxVirtListBoxNameStr = "virtListBox";
113const char *wxButtonBarNameStr = "buttonbar";
114const char *wxEnhDialogNameStr = "Shell";
115const char *wxToolBarNameStr = "toolbar";
116const char *wxStatusLineNameStr = "status_line";
83df96d6
JS
117const char *wxGetTextFromUserPromptStr = "Input Text";
118const char *wxMessageBoxCaptionStr = "Message";
119const char *wxFileSelectorPromptStr = "Select a file";
120const char *wxFileSelectorDefaultWildcardStr = "*.*";
83df96d6
JS
121const char *wxDirDialogNameStr = "wxDirCtrl";
122const char *wxDirDialogDefaultFolderStr = "/";
123const wxChar *wxTreeCtrlNameStr = wxT("wxTreeCtrl");
124
125// See wx/utils.h
126const char *wxFloatToStringStr = "%.2f";
127const char *wxDoubleToStringStr = "%.2f";
128
129
130const wxSize wxDefaultSize(-1, -1);
131const wxPoint wxDefaultPosition(-1, -1);