/* 
 * Copyright 1997 by Eric House (fixin@peak.org).  All rights reserved.
 *
 * 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; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 // form controls.  Keep the IDs unique in case I want to use the same in
// both forms (as I'm doing with the menu now.)
#define XWC_MAIN_MENU_ID 1000
#define XWC_BOARD_LIST_ID 1001
//#define XWC_BOARD_LABEL_ID 1002
// these need the same ID so the same code will work for both
/* #define XWC_BOTH_NAMEFIELD_ID 1002 */
#define XWC_GENERIC_CANCEL_BUTTON_ID 1003
#define XWC_GENERIC_FIELD_ID 1004
#define XWC_GENERIC_OK_BUTTON_ID 1005
#define XWC_TILES_LABEL_ID 1006
#define XWC_TILES_LIST_ID 1007
#define XWC_TILES_ADD_BUTTON_ID 1008
#define XWC_TILES_DELETE_BUTTON_ID 1009
#define XWC_LETTER_OK_BUTTON_ID 1010
#define XWC_LETTER_LETTERLABEL_ID 1011
#define XWC_LETTER_LETTERFIELD_ID 1012
#define XWC_LETTER_NUMBERLABEL_ID 1013
#define XWC_LABEL_VALUELABEL_ID 1014
#define XWC_NUMBER_POPUP_ID 1015
#define XWC_NUMBER_LIST_ID 1016
#define XWC_NUMBER_TRIGGER_ID 1017
#define XWC_VALUE_TRIGGER_ID 1018
#define XWC_VALUE_LIST_ID 1019
#define XWC_LETTER_CANCEL_BUTTON_ID 1020
#define XWC_TILES_EDIT_BUTTON_ID 1021
#define XWC_TILES_LANGLABEL_ID 1022
#define XWC_LETTER_CUSTOMLABEL_ID 1023

#define XWC_CHOOSELANG_LABEL_ID 1024
#define XWC_CHOOSELANG_LIST_ID 1025
#define XWC_CHOOSELANG_OK_BUTTON_ID 1026
#define XWC_CHOOSELANG_CANCEL_BUTTON_ID 1027
#define XWC_CHOOSELANG_LABEL2_ID 1028
#define XWC_BOARD_CLEAR_BUTTON_ID 1029
#define XWC_BOARD_REVERT_BUTTON_ID 1030
#define XWC_BOARD_SIZE_TRIGGER_ID 1031
#define XWC_BOARD_SIZE_LIST_ID 1032
// menu items
#define XWC_BOARD_PULLDOWN 1001
#define XWC_DICTS_PULLDOWN 1002
#define XWC_COLORS_PULLDOWN 1003
/* #define XWC_REVERT_PULLDOWN 1003 */
/* #define XWC_OPEN_PULLDOWN 1006 */
/* #define XWC_CLONE_PULLDOWN 1007 */
/* #define XWC_DELETE_PULLDOWN 1008 */
/* #define XWC_WRITE_PULLDOWN 1004 */
#define XWC_ABOUT_PULLDOWN 1005
/* #define XWC_DBGON_PULLDOWN 1010 */
/* #define XWC_DBGOFF_PULLDOWN 1011 */

// forms themselves
#define XWC_BOARD_FORM 1000
#define XWC_TILES_FORM 1001
#define XWC_EDIT_LETTER_FORM 1002
#define XWC_GENERIC_DIALOG_ID 1003
#define XWC_ERROR_ALERT_ID 1004
#define XWC_CHOOSELANG_DIALOG_ID 1005
#define XWC_COLORPREF_DIALOG_ID 1006



#define PLAYER_1_GADGET 2001
#define PLAYER_2_GADGET 2002
#define PLAYER_3_GADGET 2003
#define PLAYER_4_GADGET 2004

#define DOUBLE_LETTER_GADGET 2005
#define DOUBLE_WORD_GADGET 2006
#define TRIPLE_LETTER_GADGET 2007
#define TRIPLE_WORD_GADGET 2008

#define EMPTY_CELL_GADGET 2009
#define TILE_BACK_GADGET 2010

#define XWC_COLORS_OK_BUTTON_ID 2011
#define XWC_COLORS_CANCEL_BUTTON_ID 2012
