[Gambas-user] IDE Form Editor Blinking

Adrien Prokopowicz adrien.prokopowicz at ...626...
Tue Jul 3 14:42:56 CEST 2012


Le mardi 3 juillet 2012 00:52:47 Benoît Minisini a écrit :
> 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.

That explains why this is so slow ...




More information about the User mailing list