[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:
parent
1393597f4f
commit
ad19031dfc
1 changed files with 2 additions and 2 deletions
|
@ -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
|
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]
|
hCtrl = Control[hChild.Tag]
|
||||||
If IsNull(hCtrl) Then Continue 'panel
|
If IsNull(hCtrl) Then Continue 'panel
|
||||||
|
|
||||||
|
@ -3614,7 +3614,7 @@ Public Sub panSelect_Draw()
|
||||||
Paint.Rectangle(0, 0, Paint.W, Paint.H)
|
Paint.Rectangle(0, 0, Paint.W, Paint.H)
|
||||||
Paint.Fill
|
Paint.Fill
|
||||||
Else
|
Else
|
||||||
Paint.Brush = Paint.Color(Color.SetAlpha(Color.TextForeground, 232))
|
Paint.Brush = Paint.Color(Color.SetAlpha(Color.TextForeground, 208))
|
||||||
'Paint.Operator = Paint.OperatorXor
|
'Paint.Operator = Paint.OperatorXor
|
||||||
Paint.Rectangle(0, 0, Paint.W, Paint.H)
|
Paint.Rectangle(0, 0, Paint.W, Paint.H)
|
||||||
Paint.Fill
|
Paint.Fill
|
||||||
|
|
Loading…
Reference in a new issue