search for: wxcoord

Displaying 16 results from an estimated 16 matches for "wxcoord".

Did you mean: xcoord
2007 Mar 29
0
[929] branches/wxruby2/wxwidgets_282/swig/classes: Fix virtual methods that shouldn''t be (Bug 9682); Add missing methods and
...;<span class="cx"> // wxList version is now ''type-safe'' so we won''t be using that version instead </span><span class="lines">@@ -20,6 +13,12 @@ </span><span class="cx"> %ignore DrawPolygon(const wxList * points , wxCoord xoffset = 0, wxCoord yoffset = 0, int fill_style = wxODDEVEN_RULE) ; </span><span class="cx"> </span><span class="cx"> </span><ins>+%rename(GetDimensions) wxDC::GetSize(wxCoord * width , wxCoord * height); +%rename(GetDimensionsMM) wxDC::Ge...
2005 Sep 10
2
Swig generates bad interface to GetTextExtent
Swig''s bad interface generation strikes again. get_text_extent called with 1 argument maps to WindowDC''s _wrap_wxWindowDC_GetTextExtent__SWIG_0 Since this generates a wxFont that''s not initialized to nil it fails when calling into wxWindows. Anyone have a suggestion?
2007 Mar 27
0
[922] branches/wxruby2/wxwidgets_282: Changes, additions and deprecations 2.6 -> 2.8 Wx API
...@@ </span><span class="cx"> public: </span><span class="cx"> wxDC() ; </span><span class="cx"> virtual ~wxDC() ; </span><del>- void BeginDrawing() ; </del><span class="cx"> virtual bool Blit(wxCoord xdest , wxCoord ydest , wxCoord width , wxCoord height , wxDC* source , wxCoord xsrc , wxCoord ysrc , int logicalFunc = wxCOPY, bool useMask = false, wxCoord xsrcMask = -1, wxCoord ysrcMask = -1) = 0; </span><span class="cx"> static bool CacheEnabled() ; </span&g...
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
2006 Oct 22
0
[708] trunk/wxruby2/swig/classes/DC.i: Un-ignore get_multi_line_text_extent (Roy Sutton)
...</span><del>-%ignore GetMultiLineTextExtent; - </del><span class="cx"> // wxList version is now ''type-safe'' so we won''t be using that version instead </span><span class="cx"> %ignore DrawLines(const wxList * points, wxCoord xoffset = 0, wxCoord yoffset = 0); </span><span class="cx"> %ignore DrawPolygon(const wxList * points , wxCoord xoffset = 0, wxCoord yoffset = 0, int fill_style = wxODDEVEN_RULE) ; </span></span></pre> </div> </div> </body> </html>
2007 Jun 28
0
[1094] trunk/wxruby2: Added SetCursorEvent and mapping
...n class="lines">@@ -0,0 +1,23 @@ </span><ins>+// Copyright 2007 by Kevin Smith +// released under the MIT-style wxruby2 license + +#if !defined(_wxSetCursorEvent_h_) +#define _wxSetCursorEvent_h_ + +class wxSetCursorEvent : public wxEvent +{ +public: + wxSetCursorEvent(wxCoord x = 0, wxCoord y = 0); + wxSetCursorEvent(const wxSetCursorEvent & event); + + wxCoord GetX() const; + wxCoord GetY() const; + + void SetCursor(const wxCursor& cursor); + const wxCursor& GetCursor() const; + bool HasCursor() const; + + virtual wxEvent *Clone() const; +}; + +#endi...
2007 Jan 08
0
[844] trunk/wxruby2/swig/classes: Added IconBundle class for multi-resolution icons, cleaned comment cruft
...size ) const; -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \brief Same as GetIcon( wxSize( size, size ) ). -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param wxCoord -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - - const wxIcon& GetIcon(wxCoord size = -1) const; </del><ins>+ virtual ~wxIconBundle() ; + void AddIcon(const wxString& file , long type ) ; + void AddIcon(const wxIcon& icon ) ; +...
2006 Nov 06
3
HtmlWindow and friends
Hi Attached is a patch to add HtmlWindow and some of its friends, including HtmlEasyPrinting. Also a sample. I haven''t tried exposing the parsing and rendering API yet to allow custom tags etc - I just wanted to get basic HTML and the 0.6.0 compatibility classes first. There may well be some quite easy classes left. There''s one ugly kludge to get OnOpeningURL to compile -
2007 Mar 17
0
[883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
...;> virtual void Check(size_t uiIndex, bool bCheck = true); </span><span class="cx"> </span><del>- // return the index of the item at this position or wxNOT_FOUND - int HitTest(const wxPoint& pt) const { return DoHitTestItem(pt.x, pt.y); } - int HitTest(wxCoord x, wxCoord y) const { return DoHitTestItem(x, y); } - - </del><span class="cx"> }; </span><span class="cx"> </span><span class="cx"> </span></span></pre></div> <a id="brancheswxruby2wxwidgets_282swig...
2007 Oct 30
8
Comments on commit 1406 (rakefile changes)
Alex, The changes to the rakefiles are causing me some problems building on OS X. I am getting the following: rake aborted! undefined method `+'' for nil:NilClass /Users/sean/Archive/Programming/wxRuby_Dev/wxruby2/rakefile:109 I will now go test on Windows Sean
2006 Nov 12
0
[724] trunk/wxruby2: Initial commit of HtmlWindow functionality
...e button is clicked inside wxHtmlWindow. -The default behaviour is to call - if the cell contains a -hypertext link. -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param wxHtmlCell -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param wxCoord -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param wxCoord -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \param const wxMouseEvent& -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - </del>&l...
2005 Jul 16
28
wxruby (was: Some questions)
Roy Sutton wrote (on the FreeRIDE list): > Really? That''s interesting. I haven''t checked out WxRuby but I would > be much happier using something that interfaces to the underlying > operating system''s widgets. As a member (and former leader) of the wxruby team, I thought I would share the state of the wxruby world. The current release is 0.6, and it has
2007 Mar 04
8
0.0.39 etc
Hi I''d like to tag and release 0.0.39 some time in the next couple of days. Bit short of time over the next few weeks so would like to get our recent bug fixes out there. I''ll update the Changelog and run through the samples, but please shout if anything else should get some attetnion before we release. Hopefully this could be our last preview release - also going to try
2006 Oct 17
0
[685] trunk/wxruby2/swig: Add Printing constants and typedefs, add two missing methods (Roy
...amp;nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2006-10-17 21:49:06 UTC (rev 685) </span><span class="lines">@@ -4,8 +4,6 @@ </span><span class="cx"> typedef int wxWindowID; </span><span class="cx"> typedef int wxCoord; </span><span class="cx"> typedef int wxEventType; </span><del>-//typedef int wxEdge; -//typedef int wxRelationship; </del><span class="cx"> enum wxBitmapType; </span><span class="cx"> typedef short int WXTYPE; </span&...
2007 Jul 04
0
[1107] trunk/wxruby2: Add the 2.8 get_modifiers method to KeyEvent; remove some deprecated
...ass="lines">@@ -23,14 +24,6 @@ </span><span class="cx"> // override pure virtual methods from base classes </span><span class="cx"> virtual wxEvent* Clone() const; </span><span class="cx"> </span><del>- wxCoord m_x, m_y; - - long m_keyCode; - - bool m_controlDown; - bool m_shiftDown; - bool m_altDown; - bool m_metaDown; </del><span class="cx"> bool m_scanCode; </span><span class="cx"> </span&...
2007 Apr 10
15
Wxruby doesn''t work on my Debian sid ( glibc error )
Hi everyone ! i can''t make wxruby work on my debian box, i installed wxruby2preview with the gem command line tool but when i try to run one of the samples, i get this error message : dialogs.rb:1:in `require'': no such file to load -- wxruby (LoadError) from dialogs.rb:1 i searched this mailing list a bit, i tried with the -rubygem argument, i get this error :