summaryrefslogtreecommitdiff
path: root/cd/test/simple/iupmain.c
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2010-06-15 00:18:43 -0700
committerPixel <pixel@nobis-crew.org>2010-06-15 00:18:43 -0700
commit25e85e1b809ec58ecac0f2e8fe48f74836f8e131 (patch)
treea53caef2257fefdd6610a17427fd14ee656bbc92 /cd/test/simple/iupmain.c
parent7c0c85a86aa73c0c495523f994f8412e377a8195 (diff)
Upgrading to CD 5.3
Diffstat (limited to 'cd/test/simple/iupmain.c')
-rwxr-xr-xcd/test/simple/iupmain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cd/test/simple/iupmain.c b/cd/test/simple/iupmain.c
index 4eb4a5d..daf058a 100755
--- a/cd/test/simple/iupmain.c
+++ b/cd/test/simple/iupmain.c
@@ -15,7 +15,9 @@ int main(int argc, char** argv)
{
IupOpen(&argc, &argv);
+#ifdef USE_CONTEXTPLUS
cdInitContextPlus();
+#endif
simple_loadled();
@@ -44,6 +46,7 @@ int main(int argc, char** argv)
IupSetFunction("SimpleDrawPDF", (Icallback) SimpleDrawPDF);
IupSetFunction("SimpleDrawPS", (Icallback) SimpleDrawPS);
IupSetFunction("SimpleDrawEPS", (Icallback) SimpleDrawEPS);
+ IupSetFunction("SimpleDrawSVG", (Icallback) SimpleDrawSVG);
IupSetFunction("SimpleDrawWMF", (Icallback) SimpleDrawWMF);
IupSetFunction("SimpleDrawPrint", (Icallback) SimpleDrawPrint);
IupSetFunction("SimpleDrawPrintDialog", (Icallback) SimpleDrawPrintDialog);