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