search for: y_caret

Displaying 1 result from an estimated 1 matches for "y_caret".

Did you mean: x_caret
2007 Apr 29
0
[981] branches/wxruby2/wxwidgets_282/samples/caret/caret.rb: Don''t call PaintDC.new; just refresh() instead of duplicating paint code
...t;lines">@@ -204,21 +203,8 @@ </span><span class="cx"> ch = event.key_code </span><span class="cx"> if !event.alt_down and (ch >= K_SPACE) and (ch < K_DELETE) </span><span class="cx"> self[@x_caret, @y_caret] = ch.chr </span><del>- - caret = get_caret - if caret - caret.hide - end - - dc = ClientDC.new(self) - dc.set_font(@font) - dc.set_background_mode(SOLID) # overwrite old value - dc.draw_text(ch.chr, @x_margin + @x_caret * @width...