menu.h

来自「开放源码的编译器open watcom 1.6.0版的源代码」· C头文件 代码 · 共 84 行

H
84
字号
/****************************************************************************
*
*                            Open Watcom Project
*
*    Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
*  ========================================================================
*
*    This file contains Original Code and/or Modifications of Original
*    Code as defined in and that are subject to the Sybase Open Watcom
*    Public License version 1.0 (the 'License'). You may not use this file
*    except in compliance with the License. BY USING THIS FILE YOU AGREE TO
*    ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
*    provided with the Original Code and Modifications, and is also
*    available at www.sybase.com/developer/opensource.
*
*    The Original Code and all software distributed under the License are
*    distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
*    EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
*    ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
*    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
*    NON-INFRINGEMENT. Please see the License for the specific language
*    governing rights and limitations under the License.
*
*  ========================================================================
*
* Description:  WHEN YOU FIGURE OUT WHAT THIS FILE DOES, PLEASE
*               DESCRIBE IT HERE!
*
****************************************************************************/


#define SUBMENU_FILE            51
#define SUBMENU_BOUNDARY        52
#define SUBMENU_PATTERN         53
#define SUBMENU_MOUSE           54
#define SUBMENU_CONTROL         55
#define SUBMENU_SCREEN          56
#define SUBMENU_BITMAP          57

#define MENU_SAVE               601
#define MENU_LOAD               602
#define MENU_ABOUT              603

#define MENU_WRAP_AROUND        102
#define MENU_BOUNDED_EDGES      103
#define MENU_NEW_RULES          104

#define MENU_PAUSE              201
#define MENU_RESUME             202
#define MENU_FASTEST            203

#define MENU_CLEAR              301
#define MENU_RANDOM             302
#define MENU_GRID               303


#define MENU_ROTATE_P90         501
#define MENU_ROTATE_M90         502
#define MENU_ROTATE_180         503
#define MENU_REFLECT_X          504
#define MENU_REFLECT_Y          505

#define MENU_SINGLE_STEP        701
#define MENU_SELECT             702
#define MENU_FLIP_PATTERNS      703

#define MENU_TINY_BIT           801
#define MENU_SMALL_BIT          802
#define MENU_MED_BIT            803
#define MENU_LARGE_BIT          804
#define MENU_HUGE_BIT           805

#define MENU_PATTERN            1000

#define MAX_MENU_SIZE_X         50
#define MAX_MENU_SIZE_Y         50

#define MIN_MENU_SIZE_X         30
#define MIN_MENU_SIZE_Y         30

#define RES_MENU_BITMAP         2
#define RES_MAIN_MENU           3

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?