[DEVELOPMENT ENVIRONMENT]

* BUG: Fix rectangular selection in form editor.


git-svn-id: svn://localhost/gambas/trunk@4885 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2012-07-02 18:18:41 +00:00
parent 1393597f4f
commit ad19031dfc

View file

@ -1495,7 +1495,7 @@ Private Sub SelectIn(hParent As CControl, X As Integer, Y As Integer, W As Integ
For Each hChild In hParent.Control.Children
If Not hCtrl.Tag Or If hCtrl.Ignore Then Continue
If Not hChild.Tag Or If hChild.Ignore Then Continue
hCtrl = Control[hChild.Tag]
If IsNull(hCtrl) Then Continue 'panel
@ -3614,7 +3614,7 @@ Public Sub panSelect_Draw()
Paint.Rectangle(0, 0, Paint.W, Paint.H)
Paint.Fill
Else
Paint.Brush = Paint.Color(Color.SetAlpha(Color.TextForeground, 232))
Paint.Brush = Paint.Color(Color.SetAlpha(Color.TextForeground, 208))
'Paint.Operator = Paint.OperatorXor
Paint.Rectangle(0, 0, Paint.W, Paint.H)
Paint.Fill