blob: cee1bd76e0e10efeefa4cf5ad402ff3e340aeb52 (
plain)
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
|
class cPluginTtxtsubs;
class cMenuSetupTtxtsubs;
#define MAXLANGUAGES 5
class cTtxtsubsConf {
friend class cPluginTtxtsubs;
friend class cMenuSetupTtxtsubs;
public:
cTtxtsubsConf(void)
{
mDoDisplay = 1;
mDoRecord = 1;
mMainMenuEntry = 0;
mTextPos = 0;
mBottomLB = 0;
mBottomAdj = 0;
mFrenchSpecial = 0;
mLineSpacing = 0;
mFgColor = 1;
mBgColor = 10;
memset(mLanguages, 0, sizeof(mLanguages));
memset(mHearingImpaireds, 0, sizeof(mHearingImpaireds));
}
public:
int doDisplay(void) {return mDoDisplay;}
int doRecord(void) {return mDoRecord;}
int mainMenuEntry(void) {return mMainMenuEntry;}
int textPos(void) {return mTextPos;}
int bottomLB(void) {return mBottomLB;}
int bottomAdj(void) {return mBottomAdj;}
int frenchSpecial(void) {return mFrenchSpecial;}
int lineSpacing(void) {return mLineSpacing;}
int fgColor(void) {return mFgColor;}
int bgColor(void) {return mBgColor;}
char (*languages(void))[MAXLANGUAGES][2][4] {return &mLanguages;}
int (*hearingImpaireds(void))[MAXLANGUAGES][2] {return &mHearingImpaireds;}
int langChoise(const char *lang, const int HI);
protected:
int mDoDisplay;
int mDoRecord;
int mMainMenuEntry;
int mTextPos;
int mBottomLB;
int mBottomAdj;
int mFrenchSpecial;
int mLineSpacing;
int mFgColor;
int mBgColor;
char mLanguages[MAXLANGUAGES][2][4];
int mHearingImpaireds[MAXLANGUAGES][2];
};
extern cTtxtsubsConf globals;
|