Displaying 14 results from an estimated 14 matches for "wxrect".
Did you mean:
direct
2005 Sep 13
1
Rect.i and patch for wxRect.h
These files implement the wxRect class. I couldn''t think of any
particular reason not to implement this.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Sep 14
1
Patches I missed, pt. 2
StatusBar.i -- Adds a typemap to return a wxRect structure. You''ll
really want to go over this to make sure it''s correct. I don''t have a
sample but it did make part of one of the bigdemo samples work a little
better. If you want to put this on the back-burner until we have a
chance to test it more fully I'...
2007 Mar 29
0
[929] branches/wxruby2/wxwidgets_282/swig/classes: Fix virtual methods that shouldn''t be (Bug 9682); Add missing methods and
...+ void DrawBitmap(const wxBitmap& bitmap , wxCoord x , wxCoord y , bool transparent );
</ins><span class="cx"> void DrawCheckMark(wxCoord x , wxCoord y , wxCoord width , wxCoord height ) ;
</span><span class="cx"> void DrawCheckMark(const wxRect & rect ) ;
</span><span class="cx"> void DrawCircle(wxCoord x , wxCoord y , wxCoord radius ) ;
</span><span class="cx"> void DrawCircle(const wxPoint& pt , wxCoord radius ) ;
</span><del>- virtual void DrawEllipse(wxCoord x...
2007 Jun 23
0
[1062] trunk/wxruby2/swig/classes: Remove directors from some common classes where they are unnecessary
...</span><span class="lines">@@ -3,7 +3,7 @@
</span><span class="cx">
</span><span class="cx"> %include "../common.i"
</span><span class="cx">
</span><del>-%module(directors="1") wxRect
</del><ins>+%module wxRect
</ins><span class="cx"> GC_MANAGE(wxRect);
</span><span class="cx">
</span><span class="cx"> %include "include/wxRect.h"
</span></span></pre></div>
<a id=&q...
2007 Mar 19
0
[900] branches/wxruby2/wxwidgets_282/swig/classes: Initial commit of AUI core classes
...(wxAuiPaneInfo& pane_info);
+ void RestoreMaximizedPane();
+
+public:
+
+ virtual wxAuiFloatingFrame* CreateFloatingFrame(wxWindow* parent, const wxAuiPaneInfo& p);
+
+ void StartPaneDrag(
+ wxWindow* pane_window,
+ const wxPoint& offset);
+
+ wxRect CalculateHintRect(
+ wxWindow* pane_window,
+ const wxPoint& pt,
+ const wxPoint& offset);
+
+ void DrawHintRect(
+ wxWindow* pane_window,
+ const wxPoint& pt,
+ cons...
2008 Mar 04
1
enum arguments not recognized
Ok, I''ve found a minor problem that I was able to fix, but I''m not
sure if this is the right way to handle it, being new to swig and all.
Basically, in wxDC.h, there''s a function declaration:
void GradientFillLinear(const wxRect& rect, const wxColour&
initialColour, const wxColour& destColour, wxDirection nDirection =
wxEAST);
The problem is that since swig does not see the definition of the enum
wxDirection (defined in RubyConstants.i), it treats it as an unknown
class. Attempting to call the generat...
2005 Nov 10
4
wxRuby on osx tiger and ruby 1.8
Does anyone have a dmg image or .bundle of wxRuby built against wxwindows
2.4/2.5/2.6 and Ruby 1.8?
I attempted to build all the parts with not much success.
--
-- I am not a number I am a man!
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2007 May 05
0
[1016] trunk/wxruby2/swig/classes/StatusBar.i: Remove directors from StatusBar''s methods as don''t seem to need them, (Bug:6809)
...are marked ''virtual'', but can''t be
+// usefully re-implemented in Ruby.
+%feature("nodirector");
</ins><span class="cx">
</span><ins>+// For GetFieldsRect
</ins><span class="cx"> %typemap(in,numinputs=0) (wxRect& rect)
</span><span class="cx"> {
</span><span class="cx"> $1 = new wxRect;
</span><span class="lines">@@ -24,7 +26,7 @@
</span><span class="cx"> }
</span><span class="cx"> }
</s...
2006 Dec 20
0
[791] trunk/wxruby2/swig/classes/include/wxWindow.h: Remove shadowing GetBestSize def causing warning, plus strip crufty comments
...   /**
-         * \brief Returns the size and position of the window as a object.
-        */
-
</del><span class="cx"> wxRect GetRect() const;
</span><del>-        /**
-         * \brief Returns the built-in scrollbar thumb size.
-     &nbs...
2007 Mar 27
0
[922] branches/wxruby2/wxwidgets_282: Changes, additions and deprecations 2.6 -> 2.8 Wx API
...uot;> //wxColour& GetTextForeground();
</span><span class="cx"> const wxColour& GetTextForeground() const;
</span><span class="cx"> void GetUserScale(double *x , double *y ) ;
</span><ins>+ void GradientFillConcentric(const wxRect& rect, const wxColour& initialColour, const wxColour& destColour);
+ void GradientFillConcentric(const wxRect& rect, const wxColour& initialColour, const wxColour& destColour, const wxPoint& circleCenter);
+ void GradientFillLinear(const wxRect& rect, const wxColou...
2006 Dec 21
0
[792] trunk/wxruby2/swig/classes/include/wxDisplay.h: Added missing class, but a wrapper needs some tweaking
...ined(_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 = wxDefaultVideoMode) const = 0;
+ virtual wxVideoMode GetCurrentMode() const = 0;
+ vi...
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...wxColour GetColor(int id) { return GetColour(id); }
+ void SetColor(int id, const wxColour& color) { SetColour(id, color); }
+
+ virtual void DrawSash(wxDC& dc,
+ wxWindow* window,
+ int orientation,
+ const wxRect& rect) = 0;
+
+ virtual void DrawBackground(wxDC& dc,
+ wxWindow* window,
+ int orientation,
+ const wxRect& rect) = 0;
+
+ virtual void DrawCaption(wxDC& dc,
+ wxWindow* window...
2007 Apr 13
0
[954] branches/wxruby2/wxwidgets_282: Additions to Image API 2.6 -> 2.8, remove comment cruft
...nbsp   /**
-         * \brief Returns a sub image of the current one as long as the rect belongs entirely to
-the image.
-         * \param const wxRect&
-        */
-
</del><span class="cx"> wxImage GetSubImage(const wxRect& rect ) const;
</span><del>-        /**
- &a...
2007 Apr 30
0
[997] branches/wxruby2/wxwidgets_282: Window - 2.6 -> 2.8 API, new methods and deprecations; update doc
...class="cx"> virtual int GetScrollPos(int orientation ) ;
</span><span class="cx"> virtual int GetScrollRange(int orientation ) ;
</span><ins>+ virtual void GetScreenPosition(int* x, int* y) const;
+ wxPoint GetScreenPosition() const;
+ virtual wxRect GetScreenRect() const;
</ins><span class="cx"> void GetSize(int* width , int* height ) const;
</span><span class="cx"> wxSize GetSize() const;
</span><span class="cx"> wxSizer * GetSizer() const;
</span><span class=&...