X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8344916f8ee50bbcc8696e73482e1133b4259ec..6b82ff6f9f060e1f279d4fa56f38ed22e5970a9d:/include/wx/os2/display.h diff --git a/include/wx/os2/display.h b/include/wx/os2/display.h new file mode 100644 index 0000000000..5155905a10 --- /dev/null +++ b/include/wx/os2/display.h @@ -0,0 +1,48 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: displayx11.h +// Purpose: wxDisplay class for Unix/X11 +// Author: Brian Victor +// Modified by: +// Created: 12/05/02 +// RCS-ID: $Id$ +// Copyright: (c) wxWidgets team +// Licence: wxWindows licence +///////////////////////////////////////////////////////////////////////////// + +#ifndef _WX_DISPLAY_H_ +#define _WX_DISPLAY_H_ + +#if wxUSE_DISPLAY + +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) + #pragma interface "display.h" +#endif + +class wxRect; +class wxString; +class wxDisplayUnixPriv; + +class WXDLLEXPORT wxDisplay : public wxDisplayBase +{ + + public: + wxDisplay (size_t index = 0); + ~wxDisplay(); + + virtual wxRect GetGeometry() const; + virtual int GetDepth() const; + virtual wxString GetName() const; + virtual wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const; + virtual wxVideoMode GetCurrentMode() const; + + virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode); + + + private: + DECLARE_NO_COPY_CLASS(wxDisplay) +}; + +#endif // wxUSE_DISPLAY + +#endif // _WX_DISPLAY_H_ +