view anagram/vaclgui/vaclgui-res.h @ 21:1c9dac05d040

Add lint-style FALLTHROUGH annotations to fallthrough cases. (in the parse engine and thus the output code) Document this, because the old output causes warnings with gcc10.
author David A. Holland
date Mon, 13 Jun 2022 00:04:38 -0400
parents 13d2b8934445
children
line wrap: on
line source

/*
 * AnaGram, A System for Syntax Directed Programming
 * Copyright 1996-2002 Parsifal Software. All Rights Reserved.
 * See the file COPYING for license and usage terms.
 *
 * vaclgui-res.h
 */

#ifndef VACLGUI_RES_H
#define VACLGUI_RES_H

/*
 * UI Class Library Application.  This file was created for Your name
 * by Project Smarts on 19 Dec 1996.
*/

/*----------------------*/
/* Constant definitions */
/*----------------------*/

#define EMPTY_STRING       ""            /* Empty string constant */


/*--------------------------*/
/* Identifier constants     */
/*--------------------------*/

/* Window IDs */
#define  IDW_FRAME_WINDOW          9010

#define AG_SUNKEN                 0X1000L

/* Static text IDs */
#define  IDT_TEXT                    8000

/* Icon IDs */
#define  IDI_ICON                    8900

#define  IDI_BMP_AG                  8901
#define  IDI_BMP_BP                  8902
#define  IDI_BMP_FT                  8903
#define  IDI_BMP_GT                  8904
#define  IDI_BMP_CONF                8905
#define  IDI_BMP_HELPICON            8906
#define  IDI_BMP_FINDNEXT            8907
#define  IDI_BMP_FINDPREV            8908
#define  IDI_CUR_HELP                8909
#define  IDI_SEARCH_KEY              8910
#define  IDI_BMP_LINESPINNER         8911
#define  IDI_BMP_WARN                8912
#define  IDI_STATUS                  8913
#define  IDI_FINGER_CUR              8914

/* Toolbar buttons */

#define IDTB_RESET                    9100
#define IDTB_STEP                     9101
#define IDTB_HELP                     9102
#define IDTB_PARSE_FILE               9103
#define IDTB_RELOAD                   9104
#define IDTB_PROCEED                  9105

/* Menu item IDs */
#define IDM_BASE            10000
#define IDM_ANALYZE         (IDM_BASE + 1)
#define IDM_BUILD_PARSER    (IDM_BASE + 2)
#define IDM_FILE_TRACE      (IDM_BASE + 3)
#define IDM_GRAMMAR_TRACE   (IDM_BASE + 4)
#define IDM_FILE            (IDM_BASE + 5)

#define IDM_EXIT            (IDM_BASE + 6)
#define IDM_EDIT            (IDM_BASE + 7)
#define IDM_EDIT_FIND       (IDM_BASE + 8)
#define IDM_EDIT_FINDNEXT   (IDM_BASE + 9)
#define IDM_EDIT_FINDPREV   (IDM_BASE + 10)
#define IDM_HELP            (IDM_BASE + 13)
#define IDM_HELP_INDEX      (IDM_BASE + 14)
#define IDM_HELP_START      (IDM_BASE + 15)
#define IDM_HELP_USING      (IDM_BASE + 16)
#define IDM_HELP_NEW        (IDM_BASE + 17)
#define IDM_HELP_PRODINFO   (IDM_BASE + 18)
#define IDM_HELP_LICENSE    (IDM_BASE + 19)

#define IDM_BROWSE          (IDM_BASE + 20)
#define IDM_CHAR_MAP        (IDM_BASE + 21)
#define IDM_CHAR_SETS       (IDM_BASE + 22)
#define IDM_UNRES_CON       (IDM_BASE + 23)
#define IDM_CONFIG_PARAM    (IDM_BASE + 24)
#define IDM_ERROR_TRACE     (IDM_BASE + 25)
#define IDM_ANOMALY_TABLE   (IDM_BASE + 26)
#define IDM_KEYWORD_TABLE   (IDM_BASE + 27)
#define IDM_PARTITION_SETS  (IDM_BASE + 28)
#define IDM_PROC_TABLE      (IDM_BASE + 29)
#define IDM_RES_CON         (IDM_BASE + 30)
#define IDM_RULE_COUNTS     (IDM_BASE + 31)
#define IDM_RULE_TABLE      (IDM_BASE + 32)
#define IDM_STATE_TABLE     (IDM_BASE + 33)
#define IDM_TRACE_COUNTS    (IDM_BASE + 34)
#define IDM_TOKEN_TABLE     (IDM_BASE + 35)
#define IDM_SYMBOL_TABLE    (IDM_BASE + 36)
#define IDM_ERROR_TABLE     (IDM_BASE + 37)

#define IDM_OPTIONS         (IDM_BASE + 40)
#define IDM_COLORS          (IDM_BASE + 41)
#define IDM_FONT            (IDM_BASE + 42)

#define IDM_WINDOWS         (IDM_BASE + 50)
#define IDM_CASCADE         (IDM_BASE + 51)
#define IDM_CLOSE_WINDOWS   (IDM_BASE + 52)
#define IDM_SYNTAX_FILE     (IDM_BASE + 53)

#define IDM_BUILD           (IDM_BASE + 54)
#define IDM_SHOW_SYNTAX     (IDM_BASE + 55)
#define IDM_REANALYZE       (IDM_BASE + 56)
#define IDM_REBUILD         (IDM_BASE + 57)
#define IDM_HIDE_WINDOWS    (IDM_BASE + 58)
#define IDM_RESTORE_WINDOWS (IDM_BASE + 59)

#define IDM_SHOW_STATS      (IDM_BASE + 60)
#define IDM_STATISTICS      (IDM_BASE + 61)
#define IDM_STAY_ON_TOP     (IDM_BASE + 62)
#define IDM_COPY            (IDM_BASE + 63)
#define IDM_AUTOBUILD       (IDM_BASE + 64)

#define IDM_HELP_PROG_DEV   (IDM_BASE + 65)
#define IDM_RECENT_FILES    (IDM_BASE + 66)

/* Dialog and dialog control IDs */
#define IDD_BASE            12000
#define IDD_PROD_INFO       12001
#define IDT_PRODINFO_TEXT1  (IDD_BASE + 2)
#define IDT_PRODINFO_TEXT2  (IDD_BASE + 3)
#define IDT_PRODINFO_TEXT3  (IDD_BASE + 4)
#define IDT_PRODINFO_TEXT4  (IDD_BASE + 5)
#define IDT_PRODINFO_TEXT5  (IDD_BASE + 6)
#define IDP_PRODINFO_OK     (IDD_BASE + 7)
#define IDI_PRODINFO_ICON   (IDD_BASE + 8)



/* String IDs */
#define IDS_BASE                    13000
#define IDS_TITLE                   (IDS_BASE + 1)
#define IDS_EXIT                    (IDS_BASE + 2)
#define IDS_FILE_OPEN               (IDS_BASE + 3)

/* User event IDs */
#define UM_BASE                     9000
#define UM_NOHELP                   (UM_BASE + 1)


#endif /* VACLGUI_RES_H */