path:
root/
src/
model/
selection_info.h (
plain)
blob: 970ecec3f73bf5ee81d1beaf263f6c8f48fc6cf3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#ifndef SELECTION_INFO_H
#define SELECTION_INFO_H
#include "selection_purposes.h"
#include <stdbool.h>
/*
* Vertices in the graph.
*/
#define ROWS 83905
typedef struct {
/*
* Selection list.
*/
bool set[ROWS];
/*
* A selection is being performed.
*/
bool active;
/*
* Indicate if the user is currently defining a selection.
*/
SELECTION_PURPOSES purpose;
/*
* X coordinate of mouse when selection mode initiated.
*/
int x;
/*
* Y coordinate of mouse when selection mode initiated.
*/
int y;
} SELECTION_INFO;
#endif // SELECTION_INFO_H
|