Fresco/contrib/daVinci/src main.cc,1.5,1.6

Tobias Hunger <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/contrib/daVinci/src
In directory purcel:/tmp/cvs-serv27814/contrib/daVinci/src

Modified Files:
	main.cc 
Log Message:
Renamed the methods on the ImageKit
from empty() to create_empty_raster() and
from create() to create_raster() to be more in sync with the nameing scheme of
the other Kits.


Index: main.cc
===================================================================
RCS file: /cvs/fresco/Fresco/contrib/daVinci/src/main.cc,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- main.cc	4 Dec 2002 02:46:54 -0000	1.5
+++ main.cc	25 Jan 2003 12:43:49 -0000	1.6
@@ -95,10 +95,10 @@
     daVinci::Tool *polygon = new CreateTool<PolygonCreator>();
     Unidraw::Tool_var select = unidraw->select_tool();
     Editor_var editor = unidraw->create_editor();
-    Raster_var slabel = images->create("daVinci/select.png");
-    Raster_var rlabel = images->create("daVinci/rectangle.png");
+    Raster_var slabel = images->create_raster("daVinci/select.png");
+    Raster_var rlabel = images->create_raster("daVinci/rectangle.png");
     //   Raster_var clabel = images->create("daVinci/circle.png");
-    Raster_var tlabel = images->create("daVinci/triangle.png");
+    Raster_var tlabel = images->create_raster("daVinci/triangle.png");
     Image_var simage = figures->pixmap(slabel);
     Image_var rimage = figures->pixmap(rlabel);
     //   Image_var cimage = figures->pixmap(clabel);
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.