search for: wxcolour

Displaying 20 results from an estimated 28 matches for "wxcolour".

2003 Nov 06
2
MinGW build (static linking) problem
Hi! I am trying to build wxruby with statically linked wxWindows library, but so far - no luck - bunch of unresolved references during the linking phase. I''ve seen on the list that Curt was being able to build it, so any hint would be helpful. gcc 3.2.3 (MinGW 3.1.0) & MSYS 1.0.10rc2. Sincerely, Gour -- Gour gour@mail.inet.hr Registered Linux User #278493
2007 Mar 21
0
[904] branches/wxruby2/wxwidgets_282: Changes in Wx::Colour API 2.6 -> 2.8
...wxruby2/wxwidgets_282/lib/wx/classes/colour.rb</a></li> <li><a href="#brancheswxruby2wxwidgets_282swigclassesColouri">branches/wxruby2/wxwidgets_282/swig/classes/Colour.i</a></li> <li><a href="#brancheswxruby2wxwidgets_282swigclassesincludewxColourh">branches/wxruby2/wxwidgets_282/swig/classes/include/wxColour.h</a></li> </ul> </div> <div id="patch"> <h3>Diff</h3> <a id="brancheswxruby2wxwidgets_282doctextilecolourtxtl"></a> <div class="modfile"&gt...
2007 Mar 21
0
[905] branches/wxruby2/wxwidgets_282/swig/classes/include/wxColour.h: Wx::Colour API 2.6 -> 2.8 - one more place alpha argument is needed
...tch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[905] branches/wxruby2/wxwidgets_282/swig/classes/include/wxColour.h: Wx::Colour API 2.6 -> 2.8 - one more place alpha argument is needed</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>905</dd> <dt>Author</dt> <dd>brokentoy</dd> <dt>Date</dt> &...
2007 Jan 08
0
[843] trunk/wxruby2: Moved stock colours so they are available from library load time
...s="lines">@@ -43,14 +43,6 @@ </span><span class="cx"> %constant wxBrush* const wxCYAN_BRUSH; </span><span class="cx"> %constant wxBrush* const wxRED_BRUSH; </span><span class="cx"> </span><del>-%constant wxColour* const wxBLACK; -%constant wxColour* const wxWHITE; -%constant wxColour* const wxRED; -%constant wxColour* const wxBLUE; -%constant wxColour* const wxGREEN; -%constant wxColour* const wxCYAN; -%constant wxColour* const wxLIGHT_GREY; - </del><span class="cx"> %con...
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 DrawText(const wxString& text , wxCoord x , wxCoord y ); </ins><span class="cx"> void EndDoc() ; </span><span class="cx"> void EndPage() ; </span><span class="cx"> bool FloodFill(wxCoord x , wxCoord y , const wxColour& colour , int style = wxFLOOD_SURFACE) ; </span><del>- //wxBrush& GetBackground(); </del><span class="cx"> const wxBrush& GetBackground() const; </span><span class="cx"> int GetBackgroundMode() const; </span><del>...
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 generated method from Ruby while...
2007 Jan 05
0
[827] trunk/wxruby2/swig: Moved NULL objects into constants so they can be used for default args
...NULL_ICON = wxNullIcon; +%constant wxCursor const NULL_CURSOR = wxNullCursor; +%constant wxPen const NULL_PEN = wxNullPen; +%constant wxBrush const NULL_BRUSH = wxNullBrush; +%constant wxPalette const NULL_PALETTE = wxNullPalette; +%constant wxFont const NULL_FONT = wxNullFont; +%constant wxColour const NULL_COLOUR = wxNullColour; + </ins><span class="cx"> // Text font families </span><span class="cx"> %constant int FONTFAMILY_DEFAULT = wxDEFAULT; </span><span class="cx"> %constant int FONTFAMILY_DECORATIVE = wxDEC...
2007 Mar 23
0
[917] branches/wxruby2/wxwidgets_282/swig/classes/include/wxAuiDockArt.h: Fix spelling mistake from wxWidgets headers
...class="lines">@@ -15,7 +15,7 @@ </span><span class="cx"> virtual void SetFont(int id, const wxFont& font) = 0; </span><span class="cx"> virtual wxFont GetFont(int id) = 0; </span><span class="cx"> virtual wxColour GetColour(int id) = 0; </span><del>- virtual void SetColour(int id, const wxColor& colour) = 0; </del><ins>+ virtual void SetColour(int id, const wxColour& colour) = 0; </ins><span class="cx"> wxColour GetColor(int id) { return GetColo...
2007 Mar 27
0
[922] branches/wxruby2/wxwidgets_282: Changes, additions and deprecations 2.6 -> 2.8 Wx API
...ache(bool enableCache ) ; </span><span class="cx"> void EndDoc() ; </span><del>- void EndDrawing() ; </del><span class="cx"> void EndPage() ; </span><span class="cx"> bool FloodFill(wxCoord x , wxCoord y , const wxColour& colour , int style = wxFLOOD_SURFACE) ; </span><span class="cx"> //wxBrush& GetBackground(); </span><span class="lines">@@ -59,6 +57,7 @@ </span><span class="cx"> void GetClippingBox(wxCoord *x , wxCoord *y , wxCoord...
2007 Jun 26
0
[1081] trunk/wxruby2: Added HyperlinkCtrl from the 2.8 API plus event mappings
...& label, const wxString& url, + const wxPoint& pos = wxDefaultPosition, + const wxSize& size = wxDefaultSize, + long style = wxHL_DEFAULT_STYLE, + const wxString& name = wxHyperlinkCtrlNameStr); + + + // get/set + wxColour GetHoverColour() const { return m_hoverColour; } + void SetHoverColour(const wxColour &colour) { m_hoverColour = colour; } + + wxColour GetNormalColour() const { return m_normalColour; } + void SetNormalColour(const wxColour &colour); + + wxColour GetVisitedColour() const { retu...
2005 Nov 23
1
Wx::SystemSettings
...) on a few of the constants listed in the docs. I have commented these out in the sample file for now, and the rest work as expected. For reference, running this in gdb I get the following error with the bad colours: Program received signal EXC_BAD_ACCESS, Could not access memory. 0x02da4c04 in wxColour::wxColour(wxColour const&) () 3) Wx::SystemSettings.get_font(xxx) segfaults for me for any value, so I have %ignored it for now in the .i file. For reference, gdb reports: Program received signal EXC_BAD_ACCESS, Could not access memory. 0x02d83d68 in wxObject::Ref(wxObject const&) () al...
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 Feb 14
0
[874] trunk/wxruby2/swig/classes/include/wxGridCellAttr.h: Add missing and useful default ctor
...ttr *attrDefault = NULL); - - // VZ: considering the number of members wxGridCellAttr has now, this ctor - // seems to be pretty useless... may be we should just remove it? </del><ins>+ wxGridCellAttr(); </ins><span class="cx"> wxGridCellAttr(const wxColour& colText, </span><span class="cx"> const wxColour& colBack, </span><span class="cx"> const wxFont& font, </span></span></pre> </div> </div> </body> </html>
2007 May 02
0
[1000] branches/wxruby2/wxwidgets_282/swig/classes/include/wxPen.h: Default arguments for Wx::Pen constructors
...cx"> #define _wxPen_h_ </span><span class="lines">@@ -9,8 +7,8 @@ </span><span class="cx"> { </span><span class="cx"> public: </span><span class="cx"> wxPen() ; </span><del>- wxPen(const wxColour& colour , int width , int style ) ; - wxPen(const wxString& colourName , int width , int style ) ; </del><ins>+ wxPen(const wxColour& colour , int width = 1 , int style = wxSOLID ) ; + wxPen(const wxString& colourName , int width = 1 , int style = wxSOL...
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
2005 Sep 11
6
Patch to wxNotebook.rbw
Patch to the notebook example to remove the call to the deprecated NotebookSizer. It appears to work just fine without the sizer. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Nov 12
0
[724] trunk/wxruby2: Initial commit of HtmlWindow functionality
...p/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \brief Returns the background colour of the container or if no background -colour is set. -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - </del><span class="cx"> wxColour GetBackgroundColour() ; </span><del>-&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \brief Returns pointer to the first cell in the list. -You can then use wxHtmlCell''s GetN...
2006 Dec 20
0
[791] trunk/wxruby2/swig/classes/include/wxWindow.h: Remove shadowing GetBestSize def causing warning, plus strip crufty comments
...;nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \brief Returns the background colour of the window. -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp*/ - </del><span class="cx"> wxColour GetBackgroundColour() const; </span><del>-&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp/** -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp * \brief This functions returns the best acceptable minimal size for the window. For -example,...
2007 Mar 17
0
[883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
...;/del><ins>+// bool GetOptimization() ; </ins><span class="cx"> //wxPen& GetPen(); </span><span class="cx"> const wxPen& GetPen() const; </span><span class="cx"> virtual bool GetPixel(wxCoord x , wxCoord y , wxColour * colour ) = 0; </span><span class="lines">@@ -100,7 +100,7 @@ </span><span class="cx"> virtual void SetFont(const wxFont& font ) = 0; </span><span class="cx"> virtual void SetLogicalFunction(int function ) = 0; </spa...
2007 Apr 13
0
[951] branches/wxruby2/wxwidgets_282: Additions to Grid API 2.6->2.8
...) </span><span class="lines">@@ -215,6 +215,9 @@ </span><span class="cx"> wxString GetRowLabelValue( int row ); </span><span class="cx"> wxString GetColLabelValue( int col ); </span><span class="cx"> wxColour GetGridLineColour(); </span><ins>+ virtual wxPen GetDefaultGridLinePen(); + virtual wxPen GetRowGridLinePen(int row); + virtual wxPen GetColGridLinePen(int col); </ins><span class="cx"> wxColour GetCellHighlightColour(); </span><span class=&qu...