summaryrefslogtreecommitdiffstats
path: root/src/model/state/pan_info.h (plain)
blob: 9813ac9f60394e7fced1ed92a0a743e6be99b96f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef PAN_INFO_H
#define PAN_INFO_H

#include <stdbool.h>

typedef struct
{
  /*
   * A panning operation has begun.
   */
  bool active;

  /*
   * Coordinates of mouse when the pan operation is begun.
   */
  int begin[2];

  /*
   * Translation
   */
  float trans[2];
} PAN_INFO;

#endif // PAN_INFO_H

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.