Logo Search packages:      
Sourcecode: pymol version File versions

Control.h

/* 
A* -------------------------------------------------------------------
B* This file contains source code for the PyMOL computer program
C* copyright 1998-2000 by Warren Lyford Delano of DeLano Scientific. 
D* -------------------------------------------------------------------
E* It is unlawful to modify or remove this copyright notice.
F* -------------------------------------------------------------------
G* Please see the accompanying LICENSE file for further information. 
H* -------------------------------------------------------------------
I* Additional authors of this source file include:
-* 
-* 
-*
Z* -------------------------------------------------------------------
*/
#ifndef _H_Control
#define _H_Control

#include"Ortho.h"

typedef struct {
  Block *Block;
  int Rocking;
  int DragFlag;
  int LastPos;
  int ExtraSpace;
  float ButtonColor[3];
  float ActiveColor[3];
  int Pressed,Active;
}  CControl;

extern CControl Control;

void ControlInit(void);
void ControlFree(void);
Block *ControlGetBlock(void);
int ControlIdling(void);
void ControlInterrupt(void);
void ControlRock(int mode);

#endif

Generated by  Doxygen 1.6.0   Back to index