Displaying 3 results from an estimated 3 matches for "myartprovider".
Did you mean:
artprovider
2006 Sep 14
2
Patch to fix ArtProvider and ArtProvider sample
These patches better implement ArtProvider and add the demo for it. I
also expanded the bigdemo window a little bit. I really think we should
go larger but I suppose there might be some people at 800x600 still.
Note that creating your own art provider still doesn''t quite work
correctly. I didn''t have time to get into that.
The RubyConstants.i.patch file looks weird. Not
2007 Jan 12
0
[ wxruby-Bugs-7773 ] ObjectPreviouslyDeleted error when using custom ArtProvider
...reviouslyDeleted error when using custom ArtProvider
Initial Comment:
According to the docs, it should be possible to define a custom subclass of ArtProvider that responds to create_bitmap, and add it to the sources used by ArtProvider by calling push_provider:
Wx::ArtProvider.push_provider(MyArtProvider.new)
Wx::ArtProvider.get_icon(''project'')
However, this causes an ObjectPreviouslyDeleted error.
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=7773&gro...
2007 May 04
0
[1006] trunk/wxruby2/samples/bigdemo/wxArtProvider.rbw: ok method name changed to is_ok
...ap("tick.png")
</span><span class="cx"> end
</span><span class="cx">
</span><del>- if bmp.ok
</del><ins>+ if bmp.is_ok
</ins><span class="cx"> @log.write_text("MyArtProvider: providing #{artid}:#{client} at #{size.x}x#{size.y}")
</span><span class="cx"> end
</span><span class="cx"> bmp
</span><span class="lines">@@ -229,7 +229,7 @@
</span><span class="cx">
<...