search for: set_window_shape

Displaying 2 results from an estimated 2 matches for "set_window_shape".

2007 Apr 29
0
[994] branches/wxruby2/wxwidgets_282/samples/bigdemo/ShapedWindow.rbw: Draw bitmap via paint method rather than directly with a ClientDC
...v 993) +++ branches/wxruby2/wxwidgets_282/samples/bigdemo/ShapedWindow.rbw&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-04-29 16:53:52 UTC (rev 994) </span><span class="lines">@@ -46,8 +46,7 @@ </span><span class="cx"> set_window_shape </span><span class="cx"> end </span><span class="cx"> </span><del>- dc = ClientDC.new(self) - dc.draw_bitmap(@bmp, 0, 0, true) </del><ins>+ paint { | dc | dc.draw_bitmap(@bmp, 0, 0, true) } </ins><span class=...
2006 Sep 17
11
ShapedWindow.rbw
These patches implement wxRegion and the ShapedWindow sample. I stole the ruby image from ruby-lang.org. Shamelessly. Maybe someone has a better image we can use for the shaped window. It didn''t seem to make sense to use the Python image. I''d like something even bigger than what I stol^h^h^h^hmade, preferably. Image goes in icons. I had to %ignore one function in wxRegion.