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.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libtemplate/templatefunction.c') diff --git a/libtemplate/templatefunction.c b/libtemplate/templatefunction.c index 8465961..1ddf297 100644 --- a/libtemplate/templatefunction.c +++ b/libtemplate/templatefunction.c @@ -6,7 +6,10 @@ using namespace std; // --- cTemplateFunction ------------------------------------------------------------- -cTemplateFunction::cTemplateFunction(eFuncType type) { +int cTemplateFunction::nextId = 0; + +cTemplateFunction::cTemplateFunction(eFuncType type) { + id = nextId++; this->type = type; debug = false; containerX = 0; -- cgit v1.2.3