Fresco/GGI/GGIKit GGIKitImpl.cc,1.4,1.5
Tobias Hunger <[email protected]>
| Newsgroups | gmane.comp.video.fresco.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvs/fresco/Fresco/GGI/GGIKit
In directory purcel:/tmp/cvs-serv23909/GGIKit
Modified Files:
GGIKitImpl.cc
Log Message:
Forgot this Kit with my last commit:-) Actually belongs to the commit with
this message:
Move the create template from the LayoutKit into KitImpl.hh and use it
in all Kits.
Index: GGIKitImpl.cc
===================================================================
RCS file: /cvs/fresco/Fresco/GGI/GGIKit/GGIKitImpl.cc,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- GGIKitImpl.cc 29 May 2002 06:49:41 -0000 1.4
+++ GGIKitImpl.cc 23 Jan 2003 23:10:37 -0000 1.5
@@ -30,10 +30,10 @@
GGI::Visual_ptr GGIKitImpl::create_visual(Fresco::PixelCoord w, Fresco::PixelCoord h)
{
- VisualImpl *visual = new VisualImpl(w, h);
- activate(visual);
- return visual->_this();
+ return create<Visual>(new VisualImpl(w, h));
}
+
+
extern "C" KitImpl *load()
{