]> git.saurik.com Git - wxWidgets.git/blob - src/motif/data.cpp
better <HR> tag handling in wxHTML
[wxWidgets.git] / src / motif / data.cpp
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
21 // Useful buffer, initialized in CommonInit
22 char *wxBuffer = NULL;
23
24 // Windows List
25 wxWindowList wxTopLevelWindows;
26
27 // List of windows pending deletion
28 wxList wxPendingDelete;
29
30 int wxPageNumber;
31
32 // GDI Object Lists
33 wxBrushList *wxTheBrushList = NULL;
34 wxPenList *wxThePenList = NULL;
35 wxFontList *wxTheFontList = NULL;
36 wxBitmapList *wxTheBitmapList = NULL;
37
38 wxColourDatabase *wxTheColourDatabase = NULL;
39
40 // Stock objects
41 wxFont *wxNORMAL_FONT;
42 wxFont *wxSMALL_FONT;
43 wxFont *wxITALIC_FONT;
44 wxFont *wxSWISS_FONT;
45 wxPen *wxRED_PEN;
46
47 wxPen *wxCYAN_PEN;
48 wxPen *wxGREEN_PEN;
49 wxPen *wxBLACK_PEN;
50 wxPen *wxWHITE_PEN;
51 wxPen *wxTRANSPARENT_PEN;
52 wxPen *wxBLACK_DASHED_PEN;
53 wxPen *wxGREY_PEN;
54 wxPen *wxMEDIUM_GREY_PEN;
55 wxPen *wxLIGHT_GREY_PEN;
56
57 wxBrush *wxBLUE_BRUSH;
58 wxBrush *wxGREEN_BRUSH;
59 wxBrush *wxWHITE_BRUSH;
60 wxBrush *wxBLACK_BRUSH;
61 wxBrush *wxTRANSPARENT_BRUSH;
62 wxBrush *wxCYAN_BRUSH;
63 wxBrush *wxRED_BRUSH;
64 wxBrush *wxGREY_BRUSH;
65 wxBrush *wxMEDIUM_GREY_BRUSH;
66 wxBrush *wxLIGHT_GREY_BRUSH;
67
68 wxColour *wxBLACK;
69 wxColour *wxWHITE;
70 wxColour *wxRED;
71 wxColour *wxBLUE;
72 wxColour *wxGREEN;
73 wxColour *wxCYAN;
74 wxColour *wxLIGHT_GREY;
75
76 wxCursor *wxSTANDARD_CURSOR = NULL;
77 wxCursor *wxHOURGLASS_CURSOR = NULL;
78 wxCursor *wxCROSS_CURSOR = NULL;
79
80 // 'Null' objects
81 wxAcceleratorTable wxNullAcceleratorTable;
82 wxBitmap wxNullBitmap;
83 wxIcon wxNullIcon;
84 wxCursor wxNullCursor;
85 wxPen wxNullPen;
86 wxBrush wxNullBrush;
87 wxPalette wxNullPalette;
88 wxFont wxNullFont;
89 wxColour wxNullColour;
90
91 // Default window names
92 const char *wxButtonNameStr = "button";
93 const char *wxCanvasNameStr = "canvas";
94 const char *wxCheckBoxNameStr = "check";
95 const char *wxChoiceNameStr = "choice";
96 const char *wxComboBoxNameStr = "comboBox";
97 const char *wxDialogNameStr = "dialog";
98 const char *wxFrameNameStr = "frame";
99 const char *wxGaugeNameStr = "gauge";
100 const char *wxStaticBoxNameStr = "groupBox";
101 const char *wxListBoxNameStr = "listBox";
102 const char *wxStaticTextNameStr = "message";
103 const char *wxStaticBitmapNameStr = "message";
104 const char *wxMultiTextNameStr = "multitext";
105 const char *wxPanelNameStr = "panel";
106 const char *wxRadioBoxNameStr = "radioBox";
107 const char *wxRadioButtonNameStr = "radioButton";
108 const char *wxBitmapRadioButtonNameStr = "radioButton";
109 const char *wxScrollBarNameStr = "scrollBar";
110 const char *wxSliderNameStr = "slider";
111 const char *wxStaticNameStr = "static";
112 const char *wxTextCtrlWindowNameStr = "textWindow";
113 const char *wxTextCtrlNameStr = "text";
114 const char *wxVirtListBoxNameStr = "virtListBox";
115 const char *wxButtonBarNameStr = "buttonbar";
116 const char *wxEnhDialogNameStr = "Shell";
117 const char *wxToolBarNameStr = "toolbar";
118 const char *wxStatusLineNameStr = "status_line";
119 #if 0 // this is defined in string.cpp
120 const char *wxEmptyString = "";
121 #endif
122 const char *wxGetTextFromUserPromptStr = "Input Text";
123 const char *wxMessageBoxCaptionStr = "Message";
124 const char *wxFileSelectorPromptStr = "Select a file";
125 const char *wxFileSelectorDefaultWildcardStr = "*.*";
126 const char *wxInternalErrorStr = "wxWindows Internal Error";
127 const char *wxFatalErrorStr = "wxWindows Fatal Error";
128 const char *wxDirDialogNameStr = "wxDirCtrl";
129 const char *wxDirDialogDefaultFolderStr = "/";
130 const wxChar *wxTreeCtrlNameStr = wxT("wxTreeCtrl");
131
132 // See wx/utils.h
133 const char *wxFloatToStringStr = "%.2f";
134 const char *wxDoubleToStringStr = "%.2f";
135
136
137 const wxSize wxDefaultSize(-1, -1);
138 const wxPoint wxDefaultPosition(-1, -1);