CompuServe Messages

#HELP with ColorMaps

    07-Aug-94 12:32:52
Fm: Wolf Faust 100116,1070
To: Michael Williams 70302,324
You can get docs about the colormap from the AutoDocs and examples in AmigaMail. I personaly found AmigaMail more informativ on this case. However, you don't have to be developer to get the info. For instance, you can get the native developer kit even without being a developer from CATS (at least in Europe Hirsch&Wolf does offer/ship it). However, you can not get the latest 3.1 info without being developer. But, accessing colormap's directly should be avoided under any circumstances as colormaps might change (as you allready found out yourself). Use the SetRGB and GetRGB functions! Another note: in your example you simply shift by 24. However, some hardware/software might make also use of the lower bits. That's why AutoDocs recommend ORing values. So instead of 127<<24 use (val<<24)|(val<<16)|(val<<8)|(val) with val == 127 in your case. Ok? — Wolf Faust, Am Dorfgarten 10, 60435 Frankfurt, Germany —