Changeset 10 in Sophya for trunk/SophyaPI/PI/pipixmapgen.cc
- Timestamp:
- Mar 8, 1996, 8:02:56 PM (30 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/pipixmapgen.cc
r6 r10 29 29 30 30 /* --Methode-- */ 31 void PIPixmapGen::SetPixmap(unsigned char *pix, int sx, int sy )31 void PIPixmapGen::SetPixmap(unsigned char *pix, int sx, int sy, bool refr) 32 32 { 33 33 pixmap = pix; nx = sx; ny = sy; 34 Refresh();34 if (refr) Refresh(); 35 35 } 36 36 37 37 38 38 /* --Methode-- */ 39 void PIPixmapGen::SetColMap(CMapId cmapid )39 void PIPixmapGen::SetColMap(CMapId cmapid, bool refr) 40 40 { 41 42 43 Refresh();41 if (cmap) delete cmap; 42 cmap = new PIColorMap(cmapid); 43 if (refr) Refresh(); 44 44 } 45 45
Note:
See TracChangeset
for help on using the changeset viewer.