Line | |
---|
1 | #ifndef PICMAPMAC_H_SEEN
|
---|
2 | #define PICMAPMAC_H_SEEN
|
---|
3 |
|
---|
4 | #include "picmapgen.h"
|
---|
5 | #include <Palettes.h>
|
---|
6 |
|
---|
7 |
|
---|
8 | class PIColorMapMac : public PIColorMapGen {
|
---|
9 | public:
|
---|
10 | PIColorMapMac();
|
---|
11 | PIColorMapMac(int id, int nc, string const& nom);
|
---|
12 | ~PIColorMapMac();
|
---|
13 |
|
---|
14 | virtual PIColor GetColor(int n);
|
---|
15 | virtual bool AllocColor(PIColor const& col, int index); // $CHECK$ Reza 01/12/97(Modif)
|
---|
16 | virtual void FreeColors();
|
---|
17 |
|
---|
18 | virtual long TotNbColors();
|
---|
19 | virtual int NbAllocColors();
|
---|
20 |
|
---|
21 | CTabHandle GetCTab() {return mCTab;}
|
---|
22 | protected:
|
---|
23 | void CopyFrom(PIColorMapGen*);
|
---|
24 |
|
---|
25 | CTabHandle mCTab;
|
---|
26 | PaletteHandle mPalette;
|
---|
27 |
|
---|
28 | friend class PIColorMapGen;
|
---|
29 | friend class PIPixmapMac;
|
---|
30 | };
|
---|
31 |
|
---|
32 | typedef PIColorMapMac PIColorMapNative;
|
---|
33 |
|
---|
34 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.