-rw-r--r-- | src/model/exp004state.h | 20 |
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 } viewport; /* - * Points loaded. - */ - int points; - - /* * Buffer objects. */ unsigned int buffers[1]; @@ -96,6 +91,21 @@ typedef struct */ bool selection[ROWS]; + /* + * Indicate if the user is currently defining a selection. + */ + bool selecting; + + /* + * X coordinate of mouse when selection mode initiated. + */ + int select_x; + + /* + * Y coordinate of mouse when selection mode initiated. + */ + int select_y; + } EXP004STATE; #endif // EXP004STATE_H |