home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************************\
-
- File: dialutil.h
-
- Purpose: This module provides routines useful for dialog processing.
-
-
- ``Tetris Light'' - a simple implementation of a Tetris game.
- Copyright (C) 1993 Hoylen Sue
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; see the file COPYING. If not, write to the
- Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
-
- \******************************************************************************/
-
- #ifndef dialutil_H
- #define dialutil_H
-
- /*--------------------------------------------------------------------*/
-
- #define ESC_KEY 0x35
- #define ENTER_CODE 0x03
- #define RETURN_CODE 0x0D
-
- /*--------------------------------------------------------------------*/
-
- extern void install_hilight_button(DialogPtr dialog, INTEGER button_item,
- INTEGER usr_item);
- extern void simulate_key_hit(DialogPtr dp, INTEGER button_item);
-
- /*--------------------------------------------------------------------*/
-
- #endif
-