summaryrefslogtreecommitdiffstats
Unidiff
-rw-r--r--src/model/exp004state.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/src/model/exp004state.h b/src/model/exp004state.h
index e45f679..669e4cb 100644
--- a/src/model/exp004state.h
+++ b/src/model/exp004state.h
@@ -67,11 +67,6 @@ typedef struct
67 } viewport;67 } viewport;
6868
69 /*69 /*
70 * Points loaded.
71 */
72 int points;
73
74 /*
75 * Buffer objects.70 * Buffer objects.
76 */71 */
77 unsigned int buffers[1];72 unsigned int buffers[1];
@@ -96,6 +91,21 @@ typedef struct
96 */91 */
97 bool selection[ROWS];92 bool selection[ROWS];
9893
94 /*
95 * Indicate if the user is currently defining a selection.
96 */
97 bool selecting;
98
99 /*
100 * X coordinate of mouse when selection mode initiated.
101 */
102 int select_x;
103
104 /*
105 * Y coordinate of mouse when selection mode initiated.
106 */
107 int select_y;
108
99} EXP004STATE;109} EXP004STATE;
100110
101#endif // EXP004STATE_H111#endif // EXP004STATE_H

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.