Displaying 1 result from an estimated 1 matches for "getfromwindow".
2006 Dec 21
0
[792] trunk/wxruby2/swig/classes/include/wxDisplay.h: Added missing class, but a wrapper needs some tweaking
...yright 2004-2006 by Kevin Smith
+// released under the MIT-style wxruby2 license
+
+#if !defined(_wxDisplay_h_)
+#define _wxDisplay_h_
+class wxDisplay
+{
+public:
+ wxDisplay(size_t index = 0);
+ static size_t GetCount();
+ static int GetFromPoint(const wxPoint& pt);
+ static int GetFromWindow(wxWindow *window);
+ virtual bool IsOk() const { return true; }
+ virtual wxRect GetGeometry() const = 0;
+ virtual wxString GetName() const = 0;
+ virtual bool IsPrimary() const { return m_index == 0; }
+ virtual wxArrayVideoModes
+ GetModes(const wxVideoMode& mode = wxDe...