WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
ColorFile.h
1#ifndef _WINC_COLORFILE
2#define _WINC_COLORFILE
3
4#include <WXP/ColorMap.h>
5
6namespace WXP {
7 class ColorFile {
8 public:
9 static int read( const char *file, ColorMap &color );
10 static int readFile( const char *file, ColorMap &color );
11 };
12}
13#endif
This class reads data from a color table file and populates a ColorMap class.
Definition ColorFile.h:7
static int readFile(const char *file, ColorMap &color)
Definition ColorFile.cc:48
static int read(const char *file, ColorMap &color)
Definition ColorFile.cc:27
This class defines a specific color map. This is a mapping between color indices, color names and RGB...
Definition ColorMap.h:8
All WXP classes fall under the WXP namespace.
Definition Angle.h:4