Changeset 1503 in Sophya for trunk/SophyaPI/PI/picmapgen.h
- Timestamp:
- May 21, 2001, 3:09:26 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/picmapgen.h
r440 r1503 24 24 25 25 virtual PIColor GetColor(int n)=0; 26 inline void ReverseColorIndex(bool fg=false) 27 { mFlagReversedIndex = fg; } 28 inline bool IsColorIndexReversed() const 29 { return(mFlagReversedIndex); } 26 30 virtual bool AllocColor(PIColor const& col, int index)=0; 27 31 virtual void FreeColors()=0; // Desalloue les couleurs 28 32 29 virtual long TotNbColors()=0;// Donne le nombre total de couleurs disponibles33 virtual long TotNbColors()=0; // Donne le nombre total de couleurs disponibles 30 34 virtual int NbAllocColors()=0; // Nb de couleurs deja allouees 31 35 protected: … … 37 41 int mType; 38 42 string mNom; 39 43 bool mFlagReversedIndex; 40 44 }; 41 45
Note:
See TracChangeset
for help on using the changeset viewer.