[Gambas-user] IDE Form Editor Blinking

Benoît Minisini gambas at ...1...
Tue Jul 3 00:52:47 CEST 2012


Le 03/07/2012 00:05, Adrien Prokopowicz a écrit :
>
> Hi Emil,
> I don't think we have exactly the same configuration. :-)
> My computer is a 3-years-old Asus eeePC 1005HA, with an single-core Intel Atom
> at 1.6Ghz, 1GB of RAM, a 200GB Hard drive at 5400 rpm (but with long response
> time), and a lot of scotch tape (and also a few optimisations to the IDE in
> order to make it faster to start).
>
> I took a look at the profiling file, and I noticed that most of the drawing
> event is the panel moving :
>
> panSelectN.Move(hCtrl.ScreenX - hRoot.ScreenX + 2, hCtrl.ScreenY -
> hRoot.ScreenY, hCtrl.W, 2)
>      panSelectS.Move(panSelectN.X, panSelectN.Y + hCtrl.H - 2, panSelectN.W, 2)
>      panSelectW.Move(panSelectN.X, panSelectN.Y + 2, 2, hCtrl.H - 4)
>      panSelectE.Move(panSelectW.X + hCtrl.W - 2, panSelectW.Y, 2, panSelectW.H)
>
> But I still don't understand what these panels are (I don't think that the
> frames are drawn with panels).

The four panels are the ghost frame drawn around a control, or the 
selection rectangle.

-- 
Benoît Minisini






More information about the User mailing list