search for: bitmap_type_any

Displaying 3 results from an estimated 3 matches for "bitmap_type_any".

2007 Oct 18
6
Bug in minimal.rb
...#39;) - self.icon = Wx::Icon.new(icon_file) + self.icon = Wx::Icon.new(icon_file, Wx::BITMAP_TYPE_PNG) Without Wx::BITMAP_TYPE_PNG it does not recognize the icon on my system: WinXP, ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32], gem: wxruby-1.9.1-i386-mswin32 How about to assume Wx::BITMAP_TYPE_ANY if none given? Again thanks a lot for your work! Regards, Dirk
2004 Jan 08
3
pictorG
...= label, children end end THM_HEIGHT=THM_WIDTH=128 #======================================================================== class MyImageFrame < Dialog # -- opens a dialog to show a picture def initialize parent, title, filename super(parent, -1, title) @bitmap=Bitmap.new(filename,BITMAP_TYPE_ANY) # why should I say BITMAP_TYPE_ANY? set_client_size_wh(@bitmap.get_width,@bitmap.get_height) evt_paint {on_paint()} evt_left_down {on_click()} end def on_click @bitmap.destroy() self.destroy() end def on_paint dc = PaintDC.new(self) dc.draw_bitmap(@bitmap,0,0,...
2007 Apr 13
0
[954] branches/wxruby2/wxwidgets_282: Additions to Image API 2.6 -> 2.8, remove comment cruft
...x"> h4. See also </span><span class="lines">@@ -509,7 +568,7 @@ </span><span class="cx"> Integer *get_image_count*(%(arg-type)InputStream% stream, </span><span class="cx"> %(arg-type)Integer% type = BITMAP_TYPE_ANY) </span><span class="cx"> </span><del>-If the image file contains more than one image and the image handler is capable </del><ins>+If the image file contains more than one image and the image handler is capable </ins><span class="cx&quot...