path:
root/
src/
model/
selection_info.h (
plain)
blob: ccd3f7a08bfea65d473c8d72c2c8b3fa942c4d95
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
42
|
#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
|