src/jwm_draw_framing/draw_framing_main_v0.56.rb
# The onLButtonUp method is called when the user releases the left mouse button.
The onLButtonUp method is called when the user releases the left mouse button.
The onLButtonUp method is called when the user releases the left mouse button .
def onLButtonUp(flags, x, y, view)
		if @state == 1
			if( @dragging && @ip2.valid? )
				self.create_geometry(@ip1.position, @ip2.position,view)
				self.reset(view)
			end
		elsif @state == 2 
		end
	end
def onLButtonUp ( flags , x , y , view ) if @state == 1 if ( @dragging && @ip2 . valid? ) self . create_geometry ( @ip1 . position , @ip2 . position , view ) self . reset ( view ) end elsif @state == 2 end end
The onLButtonUp method is called when the user releases the left mouse button.
The onLButtonUp method is called when the user releases the left mouse button .
# If we are doing a drag, then create the cross-section on the mouse up event # puts "onLButtonUp:  @state = 2 set \nactive_tool_id =" # puts @@df_tool_id.to_s ## waiting for third click to define length of timber to draw
flags
<not_specific>
x
<not_specific>
y
<not_specific>
view
<not_specific>