Changeset 63 in Sophya for trunk/SophyaPI/PI/picmapx.h
- Timestamp:
- Dec 5, 1997, 11:13:15 PM (28 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/picmapx.h
r30 r63 9 9 class PIColorMapX : public PIColorMapGen { 10 10 public: 11 friend class PIColorMapGen; 12 friend class PIPixmapX; 13 14 PIColorMapX(CMapId); 15 PIColorMapX(string const& nom, int nCol); 11 PIColorMapX(); 12 PIColorMapX(int id, int nc, string const& nom); 13 virtual ~PIColorMapX(); 16 14 17 15 inline PIXColor Color(int index) … … 19 17 20 18 virtual PIColor GetColor(int n); 21 virtual voidAllocColor(PIColor const& col, int index);19 virtual bool AllocColor(PIColor const& col, int index); 22 20 virtual void FreeColors(); 23 // virtual void MakeColMap(); 21 22 virtual int TotNbColors(); 23 virtual int NbAllocColors(); 24 24 25 protected: 25 PIColorMapX(CMapId id, int i); // Fait une veritable allocation 26 void CopyFrom(PIColorMapGen*); 26 virtual void CopyFrom(PIColorMapGen*); 27 27 28 28 PIXColor * mColors; // La table des couleurs ...
Note:
See TracChangeset
for help on using the changeset viewer.