File: os_gl_glut_pretend.h

package info (click to toggle)
pymol 3.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 74,084 kB
  • sloc: cpp: 482,660; python: 89,328; ansic: 29,512; javascript: 6,792; sh: 84; makefile: 25
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