Changeset 3519 in Sophya for trunk/SophyaPI/PI/pipixmapgen.h
- Timestamp:
- Sep 11, 2008, 2:43:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/pipixmapgen.h
r1503 r3519 9 9 #include PICMAP_H 10 10 11 #include "pipixutils.h" 12 11 13 #include <list> 14 12 15 13 16 class PIPixmapGen : public PIBaseWdg … … 22 25 virtual long kind() {return ClassId; } 23 26 24 virtual void SetPixmap(unsigned char *pix, int sx, int sy, 25 bool refr=true, int ox=0, int oy=0); 27 virtual void SetPixmap(PIPixColIdx *pixidx, bool refr=true, int ox=0, int oy=0); 28 virtual void SetRGBArray(PIPixRGBArray *rgba, CMapId cmapid=CMAP_RGB512, 29 bool refr=true, int ox=0, int oy=0); 26 30 27 31 virtual void SetColMap(PIColorMap* cmp, bool refr=true); … … 39 43 40 44 protected: 41 unsigned char *pixmap;42 int nx, ny;43 int ofx, ofy; 45 PIPixColIdx *pixmap; // Pointeur d'objet PIPixCoIdx, tableau d'index de couleurs, peut etre NULL 46 bool fgownpmap; // si true -> possede le pixmap et doit le deleter si besoin 47 int ofx, ofy; // Offset d'affichage 44 48 PIColorMap* cmap; 45 49
Note:
See TracChangeset
for help on using the changeset viewer.