diff options
author | dos-reis <gdr@axiomatics.org> | 2010-11-28 18:27:48 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-11-28 18:27:48 +0000 |
commit | a53a740a2a1cb6cbfa58cc79caedd4e947ff1ca0 (patch) | |
tree | 457424993ac0beaa92f79d5304570d9c6f88edfc /src/graph/view2D | |
parent | bbb5a69f0f2348adbbb8db960e5e45306b865683 (diff) | |
download | open-axiom-a53a740a2a1cb6cbfa58cc79caedd4e947ff1ca0.tar.gz |
* clef/: Add using directive at toplevel.
* etc/: Likewise.
* graph/: Likewise.
* hyper/: Likewise.
* lib/: Likewise.
* sman/: Likewise.
* Makefile.am (OA_SMAN_TARGETS): New.
(OA_GRAPHICS_TARGETS): Likewise.
Diffstat (limited to 'src/graph/view2D')
-rw-r--r-- | src/graph/view2D/main2d.c | 2 | ||||
-rw-r--r-- | src/graph/view2D/process2d.c | 4 | ||||
-rw-r--r-- | src/graph/view2D/viewport2D.c | 2 |
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; |