Fresco/Berlin/modules/Rasters RasterKitImpl.cc,1.21,1.22 RasterKitImpl.hh,1.15,1.16

Nick Lewycky <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Berlin/modules/Rasters
In directory purcel:/tmp/cvs-serv31230/Berlin/modules/Rasters

Modified Files:
	RasterKitImpl.cc RasterKitImpl.hh 
Log Message:
Change to the semantics of both Raster::load_pixels and
RasterKit::create_empty_raster.


Index: RasterKitImpl.cc
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/modules/Rasters/RasterKitImpl.cc,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- RasterKitImpl.cc	18 Feb 2003 21:18:13 -0000	1.21
+++ RasterKitImpl.cc	20 Feb 2003 02:36:43 -0000	1.22
@@ -37,9 +37,9 @@
    : KitImpl(id, p, c) { }
 RasterKitImpl::~RasterKitImpl() { }
 
-Raster_ptr RasterKitImpl::create_empty_raster()
+Raster_ptr RasterKitImpl::create_empty_raster(const Fresco::Raster::Info &rinfo)
 {
-  return create<Fresco::Raster>(new RasterImpl());
+  return create<Fresco::Raster>(new RasterImpl(rinfo));
 }
 
 Raster_ptr RasterKitImpl::create_raster(const char *file)

Index: RasterKitImpl.hh
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/modules/Rasters/RasterKitImpl.hh,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- RasterKitImpl.hh	18 Feb 2003 21:18:13 -0000	1.15
+++ RasterKitImpl.hh	20 Feb 2003 02:36:44 -0000	1.16
@@ -48,7 +48,7 @@
   virtual KitImpl *clone(const Fresco::Kit::PropertySeq &p, ServerContextImpl *c)
   { return new RasterKitImpl(repo_id(), p, c);}
 
-  Fresco::Raster_ptr create_empty_raster();
+  Fresco::Raster_ptr create_empty_raster(const Fresco::Raster::Info &);
   Fresco::Raster_ptr create_raster(const char *file);
 };
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.