]>
Commit | Line | Data |
---|---|---|
f618020a MB |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/unix/utilsx11.h | |
3 | // Purpose: Miscellaneous X11 functions | |
8166ab43 | 4 | // Author: Mattia Barbon, Vaclav Slavik |
f618020a MB |
5 | // Modified by: |
6 | // Created: 25.03.02 | |
7 | // RCS-ID: $Id$ | |
77ffb593 | 8 | // Copyright: (c) wxWidgets team |
65571936 | 9 | // Licence: wxWindows licence |
f618020a MB |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
12 | #ifndef _WX_UNIX_UTILSX11_H_ | |
13 | #define _WX_UNIX_UTILSX11_H_ | |
14 | ||
15 | #include "wx/defs.h" | |
8166ab43 VS |
16 | #include "wx/gdicmn.h" |
17 | ||
77ffb593 | 18 | // NB: Content of this header is for wxWidgets' private use! It is not |
8166ab43 | 19 | // part of public API and may be modified or even disappear in the future! |
f618020a MB |
20 | |
21 | #if defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXX11__) | |
22 | ||
23 | #if defined(__WXGTK__) | |
24 | typedef void WXDisplay; | |
25 | typedef void* WXWindow; | |
26 | #endif | |
27 | ||
28 | class wxIconBundle; | |
29 | ||
30 | void wxSetIconsX11( WXDisplay* display, WXWindow window, | |
31 | const wxIconBundle& ib ); | |
32 | ||
8166ab43 VS |
33 | |
34 | enum wxX11FullScreenMethod | |
35 | { | |
36 | wxX11_FS_AUTODETECT = 0, | |
37 | wxX11_FS_WMSPEC, | |
38 | wxX11_FS_KDE, | |
39 | wxX11_FS_GENERIC | |
40 | }; | |
41 | ||
42 | wxX11FullScreenMethod wxGetFullScreenMethodX11(WXDisplay* display, | |
43 | WXWindow rootWindow); | |
44 | ||
45 | void wxSetFullScreenStateX11(WXDisplay* display, WXWindow rootWindow, | |
46 | WXWindow window, bool show, wxRect *origSize, | |
47 | wxX11FullScreenMethod method); | |
48 | ||
f618020a MB |
49 | #endif |
50 | // __WXMOTIF__, __WXGTK__, __WXX11__ | |
51 | ||
52 | #endif | |
53 | // _WX_UNIX_UTILSX11_H_ |