This is ColorMap.h in view mode; [Download] [Up]
#import <appkit/appkit.h> #import "common.h" @interface ColorMap:Object - init; - allocFullColor; - allocPalColor; - free; - (int)getAllColor:(unsigned char **)map limit:(int)limit alpha:(BOOL *)alpha; - (int)getAllColor:(unsigned char **)map limit:(int)limit; - (int)regPalColorWithAlpha:(BOOL)alpha; - init_regColor; - (int)regColorToMap: (int)red : (int)green : (int)blue; - (paltype *)getNormalmap:(int *)cnum; - (paltype *)getReducedMap:(int *)cnum alpha:(BOOL)alpha; - (paltype *)getPalette; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.