File: os_gl_glut_pretend.h

package info (click to toggle)
pymol 2.4.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 43,312 kB
  • sloc: cpp: 480,106; python: 79,860; ansic: 28,343; javascript: 6,792; sh: 47; makefile: 30; csh: 8
file content (26 lines) | stat: -rw-r--r-- 628 bytes parent folder | download | duplicates (3)
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
/**
 * GLUT emulation mode
 */

#pragma once

#ifndef _PYMOL_PRETEND_GLUT
#error "do not include directly, include os_gl.h"
#endif

#define P_GLUT_DOWN             0
#define P_GLUT_UP               1

#define P_GLUT_KEY_LEFT         100
#define P_GLUT_KEY_UP           101
#define P_GLUT_KEY_RIGHT        102
#define P_GLUT_KEY_DOWN         103
#define P_GLUT_KEY_PAGE_UP      104
#define P_GLUT_KEY_PAGE_DOWN    105
#define P_GLUT_KEY_HOME         106
#define P_GLUT_KEY_END          107
#define P_GLUT_KEY_INSERT       108

#define P_GLUT_LEFT_BUTTON      0
#define P_GLUT_MIDDLE_BUTTON    1
#define P_GLUT_RIGHT_BUTTON     2