00001 //***************************************************************************** 00002 // Author : William Dicks *** 00003 // Date Created: 10 February 1998 *** 00004 // Purpose : Enumeration for Greek to b-Greek conversion and vice *** 00005 // : versa. *** 00006 // File Name : GreekChars.h *** 00007 // *** 00008 // Author info : ---------------------------------------------------------- *** 00009 // Address : 23 Tieroogpark *** 00010 // : Hoewe Str *** 00011 // : Elarduspark X3 *** 00012 // : 0181 *** 00013 // : South Africa *** 00014 // Home Tel: +27 (0)12 345 3166 *** 00015 // Cell No : +27 (0)82 577 4424 *** 00016 // e-mail : wd@isis.co.za *** 00017 // Church WWW : http://www.hatfield.co.za *** 00018 //***************************************************************************** 00019 /* 00020 * 00021 * $Id: _greek_chars_8h-source.html,v 1.7 2002/06/20 20:23:07 mgruner Exp $ 00022 * 00023 * Copyright 1998 CrossWire Bible Society (http://www.crosswire.org) 00024 * CrossWire Bible Society 00025 * P. O. Box 2528 00026 * Tempe, AZ 85280-2528 00027 * 00028 * This program is free software; you can redistribute it and/or modify it 00029 * under the terms of the GNU General Public License as published by the 00030 * Free Software Foundation version 2. 00031 * 00032 * This program is distributed in the hope that it will be useful, but 00033 * WITHOUT ANY WARRANTY; without even the implied warranty of 00034 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00035 * General Public License for more details. 00036 * 00037 */ 00038 00039 #ifndef __GREEKCHARS_H 00040 #define __GREEKCHARS_H 00041 00042 // This enum represents the values of the characters used for the 00043 // transliteration as used on the b-greek discussion list. 00044 00045 enum bGreekChars 00046 { 00047 ALPHA = 65, // A 00048 BETA, // B 00049 CHI, // C 00050 DELTA, // D 00051 EPSILON, // E 00052 PHI, // F 00053 GAMMA, // G 00054 ETA, // H 00055 IOTA, // I 00056 // No J 00057 KAPPA = 75, // K 00058 LAMBDA, // L 00059 MU, // M 00060 NU, // N 00061 OMICRON, // O 00062 PI, // P 00063 THETA, // Q 00064 RHO, // R 00065 SIGMA, // S 00066 TAU, // T 00067 UPSILON, // U 00068 // No V 00069 OMEGA = 'W', // W 00070 XI, // X 00071 PSI, // Y 00072 ZETA, // Z 00073 ROUGH = 104, // h 00074 IOTA_SUB // i 00075 }; 00076 00077 // This enum represents the values of the characters ib the Greek.ttf font, 00078 // and the comments on the right are the corresponding bGreek equivalents. 00079 00080 enum GreekFontChars 00081 { 00082 gALPHA = 'a', // A 00083 gBETA, // B 00084 gCHI, // C 00085 gDELTA, // D 00086 gEPSILON, // E 00087 gPHI, // F 00088 gGAMMA, // G 00089 gETA, // H 00090 gIOTA, // I 00091 gSIGMA_END, // j 00092 gKAPPA, // K 00093 gLAMBDA, // L 00094 gMU, // M 00095 gNU, // N 00096 gOMICRON, // O 00097 gPI, // P 00098 gTHETA, // Q 00099 gRHO, // R 00100 gSIGMA, // S 00101 gTAU, // T 00102 gUPSILON, // U 00103 // No V 00104 gOMEGA = 'w', // W 00105 gXI, // X 00106 gPSI, // Y 00107 gZETA, // Z 00108 gROUGH_ALPHA = 161, // hA 00109 gROUGH_EPSILON = 152, // hE 00110 gROUGH_ETA = 185, // hH 00111 gROUGH_IOTA = 131, // hH 00112 gROUGH_OMICRON = 208, // hH 00113 gROUGH_RHO = 183, // hR 00114 gROUGH_UPSILON = 216, // hU 00115 gROUGH_OMEGA = 230, // hW 00116 gIOTA_ALPHA = 'v', // Ai 00117 gIOTA_ETA = 'V', // Ei 00118 gIOTA_OMEGA = 'J', // Wi 00119 gNON_ROUGH_ALPHA = 162, // hA 00120 gNON_ROUGH_EPSILON = 153, // hE 00121 gNON_ROUGH_ETA = 186, // hH 00122 gNON_ROUGH_IOTA = 132, // hH 00123 gNON_ROUGH_OMICRON = 209, // hH 00124 gNON_ROUGH_RHO = 184, // hR 00125 gNON_ROUGH_UPSILON = 217, // hU 00126 gNON_ROUGH_OMEGA = 231 // hW 00127 }; 00128 00129 // English puntuation as used on bGreek 00130 00131 enum bGreekPunct 00132 { 00133 COMMA = ',', 00134 STOP = '.', 00135 SEMI_COLON = ';', 00136 QUESTION = '?' 00137 }; 00138 00139 // English puntuation as used in the Greek font 00140 00141 enum GreekPunct 00142 { 00143 gCOMMA = ',', 00144 gSTOP = '.', 00145 gSEMI_COLON = ':', 00146 gQUESTION = ';' 00147 }; 00148 00149 #endif // __GREEKCHARS_H