hackathon-dev #1
|
@ -48,12 +48,12 @@ def rubberband_line(x, y, down, up):
|
||||||
hdc.rop2 = upiwin.R2_XORPEN
|
hdc.rop2 = upiwin.R2_XORPEN
|
||||||
if not down:
|
if not down:
|
||||||
hdc.move_to(origin_x, origin_y)
|
hdc.move_to(origin_x, origin_y)
|
||||||
hdc_line_to(current_x, current_y)
|
hdc.line_to(current_x, current_y)
|
||||||
current_x = x
|
current_x = x
|
||||||
current_y = y
|
current_y = y
|
||||||
if not up:
|
if not up:
|
||||||
hdc.move_to(origin_x, origin_y)
|
hdc.move_to(origin_x, origin_y)
|
||||||
hdc_line_to(current_x, current_y)
|
hdc.line_to(current_x, current_y)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user