summaryrefslogtreecommitdiffstats
authorDon Pellegrino <don@drexel.edu>2009-06-18 21:12:17 (GMT)
committer Don Pellegrino <don@drexel.edu>2009-06-18 21:12:17 (GMT)
commit906ded217057bb47ee776f09daecdf683a4dca6f (patch) (side-by-side diff)
tree54e9bb2eb13d0f81f550ae2c18ebb50db98c0d1b
parent092f0707cc35d52579e0cfe641f76857e3e97139 (diff)
downloadexp005-906ded217057bb47ee776f09daecdf683a4dca6f.zip
exp005-906ded217057bb47ee776f09daecdf683a4dca6f.tar.gz
exp005-906ded217057bb47ee776f09daecdf683a4dca6f.tar.bz2
Implemented zooming.
-rw-r--r--src/controller/clear_selection.sqc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/controller/clear_selection.sqc b/src/controller/clear_selection.sqc
index 65426e5..01a5364 100644
--- a/src/controller/clear_selection.sqc
+++ b/src/controller/clear_selection.sqc
@@ -5,8 +5,8 @@
#include "clear_selection.h"
#include "../view/exp004state0.h"
#include <GL/glut.h>
-
-EXEC SQL INCLUDE sqlca;
+#include "sqlca.h"
+extern struct sqlca sqlca;
/*
* A simple alias to make the code more readable.
@@ -27,7 +27,7 @@ clear_selection (void)
for (unsigned int i = 0; i < ROWS; i++)
{
- S.selection[i] = false;
+ S.selection.set[i] = false;
S.base_colors_data[i][0] = DEFAULT_COLOR_R;
S.base_colors_data[i][1] = DEFAULT_COLOR_G;
S.base_colors_data[i][2] = DEFAULT_COLOR_B;

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.