elmarakby / pocketwit

Automatically exported from code.google.com/p/pocketwit
0 stars 0 forks source link

Gradient slows drawing #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've had a few display and scrolling glitches in the Dev build. From this I
noticed that the gradient seems to slow down the scrolling significantly.
I'm not entirely sure how you're going about drawing the screen, but it
might be nice if there was an option to disable it. Or, have it not drawn
if you scroll a "long" ways, like when I try to go back to find old tweets.

Original issue reported on code.google.com by netbym...@gmail.com on 16 Jan 2009 at 11:22

GoogleCodeExporter commented 9 years ago
It will not attempt to draw a gradient if the two colors are the same.  For 
example,
setting both SelectedBackGradColor and SelectedBackColor to 0:0:100 will 
prevent it
from attempting to draw any gradient on selected items, speeding up that render.

The default themes only use a gradient on selected items, so it shouldn't make 
any
differentce with long scrolling, since it will not redraw any gradient until a 
new
item is selected.

Original comment by pocketwi...@gmail.com on 17 Jan 2009 at 9:17

GoogleCodeExporter commented 9 years ago
I've included a "NoGrad" theme that you can use if the gradients are too slow 
for you.

Original comment by pocketwi...@gmail.com on 23 Jan 2009 at 2:08