]>
Commit | Line | Data |
---|---|---|
2bda0e17 KB |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: colordlg.h | |
3 | // Purpose: wxColourDialog class | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 01/02/97 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Julian Smart and Markus Holzem | |
9 | // Licence: wxWindows license | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef __COLORDLGH__ | |
13 | #define __COLORDLGH__ | |
14 | ||
15 | #ifdef __GNUG__ | |
16 | #pragma interface "colordlg.h" | |
17 | #endif | |
18 | ||
19 | #include "wx/setup.h" | |
20 | #include "wx/dialog.h" | |
21 | #include "wx/cmndata.h" | |
22 | ||
23 | /* | |
24 | * COLOUR DIALOG | |
25 | */ | |
26 | ||
27 | class WXDLLEXPORT wxColourDialog: public wxDialog | |
28 | { | |
29 | DECLARE_DYNAMIC_CLASS(wxColourDialog) | |
30 | protected: | |
31 | wxColourData colourData; | |
32 | wxWindow *dialogParent; | |
33 | public: | |
34 | wxColourDialog(void); | |
35 | wxColourDialog(wxWindow *parent, wxColourData *data = NULL); | |
36 | ||
37 | bool Create(wxWindow *parent, wxColourData *data = NULL); | |
38 | ||
39 | int ShowModal(void); | |
40 | wxColourData& GetColourData(void) { return colourData; } | |
41 | }; | |
42 | ||
43 | #endif | |
44 | // __COLORDLGH__ |