search for: set_xy

Displaying 4 results from an estimated 4 matches for "set_xy".

Did you mean: set_x_y
2007 Oct 02
0
[ wxruby-Patches-14375 ] bigdemo/wxScrolledWindow - paint bug with scrolled window
...drawn correctly. So they are saved correctly to the lines array but there is an error when they are first drawn. I changed two methods to get the correct behaviour: (file with changes attached) From: def on_left_button_event_down(event) if event.left_is_down() and !@drawing set_focus() set_XY(event) @curLine = [] capture_mouse() @drawing = true end end To: def on_left_button_event_down(event) if event.left_is_down() and !@drawing set_focus() set_XY(event) @event_x_old = event.get_x # added this to save the current absolute... @event_y_old = event.get_y...
2006 Sep 27
4
wxScrolledWindow.rbw
This patch removes the call to ''free'' from the sample. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Apr 28
0
[976] branches/wxruby2/wxwidgets_282/samples/bigdemo/wxScrolledWindow.rbw: Remove deprecated begin_drawing and end_drawing calls
...;cx"> @curLine.push(coords) </span><span class="cx"> coords.flatten!() </span><span class="cx"> dc.draw_line(coords[0], coords[1], coords[2], coords[3]) </span><span class="cx"> set_XY(event) </span><del>- dc.end_drawing() </del><span class="cx"> end </span><span class="cx"> end </span><span class="cx"> </span></span></pre> </div> </div> </bo...
2007 Apr 29
0
[993] branches/wxruby2/wxwidgets_282/samples/bigdemo/wxScrolledWindow.rbw: Use ClientDC via Window#paint object
...;cx"> @curLine.push(coords) </span><span class="cx"> coords.flatten!() </span><span class="cx"> dc.draw_line(coords[0], coords[1], coords[2], coords[3]) </span><span class="cx"> set_XY(event) </span><ins>+ end </ins><span class="cx"> end </span><span class="cx"> end </span><span class="cx"> </span></span></pre> </div> </div> </body> </htm...