diff engine/core/view/renderers/genericrenderer.i @ 105:2241b0d5379e

use strings as grouping in generic renderer, easier for the clients...
author spq@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 24 Jul 2008 13:20:39 +0000
parents 90005975cdbb
children 9d94f4676d17
line wrap: on
line diff
--- a/engine/core/view/renderers/genericrenderer.i	Thu Jul 24 10:18:44 2008 +0000
+++ b/engine/core/view/renderers/genericrenderer.i	Thu Jul 24 13:20:39 2008 +0000
@@ -141,12 +141,12 @@
 		~GeometricRenderer();
 		std::string getName();
 		static GenericRenderer* getInstance(IRendererContainer* cnt);
-		void addLine(int group, GenericRendererNode n1, GenericRendererNode n2, uint8_t r, uint8_t g, uint8_t b);
-		void addPoint(int group, GenericRendererNode n, uint8_t r, uint8_t g, uint8_t b);
-		void addQuad(int group, GenericRendererNode n1, GenericRendererNode n2, GenericRendererNode n3, GenericRendererNode n4, uint8_t r, uint8_t g, uint8_t b);
-		void addText(int group, GenericRendererNode n, AbstractFont* font, std::string text);
-		void addImage(int group, GenericRendererNode n, int image);
-		void addAnimation(int group, GenericRendererNode n, int animation);
-		void removeAll(int group);
+		void addLine(const std::string &group, GenericRendererNode n1, GenericRendererNode n2, uint8_t r, uint8_t g, uint8_t b);
+		void addPoint(const std::string &group, GenericRendererNode n, uint8_t r, uint8_t g, uint8_t b);
+		void addQuad(const std::string &group, GenericRendererNode n1, GenericRendererNode n2, GenericRendererNode n3, GenericRendererNode n4, uint8_t r, uint8_t g, uint8_t b);
+		void addText(const std::string &group, GenericRendererNode n, AbstractFont* font, const std::string &text);
+		void addImage(const std::string &group, GenericRendererNode n, int image);
+		void addAnimation(const std::string &group, GenericRendererNode n, int animation);
+		void removeAll(const std::string &group);
 	};
 }