1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
//*****************************************************************************
// Author : William Dicks ***
// Date Created: 10 February 1998 ***
// Purpose : Enumeration for Greek to b-Greek conversion and vice ***
// : versa. ***
// File Name : GreekChars.h ***
// ***
// Author info : ---------------------------------------------------------- ***
// Address : 23 Tieroogpark ***
// : Hoewe Str ***
// : Elarduspark X3 ***
// : 0181 ***
// : South Africa ***
// Home Tel: +27 (0)12 345 3166 ***
// Cell No : +27 (0)82 577 4424 ***
// e-mail : wd@isis.co.za ***
// Church WWW : http://www.hatfield.co.za ***
//*****************************************************************************
/*
*
* $Id: GreekChars.h,v 1.4 2002/10/01 19:52:40 dglassey Exp $
*
* Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
* CrossWire Bible Society
* P. O. Box 2528
* Tempe, AZ 85280-2528
*
* 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 version 2.
*
* 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.
*
*/
#ifndef __GREEKCHARS_H
#define __GREEKCHARS_H
// This enum represents the values of the characters used for the
// transliteration as used on the b-greek discussion list.
#include <defs.h>
SWORD_NAMESPACE_START
enum bGreekChars
{
ALPHA = 65, // A
BETA, // B
CHI, // C
DELTA, // D
EPSILON, // E
PHI, // F
GAMMA, // G
ETA, // H
IOTA, // I
// No J
KAPPA = 75, // K
LAMBDA, // L
MU, // M
NU, // N
OMICRON, // O
PI, // P
THETA, // Q
RHO, // R
SIGMA, // S
TAU, // T
UPSILON, // U
// No V
OMEGA = 'W', // W
XI, // X
PSI, // Y
ZETA, // Z
ROUGH = 104, // h
IOTA_SUB // i
};
// This enum represents the values of the characters ib the Greek.ttf font,
// and the comments on the right are the corresponding bGreek equivalents.
enum GreekFontChars
{
gALPHA = 'a', // A
gBETA, // B
gCHI, // C
gDELTA, // D
gEPSILON, // E
gPHI, // F
gGAMMA, // G
gETA, // H
gIOTA, // I
gSIGMA_END, // j
gKAPPA, // K
gLAMBDA, // L
gMU, // M
gNU, // N
gOMICRON, // O
gPI, // P
gTHETA, // Q
gRHO, // R
gSIGMA, // S
gTAU, // T
gUPSILON, // U
// No V
gOMEGA = 'w', // W
gXI, // X
gPSI, // Y
gZETA, // Z
gROUGH_ALPHA = 161, // hA
gROUGH_EPSILON = 152, // hE
gROUGH_ETA = 185, // hH
gROUGH_IOTA = 131, // hH
gROUGH_OMICRON = 208, // hH
gROUGH_RHO = 183, // hR
gROUGH_UPSILON = 216, // hU
gROUGH_OMEGA = 230, // hW
gIOTA_ALPHA = 'v', // Ai
gIOTA_ETA = 'V', // Ei
gIOTA_OMEGA = 'J', // Wi
gNON_ROUGH_ALPHA = 162, // hA
gNON_ROUGH_EPSILON = 153, // hE
gNON_ROUGH_ETA = 186, // hH
gNON_ROUGH_IOTA = 132, // hH
gNON_ROUGH_OMICRON = 209, // hH
gNON_ROUGH_RHO = 184, // hR
gNON_ROUGH_UPSILON = 217, // hU
gNON_ROUGH_OMEGA = 231 // hW
};
// English puntuation as used on bGreek
enum bGreekPunct
{
COMMA = ',',
STOP = '.',
SEMI_COLON = ';',
QUESTION = '?'
};
// English puntuation as used in the Greek font
enum GreekPunct
{
gCOMMA = ',',
gSTOP = '.',
gSEMI_COLON = ':',
gQUESTION = ';'
};
SWORD_NAMESPACE_END
#endif // __GREEKCHARS_H
|