1*fefe2166SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*fefe2166SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*fefe2166SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*fefe2166SAndrew Rist * distributed with this work for additional information 6*fefe2166SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*fefe2166SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*fefe2166SAndrew Rist * "License"); you may not use this file except in compliance 9*fefe2166SAndrew Rist * with the License. You may obtain a copy of the License at 10*fefe2166SAndrew Rist * 11*fefe2166SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*fefe2166SAndrew Rist * 13*fefe2166SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*fefe2166SAndrew Rist * software distributed under the License is distributed on an 15*fefe2166SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*fefe2166SAndrew Rist * KIND, either express or implied. See the License for the 17*fefe2166SAndrew Rist * specific language governing permissions and limitations 18*fefe2166SAndrew Rist * under the License. 19*fefe2166SAndrew Rist * 20*fefe2166SAndrew Rist *************************************************************/ 21*fefe2166SAndrew Rist 22*fefe2166SAndrew Rist 23cdf0e10cSrcweir#define BT_OK 100 24cdf0e10cSrcweir#define BT_CANCEL 101 25cdf0e10cSrcweir#define BT_NXT 102 26cdf0e10cSrcweir#define BT_NXTSAME 103 27cdf0e10cSrcweir#define BT_PREV 104 28cdf0e10cSrcweir#define BT_PREVSAME 105 29cdf0e10cSrcweir#define BT_DEL 106 30cdf0e10cSrcweir#define BT_HELP 107 31cdf0e10cSrcweir#define LBL_INDEX 1 32cdf0e10cSrcweir#define DCB_INDEX 2 33cdf0e10cSrcweir#define LBL_ENTRY 3 34cdf0e10cSrcweir#define SL_ENTRY 4 35cdf0e10cSrcweir#define LBL_KEY 5 36cdf0e10cSrcweir#define DCB_KEY 6 37cdf0e10cSrcweir#define LBL_LEVEL 7 38cdf0e10cSrcweir#define SL_LEVEL 8 39cdf0e10cSrcweir#define FL_INDEX 10 40cdf0e10cSrcweir#define LBL_KEY2 11 41cdf0e10cSrcweir#define DCB_KEY2 12 42cdf0e10cSrcweir#define CB_APPLY_TO_ALL 13 43cdf0e10cSrcweir#define CB_MAIN_ENTRY 14 44cdf0e10cSrcweir#define FT_ENTRY 20 45cdf0e10cSrcweir#define ED_ENTRY 21 46cdf0e10cSrcweir#define PB_OK 22 47cdf0e10cSrcweir#define PB_CANCEL 23 48cdf0e10cSrcweir#define PB_HELP 24 49cdf0e10cSrcweir#define FL_ENTRIES 25 50cdf0e10cSrcweir#define PB_CREATEENTRY 26 51cdf0e10cSrcweir#define FL_ENTRY 27 52cdf0e10cSrcweir#define FT_TITLE 28 53cdf0e10cSrcweir#define FI_TITLE 29 54cdf0e10cSrcweir#define FT_AUTHOR 30 55cdf0e10cSrcweir#define FI_AUTHOR 31 56cdf0e10cSrcweir#define ST_CHANGE 32 57cdf0e10cSrcweir#define WIN_DLG 33 58cdf0e10cSrcweir#define BT_NEW 34 59cdf0e10cSrcweir#define FL_NAME 37 60cdf0e10cSrcweir#define FT_NAME 38 61cdf0e10cSrcweir#define ED_NAME 39 62cdf0e10cSrcweir#define LB_ENTRY 40 63cdf0e10cSrcweir#define RB_FROMCOMPONENT 41 64cdf0e10cSrcweir#define RB_FROMDOCCONTENT 42 65cdf0e10cSrcweir#define PB_EDITENTRY 43 66cdf0e10cSrcweir#define CB_CASESENSITIVE 44 67cdf0e10cSrcweir#define CB_WORDONLY 45 68cdf0e10cSrcweir#define FT_PHONETIC_1 46 69cdf0e10cSrcweir#define FT_PHONETIC_2 47 70cdf0e10cSrcweir#define FT_PHONETIC_3 48 71cdf0e10cSrcweir#define ED_PHONETIC_1 48 72cdf0e10cSrcweir#define ED_PHONETIC_2 49 73cdf0e10cSrcweir#define ED_PHONETIC_3 50 74cdf0e10cSrcweir 75cdf0e10cSrcweir//------------------------------------------------------ 76cdf0e10cSrcweir// defines for positions and sizes for IDX_DIALOG_WINDOW 77cdf0e10cSrcweir 78cdf0e10cSrcweir#define IDX_COL1 12 79cdf0e10cSrcweir#define IDX_COL2 56 80cdf0e10cSrcweir 81cdf0e10cSrcweir#define IDX_COL2_FULLEND 150 82cdf0e10cSrcweir#define IDX_NEWIMAGE_WIDTH 12 83cdf0e10cSrcweir#define IDX_NEWIMAGE_XPOS (IDX_COL2_FULLEND-1-IDX_NEWIMAGE_WIDTH) 84cdf0e10cSrcweir 85cdf0e10cSrcweir#define IDX_PHONETIC_EDIT_WIDTH 62 86cdf0e10cSrcweir#define IDX_PHONETIC_TEXT_WIDTH 62 87cdf0e10cSrcweir 88cdf0e10cSrcweir#define IDX_COL_PHONETIC_TEXT (IDX_COL2+IDX_PHONETIC_EDIT_WIDTH+8) 89cdf0e10cSrcweir#define IDX_COL_PHONETIC_EDIT (IDX_COL_PHONETIC_TEXT+IDX_PHONETIC_TEXT_WIDTH+1) 90cdf0e10cSrcweir 91cdf0e10cSrcweir#define IDX_COL_BUTTONS_NORMAL 162 92cdf0e10cSrcweir#define IDX_COL_BUTTONS_CJK (IDX_COL_PHONETIC_EDIT+IDX_PHONETIC_EDIT_WIDTH+14) 93cdf0e10cSrcweir 94cdf0e10cSrcweir#define IDX_WIN_WIDTH_NORMAL 218 95cdf0e10cSrcweir#define IDX_WIN_WIDTH_CJK (IDX_WIN_WIDTH_NORMAL+IDX_COL_BUTTONS_CJK-IDX_COL_BUTTONS_NORMAL) 96cdf0e10cSrcweir 97cdf0e10cSrcweir#define IDX_ROW_2_TEXT 31 98cdf0e10cSrcweir#define IDX_ROW_2_LIST (IDX_ROW_2_TEXT-2) 99cdf0e10cSrcweir#define IDX_ROW_3_TEXT 46 100cdf0e10cSrcweir#define IDX_ROW_3_LIST (IDX_ROW_3_TEXT-2) 101cdf0e10cSrcweir#define IDX_ROW_4_TEXT 62 102cdf0e10cSrcweir#define IDX_ROW_4_LIST (IDX_ROW_4_TEXT-2) 103cdf0e10cSrcweir 104cdf0e10cSrcweir//------------------------------------------------------ 105