]> git.saurik.com Git - wxWidgets.git/blob - include/wx/unix/utilsx11.h
add missing header to allow ../src/common/docview.cpp to compile
[wxWidgets.git] / include / wx / unix / utilsx11.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/unix/utilsx11.h
3 // Purpose: Miscellaneous X11 functions
4 // Author: Mattia Barbon, Vaclav Slavik
5 // Modified by:
6 // Created: 25.03.02
7 // RCS-ID: $Id$
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_UNIX_UTILSX11_H_
13 #define _WX_UNIX_UTILSX11_H_
14
15 #include "wx/defs.h"
16 #include "wx/gdicmn.h"
17
18 // NB: Content of this header is for wxWidgets' private use! It is not
19 // part of public API and may be modified or even disappear in the future!
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
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
49 #endif
50 // __WXMOTIF__, __WXGTK__, __WXX11__
51
52 #endif
53 // _WX_UNIX_UTILSX11_H_