Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GLUT_KBD Class Reference

#include <kbd.H>

Collaboration diagram for GLUT_KBD:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GLUT_KBD (GLUT_WINSYS *winsys)
GLUT_WINSYSwinsys ()
void update_mods (mlib::CXYpt &cur)

Static Public Member Functions

static GLUT_KBDkbd ()

Protected Attributes

GLUT_WINSYS_winsys
bool _shift
bool _ctrl

Static Protected Attributes

static ARRAY< GLUT_KBD * > _kbds

Detailed Description

Definition at line 8 of file kbd.H.


Constructor & Destructor Documentation

GLUT_KBD::GLUT_KBD GLUT_WINSYS winsys  ) 
 

Definition at line 83 of file kbd.C.

References _kbds, GLUT_WINSYS::id(), normal_keydown_callback(), normal_keyup_callback(), and ARRAY< T >::num().


Member Function Documentation

GLUT_KBD * GLUT_KBD::kbd  )  [static]
 

Definition at line 98 of file kbd.C.

References _kbds, and glutGetWindow().

Referenced by normal_keydown_callback(), and normal_keyup_callback().

void GLUT_KBD::update_mods mlib::CXYpt cur  ) 
 

Referenced by normal_keydown_callback(), and normal_keyup_callback().

GLUT_WINSYS* GLUT_KBD::winsys  )  [inline]
 

Definition at line 17 of file kbd.H.

References _winsys.

Referenced by normal_keydown_callback(), and normal_keyup_callback().


Member Data Documentation

bool GLUT_KBD::_ctrl [protected]
 

Definition at line 13 of file kbd.H.

ARRAY< GLUT_KBD * > GLUT_KBD::_kbds [static, protected]
 

Definition at line 11 of file kbd.H.

Referenced by GLUT_KBD(), and kbd().

bool GLUT_KBD::_shift [protected]
 

Definition at line 12 of file kbd.H.

GLUT_WINSYS* GLUT_KBD::_winsys [protected]
 

Definition at line 10 of file kbd.H.

Referenced by winsys().


The documentation for this class was generated from the following files:
Generated on Mon Sep 18 11:45:49 2006 for jot by  doxygen 1.4.4