Login
Back to forumSee the full topicGo to last reply

Posted By

gerliczer
on 2013-01-06
04:43:20
 Re: Speed up Routine for Placing A Bitmap

Hi George,

I think you should use a little trick instead of copying a lot of bitmaps. Don't put the bitmaps right next to each other but leave out a one character size space between them both horizontally and vertically. This will be the area for the cursor. Draw there a kind of frame in a local bitmap color (pattern 01 and 10 if I remember correctly) and set the local color identical to the general background color. When you move the cursor you highlight the area of the new position and darken the old position by simply writing to the color matrix (and if necessary the luminance matrix). Only the corner position may need bitmap update but if you not insist on the cursor being a continuous line you replace it with some proper static graphic like a dot or asterix and only highlight and darken it via the color matrix as necessary.



Back to top


Copyright © Plus/4 World Team, 2001-2024