SetPalette() question

Postby Mikael on Sun Oct 12, 2003 11:06 am

Am I right in thinking that if I want to display a 4 bit, 16 colour.bmp that I need anything up to 16 SetPalette() functions in a row, to account for each of the possible colours?
Posts: 156
Joined: Sun Apr 13, 2003 9:19 am
Location: Denmark

Postby jstadolnik on Sun Oct 12, 2003 1:36 pm

Use SetDepth(5) to do this. You can also use SetPalette(), but I've already done all the dirty work for you with SetDepth(5).


The PToolboxLib guy.
Posts: 1741
Joined: Wed Dec 06, 2000 3:34 am
Location: USA

Return to PocketC for Palm OS KB

Who is online

Users browsing this forum: No registered users and 1 guest