//--------------------------------------------------------------------------- #ifndef optionfrmH #define optionfrmH //--------------------------------------------------------------------------- #include #include #include #include #include #include #include #include "FontSel.h" #include #include const AnsiString COLOR_DIR = "colors\\"; const AnsiString COLOR_EXT = ".sch"; //--------------------------------------------------------------------------- class TOptionsfrm : public TForm { __published: // IDE-managed Components TColorDialog *ColorDialog1; TPanel *Panel2; TButton *Button1; TButton *Button2; TPageControl *PageControl1; TTabSheet *TabSheet1; TTabSheet *TabSheet2; TPanel *Panel1; TGroupBox *GroupBox1; TCheckBox *AutoBMPersonal; TCheckBox *AutoBMOther; TGroupBox *GroupBox3; TComboBox *hebrewDefCB; TComboBox *greekDefCB; TComboBox *greekParseCB; TComboBox *hebrewParseCB; TLabel *Label5; TLabel *Label6; TLabel *Label7; TLabel *Label8; TGroupBox *GroupBox4; TLabel *Label9; TComboBox *dailyDefaultCB; TCheckBox *devSplashCB; TCheckBox *devsAsDictsCB; TLabel *Label10; TComboBox *strongsNumsCB; TTabSheet *TabSheet3; TLabel *Label1; TCheckBox *HintPopups; TLabel *Label4; TComboBox *localeCB; TPanel *Panel3; TGroupBox *GroupBox5; TLabel *Label2; TLabel *Label3; TRichEdit *RTFPreview; TComboBox *cmbTextSelect; TButton *btnFont; TCheckBox *AutoVSColor; TButton *btnCurrVerse; TButton *btnNumClr; TLabel *Label11; TLabel *Label13; TShape *CurrentVSColor; 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 *GroupBox2; TCheckBox *glosAsDictsCB; void __fastcall btnCurrVerseClick(TObject *Sender); void __fastcall FormCreate(TObject *Sender); void __fastcall FormShow(TObject *Sender); void __fastcall btnFontClick(TObject *Sender); void __fastcall CurrentVSColorMouseDown(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); private: // User declarations static const char *defaultLocaleName; static const char *defaultLocaleDescription; CopyFontDlg(TFontSelFrm* lhs, const TFontSelFrm* rhs); void FindSchemeNames(); public: TFontSelFrm* FontDialogText; TFontSelFrm* FontDialogComment; TFontSelFrm* FontDialogLD; void UpdatePreview(); public: // User declarations __fastcall TOptionsfrm(TComponent* Owner); }; //--------------------------------------------------------------------------- extern TOptionsfrm *Optionsfrm; //--------------------------------------------------------------------------- #endif