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
|
//---------------------------------------------------------------------------
#ifndef optionfrmH
#define optionfrmH
//---------------------------------------------------------------------------
#include <vcl\Classes.hpp>
#include <vcl\Controls.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Forms.hpp>
#include <vcl\ExtCtrls.hpp>
#include <vcl\Dialogs.hpp>
#include <ComCtrls.hpp>
#include "FontSel.h"
#include <Buttons.hpp>
#include <Menus.hpp>
const AnsiString COLOR_DIR = "colors\\";
const AnsiString COLOR_EXT = ".sch";
//---------------------------------------------------------------------------
class TOptionsfrm : public TForm
{
__published: // IDE-managed Components
TColorDialog *ColorDialogVS;
TPanel *Panel2;
TPageControl *PageControl1;
TTabSheet *TabSheet1;
TTabSheet *TabSheet2;
TPanel *Panel1;
TGroupBox *gbPersonalize;
TCheckBox *AutoBMPersonal;
TCheckBox *AutoBMOther;
TGroupBox *gbDefModules;
TComboBox *hebrewDefCB;
TComboBox *greekDefCB;
TComboBox *greekParseCB;
TComboBox *hebrewParseCB;
TLabel *Label5;
TLabel *Label6;
TLabel *Label7;
TLabel *Label8;
TGroupBox *gbDevos;
TLabel *Label9;
TComboBox *dailyDefaultCB;
TCheckBox *devSplashCB;
TCheckBox *devsAsDictsCB;
TLabel *Label10;
TComboBox *strongsNumsCB;
TTabSheet *TabSheet3;
TCheckBox *HintPopups;
TLabel *Label4;
TComboBox *localeCB;
TPanel *Panel3;
TGroupBox *gbColors;
TLabel *Label2;
TLabel *Label3;
TRichEdit *RTFPreview;
TComboBox *cmbTextSelect;
TButton *btnFont;
TCheckBox *AutoVSColor;
TButton *btnCurrVerse;
TButton *btnNumClr;
TLabel *Label11;
TLabel *Label13;
TShape *shpCurrVSClr;
TLabel *Label14;
TComboBox *cmbSchemeSelect;
TButton *btnFieldClr;
TLabel *Label15;
TColorDialog *ColorDialogField;
TColorDialog *ColorDialogVerseNum;
TPopupMenu *SavePopup;
TMenuItem *SaveScheme;
TMenuItem *Export;
TMenuItem *Import;
TSpeedButton *btnSave;
TOpenDialog *OpenSchDlg;
TSaveDialog *SaveSchDlg;
TMenuItem *DeleteScheme1;
TCheckBox *AutoLayout;
TGroupBox *gbGloss;
TCheckBox *glosAsDictsCB;
TButton *btnModFonts;
TLabel *Label1;
TBitBtn *OkBtn;
TBitBtn *CancelBtn;
TCheckBox *HintStrongs;
TLabel *Label12;
TLabel *Label16;
TShape *shpStrongClr;
TButton *btnStrongClr;
TShape *shpMorphClr;
TButton *btnMorphClr;
TShape *shpFieldClr;
TColorDialog *ColorDialogStrongs;
TColorDialog *ColorDialogMorph;
TShape *shpNumClr;
void __fastcall btnCurrVerseClick(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
void __fastcall btnFontClick(TObject *Sender);
void __fastcall shpCurrVSClrMouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
void __fastcall btnNumClrClick(TObject *Sender);
void __fastcall btnFieldClrClick(TObject *Sender);
void __fastcall cmbTextSelectChange(TObject *Sender);
void __fastcall cmbSchemeSelectChange(TObject *Sender);
void __fastcall btnSaveScheme(TObject *Sender);
void __fastcall SaveSchemeClick(TObject *Sender);
void __fastcall ExportClick(TObject *Sender);
void __fastcall ImportClick(TObject *Sender);
void __fastcall DeleteClick(TObject *Sender);
void __fastcall btnModFontsClick(TObject *Sender);
void __fastcall HintStrongsClick(TObject *Sender);
void __fastcall HintPopupsClick(TObject *Sender);
void __fastcall btnStrongClrClick(TObject *Sender);
void __fastcall btnMorphClrClick(TObject *Sender);
void __fastcall shpFieldClrMouseDown(TObject *Sender, TMouseButton Button,
TShiftState Shift, int X, int Y);
void __fastcall shpStrongClrMouseDown(TObject *Sender,
TMouseButton Button, TShiftState Shift, int X, int Y);
void __fastcall shpMorphClrMouseDown(TObject *Sender, TMouseButton Button,
TShiftState Shift, int X, int Y);
void __fastcall shpNumClrMouseDown(TObject *Sender, TMouseButton Button,
TShiftState Shift, int X, int Y);
private: // User declarations
static const char *defaultLocaleName;
static const char *defaultLocaleDescription;
CopyFontDlg(TFontSelFrm* lhs, const TFontSelFrm* rhs);
void FindSchemeNames();
void GetCurrentScheme();
public:
TFontSelFrm* FontDialogText;
TFontSelFrm* FontDialogComment;
TFontSelFrm* FontDialogLD;
TFontSelFrm* FontDialogPopup;
void LoadDispSettings(SWConfig* config);
void LoadMiscSettings(SWConfig* config);
void extractSettings(SWConfig* config);
void UpdatePreview();
public: // User declarations
__fastcall TOptionsfrm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern TOptionsfrm *Optionsfrm;
//---------------------------------------------------------------------------
#endif
|