+// ----------------------------------------------------------------------------
+// support for framebuffer ports
+// ----------------------------------------------------------------------------
+
+#if wxUSE_GUI
+// VS: Fullscreen/framebuffer application needs to choose display mode prior
+// to wxWindows initialization. This class holds information about display
+// mode. It is used by wxApp::Set/GetDisplayMode.
+class WXDLLEXPORT wxDisplayModeInfo
+{
+public:
+ wxDisplayModeInfo() : m_ok(FALSE) {}
+ wxDisplayModeInfo(const wxSize& size, unsigned depth)
+ : m_size(size), m_depth(depth), m_ok(TRUE) {}
+
+ const wxSize& GetScreenSize() const { return m_size; }
+ unsigned GetDepth() const { return m_depth; }
+ bool IsOk() const { return m_ok; }
+
+private:
+ wxSize m_size;
+ unsigned m_depth;
+ bool m_ok;
+};
+#endif
+