From 7ce445025e10bf4eb0c4066907e588039c09f1ad Mon Sep 17 00:00:00 2001 From: louis Date: Wed, 3 Dec 2014 18:12:37 +0100 Subject: drawing ellipses antialiased with Cairo --- libtemplate/templatefunction.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libtemplate/templatefunction.h') diff --git a/libtemplate/templatefunction.h b/libtemplate/templatefunction.h index f7af25c..59d6002 100644 --- a/libtemplate/templatefunction.h +++ b/libtemplate/templatefunction.h @@ -102,7 +102,10 @@ enum eOverflowType { }; class cTemplateFunction { +private: + static int nextId; protected: + int id; eFuncType type; bool debug; int containerX; //X of parent container @@ -185,6 +188,7 @@ public: //Parse parameters with dynamically set Tokens bool ParseParameters(void); //Getter Functions + int GetId(void) { return id; }; eFuncType GetType(void) { return type; }; bool DoDebug(void) { return debug; }; string GetParameter(eParamType type); -- cgit v1.2.3