Mercurial > fife-parpg
view engine/core/view/renderers/geometricrenderer.i @ 27:788cb9525b2f
add image and text renderer to generic renderer
author | spq@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 11 Jul 2008 11:57:48 +0000 |
parents | ae46cee19e76 |
children |
line wrap: on
line source
%module fife %{ #include "view/renderers/geometricrenderer.h" %} namespace FIFE { class RenderBackend; class GeometricRenderer: public RendererBase { public: virtual ~GeometricRenderer(); std::string getName(); void addLine(Point p1, Point p2, int r, int g, int b); void removeAllLines(); static GeometricRenderer* getInstance(IRendererContainer* cnt); private: GeometricRenderer(RenderBackend* renderbackend, int position); }; }