The Sword Project: GreekChars.h Source File |
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: GreekChars.h 1688 2005-01-01 04:42:26Z scribe $ 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 #include <defs.h> 00046 SWORD_NAMESPACE_START 00047 00048 enum bGreekChars 00049 { 00050 ALPHA = 65, // A 00051 BETA, // B 00052 CHI, // C 00053 DELTA, // D 00054 EPSILON, // E 00055 PHI, // F 00056 GAMMA, // G 00057 ETA, // H 00058 IOTA, // I 00059 // No J 00060 KAPPA = 75, // K 00061 LAMBDA, // L 00062 MU, // M 00063 NU, // N 00064 OMICRON, // O 00065 PI, // P 00066 THETA, // Q 00067 RHO, // R 00068 SIGMA, // S 00069 TAU, // T 00070 UPSILON, // U 00071 // No V 00072 OMEGA = 'W', // W 00073 XI, // X 00074 PSI, // Y 00075 ZETA, // Z 00076 ROUGH = 104, // h 00077 IOTA_SUB // i 00078 }; 00079 00080 // This enum represents the values of the characters ib the Greek.ttf font, 00081 // and the comments on the right are the corresponding bGreek equivalents. 00082 00083 enum GreekFontChars 00084 { 00085 gALPHA = 'a', // A 00086 gBETA, // B 00087 gCHI, // C 00088 gDELTA, // D 00089 gEPSILON, // E 00090 gPHI, // F 00091 gGAMMA, // G 00092 gETA, // H 00093 gIOTA, // I 00094 gSIGMA_END, // j 00095 gKAPPA, // K 00096 gLAMBDA, // L 00097 gMU, // M 00098 gNU, // N 00099 gOMICRON, // O 00100 gPI, // P 00101 gTHETA, // Q 00102 gRHO, // R 00103 gSIGMA, // S 00104 gTAU, // T 00105 gUPSILON, // U 00106 // No V 00107 gOMEGA = 'w', // W 00108 gXI, // X 00109 gPSI, // Y 00110 gZETA, // Z 00111 gROUGH_ALPHA = 161, // hA 00112 gROUGH_EPSILON = 152, // hE 00113 gROUGH_ETA = 185, // hH 00114 gROUGH_IOTA = 131, // hH 00115 gROUGH_OMICRON = 208, // hH 00116 gROUGH_RHO = 183, // hR 00117 gROUGH_UPSILON = 216, // hU 00118 gROUGH_OMEGA = 230, // hW 00119 gIOTA_ALPHA = 'v', // Ai 00120 gIOTA_ETA = 'V', // Ei 00121 gIOTA_OMEGA = 'J', // Wi 00122 gNON_ROUGH_ALPHA = 162, // hA 00123 gNON_ROUGH_EPSILON = 153, // hE 00124 gNON_ROUGH_ETA = 186, // hH 00125 gNON_ROUGH_IOTA = 132, // hH 00126 gNON_ROUGH_OMICRON = 209, // hH 00127 gNON_ROUGH_RHO = 184, // hR 00128 gNON_ROUGH_UPSILON = 217, // hU 00129 gNON_ROUGH_OMEGA = 231 // hW 00130 }; 00131 00132 // English puntuation as used on bGreek 00133 00134 enum bGreekPunct 00135 { 00136 COMMA = ',', 00137 STOP = '.', 00138 SEMI_COLON = ';', 00139 QUESTION = '?' 00140 }; 00141 00142 // English puntuation as used in the Greek font 00143 00144 enum GreekPunct 00145 { 00146 gCOMMA = ',', 00147 gSTOP = '.', 00148 gSEMI_COLON = ':', 00149 gQUESTION = ';' 00150 }; 00151 00152 SWORD_NAMESPACE_END 00153 00154 #endif // __GREEKCHARS_H
The SWORD Project; P. O. Box 2528; Tempe, AZ 85280-2528 USA |