Sub Globals
blnDRAG = 0
MinX = 30
MaxX = BurningSand.Width - 33
MinY = 25
MaxY = Burningsand.Height - 45
PenSize = 2
DrawColor = Rgb(80,0,0)
filled = true
End Sub
Sub circle_Click
filled = true
End Sub
Sub Circle2_Click
filled = false
End Sub
Sub BurningSand_MouseMove (x,y)
If blnDRAG = 1 AND ((x > MinX) AND (x < MaxX)) AND ((y > MinY) AND (y < MaxY)) Then
If filled Then
BurningSand.FCircle(x, y, PenSize, DrawColor, F) 'Filled circle
Else
BurningSand.FCircle(x, y, PenSize, DrawColor) ' circle
End If
End If
End Sub