aboutsummaryrefslogtreecommitdiff
path: root/src/graph/view2D
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph/view2D')
-rw-r--r--src/graph/view2D/main2d.c2
-rw-r--r--src/graph/view2D/process2d.c4
-rw-r--r--src/graph/view2D/viewport2D.c2
3 files changed, 7 insertions, 1 deletions
diff --git a/src/graph/view2D/main2d.c b/src/graph/view2D/main2d.c
index 5df59398..5642c7ae 100644
--- a/src/graph/view2D/main2d.c
+++ b/src/graph/view2D/main2d.c
@@ -51,6 +51,8 @@
#include "XSpadFill.h"
#include "cfuns.h"
+using namespace OpenAxiom;
+
/**********************/
/** global variables **/
diff --git a/src/graph/view2D/process2d.c b/src/graph/view2D/process2d.c
index eb711bc9..803a2822 100644
--- a/src/graph/view2D/process2d.c
+++ b/src/graph/view2D/process2d.c
@@ -54,6 +54,8 @@
#include "XSpadFill.h"
#include "cfuns.h"
+using namespace OpenAxiom;
+
static int doit=0; /* globish variable for picking/dropping/clearing - all sorts of
2 button sequence events (command & graph #). */
@@ -533,7 +535,7 @@ processEvents(void)
break;
}
if (!followMouse)
- len=select(FD_SETSIZE,(void *) &rd,0,0,0);
+ len=select(FD_SETSIZE, &rd,0,0,0);
else
len=1;
}
diff --git a/src/graph/view2D/viewport2D.c b/src/graph/view2D/viewport2D.c
index ec1f7083..0d5aaf30 100644
--- a/src/graph/view2D/viewport2D.c
+++ b/src/graph/view2D/viewport2D.c
@@ -60,6 +60,8 @@
#include "spadBitmap.bitmap"
#include "spadMask.mask"
+using namespace OpenAxiom;
+
#define rint(z) ((int)(z))
Atom wm_delete_window;