Displaying 20 results from an estimated 52 matches for "wxpoint".
Did you mean:
xpoint
2009 Sep 03
24
wxRuby-2.0.1 release ?
Hi,
What about releasing a new version shortly ?
This is a long-awaited request from several users especially for
recent ruby-1.9.1 versions on MinGW.
Cheers.
Chauk-Mean.
2007 Mar 19
0
[900] branches/wxruby2/wxwidgets_282/swig/classes: Initial commit of AUI core classes
...neInfo::caption;
+%rename(GetCaption) wxAuiPaneInfo::caption;
+%rename(SetCaption) wxAuiPaneInfo::Caption(const wxString& c);
+
+%immutable wxAuiPaneInfo::floating_pos;
+%rename(GetFloatingPosition) wxAuiPaneInfo::floating_pos;
+%rename(SetFloatingPosition) wxAuiPaneInfo::FloatingPosition(const wxPoint& pos);
+%rename(SetFloatingPosition) wxAuiPaneInfo::FloatingPosition(int x, int y);
+
+%immutable wxAuiPaneInfo::floating_size;
+%rename(GetFloatingSize) wxAuiPaneInfo::floating_size;
+%rename(SetFloatingSize) wxAuiPaneInfo::FloatingSize(const wxSize& size);
+%rename(SetFloatingSize) wxAuiP...
2007 Mar 29
0
[929] branches/wxruby2/wxwidgets_282/swig/classes: Fix virtual methods that shouldn''t be (Bug 9682); Add missing methods and
..., 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 , wxCoord y , wxCoord width , wxCoord height ) = 0;
- virtual void DrawEllipse(const wxPoint& pt , const wxSize& size ) = 0;
- virtual void DrawEllipse(const wxRect& rect ) = 0;
- v...
2005 Aug 10
3
question on Choice.i
Is there a reason that these lines are in Choice.i?
%ignore wxChoice::wxChoice();
%ignore wxChoice::wxChoice(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
int n = 0, const wxString choices[] = NULL,
long style = 0,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxChoiceNameStr);
If I comment...
2006 Nov 27
0
[760] trunk/wxruby2/swig/classes/include/wxHelpController.h: Correct method signatures for Initialize, OnQuit, GetFrameParameters;
...f Displays the text in a popup window, if possible.
-
-Returns false if unsuccessful or not implemented.
-         * \param const wxString&
-         * \param const wxPoint&
-        */
-
</del><span class="cx"> virtual bool DisplayTextPopup(const wxString& text , const wxPoint& pos ) ;
</span><del>-      ...
2007 Jul 04
0
[1103] trunk/wxruby2: Added 2.8 methods to StaticBitmap & document them; cleanup header file
...ndow*
-         * \param wxWindowID
-         * \param const wxBitmap&
-         * \param const wxPoint&
-         * \param const wxSize&
-         * \param long
-         * \param const wxString...
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
2006 Dec 20
0
[791] trunk/wxruby2/swig/classes/include/wxWindow.h: Remove shadowing GetBestSize def causing warning, plus strip crufty comments
...n-control window.
-         * \param wxWindow*
-         * \param wxWindowID
-         * \param const wxPoint&
-         * \param const wxSize&
-         * \param long
-         * \param const wxStrin...
2007 Jun 05
0
[1045] trunk/wxruby2/swig/classes/include/wxImage.h: Add missing Size and Resize methods in Wx::Image
...g1 , unsigned char b1 , unsigned char r2 , unsigned char g2 , unsigned char b2 ) ;
</span><span class="cx"> wxImage & Rescale(int width, int height, int quality = wxIMAGE_QUALITY_NORMAL ) ;
</span><ins>+ wxImage & Resize(const wxSize& size, const wxPoint pos, int red = -1, int green = -1, int blue = -1);
</ins><span class="cx"> wxImage Rotate(double angle , const wxPoint& rotationCentre , bool interpolating = true, wxPoint* offsetAfterRotation = NULL) ;
</span><span class="cx"> wxImage Rotate90(...
2007 Jan 08
0
[845] trunk/wxruby2/swig/classes: Added MultiChoiceDialog in class form
...nbsp                                 const wxPoint& pos = wxDefaultPosition);
+ wxMultiChoiceDialog(wxWindow *parent,
+                         &...
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") wxPoint
</del><ins>+%module wxPoint
</ins><span class="cx"> GC_MANAGE(wxPoint);
</span><span class="cx">
</span><span class="cx"> %include "include/wxPoint.h"
</span></span></pre></div>
<a id...
2006 Nov 23
2
to_s
I was toying around with adding a to_s function to wxPoint (and probably
to some other classes). I''m wondering if this is a good idea or not and
if so, is it best to use %extend or put it into something like wxSugar
or the ruby parts of wx?
My initial implementation is:
%extend wxPoint {
VALUE to_s()
{
char buffer[40];
sprintf(b...
2005 Sep 03
2
Problem with swig?
Take a look at the generated code from ListBox.cpp:
static VALUE
_wrap_new_wxListBox__SWIG_0(int argc, VALUE *argv, VALUE self) {
VALUE arg1 ;
wxWindow *arg2 = (wxWindow *) 0 ;
wxWindowID arg3 ;
wxPoint *arg4 = 0 ;
wxSize *arg5 = 0 ;
int arg6 ;
wxString *arg7 ;
long arg8 ;
wxValidator *arg9 = 0 ;
wxString *arg10 = 0 ;
wxListBox *result;
wxString *arr6 ;
arg8 has no default value!
Here''s the definition from the .h file:
wxListBox(wxWindow* parent , w...
2006 Dec 31
0
[815] trunk/wxruby2/swig/classes: Added ContextMenuEvent class plus event handling methods
...the MIT-style wxruby2 license
+
+#if !defined(_wxContextMenuEvent_h_)
+#define _wxContextMenuEvent_h_
+
+
+class wxContextMenuEvent : public wxCommandEvent
+{
+public:
+ wxContextMenuEvent(wxEventType type = wxEVT_NULL,
+ wxWindowID winid = 0,
+ const wxPoint& pt = wxDefaultPosition)
+ : wxCommandEvent(type, winid),
+ m_pos(pt)
+ { }
+ wxContextMenuEvent(const wxContextMenuEvent & event)
+ : wxCommandEvent(event),
+ m_pos(event.m_pos)
+ { }
+
+ // Position of event (in screen coordinates)
+ const wxPo...
2006 Dec 31
0
[813] trunk/wxruby2/swig/classes: Added ScrollBar class
...mp;nbsp * \brief
-         * \param wxWindow*
-         * \param wxWindowID
-         * \param const wxPoint&
-         * \param const wxSize&
-         * \param long
-         * \param const wxValida...
2007 Apr 28
0
[977] branches/wxruby2/wxwidgets_282/swig/classes/include/wxScrolledWindow.h: Add missing DoPrepareDC method, remove comment cruft
...rief Constructor.
-         * \param wxWindow*
-         * \param wxWindowID
-         * \param const wxPoint&
-         * \param const wxSize&
-         * \param long
-         * \param const wxString...
2007 Mar 17
0
[883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
...E,int width=150, int height=200);
</span><span class="cx">
</span><del>-long wxGetNumberFromUser( const wxString& message, const wxString& prompt, const wxString& caption, long value, long min = 0, long max = 100, wxWindow *parent = NULL, const wxPoint& pos = wxDefaultPosition);
</del><ins>+//long wxGetNumberFromUser( const wxString& message, const wxString& prompt, const wxString& caption, long value, long min = 0, long max = 100, wxWindow *parent = NULL, const wxPoint& pos = wxDefaultPosition);
</ins&g...
2007 Apr 13
0
[953] branches/wxruby2/wxwidgets_282: Additions to HelpController API 2.6 -> 2.8
...9:15:04 UTC (rev 953)
</span><span class="lines">@@ -19,10 +19,12 @@
</span><span class="cx"> virtual bool DisplaySection(int sectionNo ) ;
</span><span class="cx"> virtual bool DisplayTextPopup(const wxString& text , const wxPoint& pos ) ;
</span><span class="cx"> virtual wxFrame * GetFrameParameters(wxSize * size = NULL, wxPoint * pos = NULL, bool * newFrameEachTime = NULL) ;
</span><ins>+ virtual wxWindow* GetParentWindow();
</ins><span class="cx"> virtual...
2007 Apr 13
0
[949] branches/wxruby2/wxwidgets_282: Changes in Gauge API 2.6->2.8, remove comment cruft in header
...sp * \param wxWindow*
-         * \param wxWindowID
-         * \param int
-         * \param const wxPoint&
-         * \param const wxSize&
-         * \param long
-         * \param const wxValidat...
2006 Sep 12
1
Patch to wxMouseEvent.h
This patch just applies some const tags that were missing (does this
affect anything at all?) and removes a definition that was causing a
conflict.
Roy
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users