2002-03-26 16:54:23 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/unix/utilsx11.h
|
|
|
|
// Purpose: Miscellaneous X11 functions
|
2003-01-04 18:34:34 -05:00
|
|
|
// Author: Mattia Barbon, Vaclav Slavik
|
2002-03-26 16:54:23 -05:00
|
|
|
// Modified by:
|
|
|
|
// Created: 25.03.02
|
|
|
|
// RCS-ID: $Id$
|
2004-05-23 10:56:36 -04:00
|
|
|
// Copyright: (c) wxWidgets team
|
2004-05-23 16:53:33 -04:00
|
|
|
// Licence: wxWindows licence
|
2002-03-26 16:54:23 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_UNIX_UTILSX11_H_
|
|
|
|
#define _WX_UNIX_UTILSX11_H_
|
|
|
|
|
|
|
|
#include "wx/defs.h"
|
2003-01-04 18:34:34 -05:00
|
|
|
#include "wx/gdicmn.h"
|
|
|
|
|
2004-05-23 10:56:36 -04:00
|
|
|
// NB: Content of this header is for wxWidgets' private use! It is not
|
2003-01-04 18:34:34 -05:00
|
|
|
// part of public API and may be modified or even disappear in the future!
|
2002-03-26 16:54:23 -05:00
|
|
|
|
|
|
|
#if defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXX11__)
|
|
|
|
|
|
|
|
#if defined(__WXGTK__)
|
|
|
|
typedef void WXDisplay;
|
|
|
|
typedef void* WXWindow;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class wxIconBundle;
|
|
|
|
|
|
|
|
void wxSetIconsX11( WXDisplay* display, WXWindow window,
|
|
|
|
const wxIconBundle& ib );
|
|
|
|
|
2003-01-04 18:34:34 -05:00
|
|
|
|
|
|
|
enum wxX11FullScreenMethod
|
|
|
|
{
|
|
|
|
wxX11_FS_AUTODETECT = 0,
|
|
|
|
wxX11_FS_WMSPEC,
|
|
|
|
wxX11_FS_KDE,
|
|
|
|
wxX11_FS_GENERIC
|
|
|
|
};
|
|
|
|
|
|
|
|
wxX11FullScreenMethod wxGetFullScreenMethodX11(WXDisplay* display,
|
|
|
|
WXWindow rootWindow);
|
|
|
|
|
|
|
|
void wxSetFullScreenStateX11(WXDisplay* display, WXWindow rootWindow,
|
|
|
|
WXWindow window, bool show, wxRect *origSize,
|
|
|
|
wxX11FullScreenMethod method);
|
|
|
|
|
2002-03-26 16:54:23 -05:00
|
|
|
#endif
|
|
|
|
// __WXMOTIF__, __WXGTK__, __WXX11__
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// _WX_UNIX_UTILSX11_H_
|