]>
Commit | Line | Data |
---|---|---|
ffecfa5a JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/palmos/colordlg.h | |
3 | // Purpose: wxColourDialog class | |
e1d63b79 WS |
4 | // Author: William Osborne - minimal working wxPalmOS port |
5 | // Modified by: Wlodzimierz ABX Skiba - real native implementation | |
ffecfa5a | 6 | // Created: 10/13/04 |
e1d63b79 WS |
7 | // RCS-ID: $Id$ |
8 | // Copyright: (c) William Osborne, Wlodzimierz Skiba | |
ffecfa5a JS |
9 | // Licence: wxWindows licence |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifndef _WX_COLORDLG_H_ | |
13 | #define _WX_COLORDLG_H_ | |
14 | ||
ffecfa5a JS |
15 | #include "wx/setup.h" |
16 | #include "wx/dialog.h" | |
17 | #include "wx/cmndata.h" | |
18 | ||
19 | // ---------------------------------------------------------------------------- | |
20 | // wxColourDialog: dialog for choosing a colours | |
21 | // ---------------------------------------------------------------------------- | |
22 | ||
23 | class WXDLLEXPORT wxColourDialog : public wxDialog | |
24 | { | |
25 | public: | |
26 | wxColourDialog(); | |
27 | wxColourDialog(wxWindow *parent, wxColourData *data = NULL); | |
28 | ||
29 | bool Create(wxWindow *parent, wxColourData *data = NULL); | |
30 | ||
31 | wxColourData& GetColourData() { return m_colourData; } | |
32 | ||
ffecfa5a JS |
33 | virtual int ShowModal(); |
34 | ||
ffecfa5a | 35 | protected: |
ffecfa5a | 36 | wxColourData m_colourData; |
ffecfa5a JS |
37 | |
38 | DECLARE_DYNAMIC_CLASS_NO_COPY(wxColourDialog) | |
39 | }; | |
40 | ||
41 | #endif | |
42 | // _WX_COLORDLG_H_ |