00001 // ****************************************************************** 00002 // * TITLE: keywin.h * 00003 // * AUTHOR: Steven W * 00004 // * DATE: April 30, 1993 * 00005 // * Purpose: Header file for keywin.c * 00006 // ****************************************************************** 00007 00008 #ifndef _KEYWIN_H 00009 #define _KEYWIN_H 00010 00011 00012 #include "display.h" 00013 #include "checkbox.h" 00014 #include "players.h" 00015 00016 const int KeyXDim = 75; 00017 const int KeyYDim = 75; 00018 00019 class KeyWindow : public Window 00020 { 00021 private: 00022 CheckBox *c[MaxPlayers]; 00023 00024 public: 00025 KeyWindow (); 00026 void Init (Display *d, int x, int y); 00027 void Draw (); 00028 Message Dispatch (Message&) { return NullMsg; } 00029 // messages are not needed, because nothing can be pressed 00030 }; 00031 00032 00033 #endif