aboutsummaryrefslogtreecommitdiffstats
path: root/apps/windoze/CBuilder5/BibleCS/FontSel.h
diff options
context:
space:
mode:
authordanglassey <danglassey>2002-08-14 09:57:17 +0000
committerdanglassey <danglassey>2002-08-14 09:57:17 +0000
commitc9458897ebbb739d8db83c80e06512d8a612f743 (patch)
treef8c5381045887e34388cc6b26cfccc254bf766dc /apps/windoze/CBuilder5/BibleCS/FontSel.h
downloadsword-sf-cvs-c9458897ebbb739d8db83c80e06512d8a612f743.tar.gz
*** empty log message ***
Diffstat (limited to 'apps/windoze/CBuilder5/BibleCS/FontSel.h')
-rw-r--r--apps/windoze/CBuilder5/BibleCS/FontSel.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/apps/windoze/CBuilder5/BibleCS/FontSel.h b/apps/windoze/CBuilder5/BibleCS/FontSel.h
new file mode 100644
index 0000000..65059f4
--- /dev/null
+++ b/apps/windoze/CBuilder5/BibleCS/FontSel.h
@@ -0,0 +1,61 @@
+//---------------------------------------------------------------------------
+
+#ifndef FontSelH
+#define FontSelH
+//---------------------------------------------------------------------------
+#include <Classes.hpp>
+#include <Controls.hpp>
+#include <StdCtrls.hpp>
+#include <Forms.hpp>
+#include <Buttons.hpp>
+#include <Dialogs.hpp>
+#include <ExtCtrls.hpp>
+//#include "D:\\Program Files\\Borland\\CBuilder5\\RX\\Units\\Rxcombos.hpp"
+#include "RxCombos.hpp"
+//---------------------------------------------------------------------------
+class TFontSelFrm : public TForm
+{
+__published: // IDE-managed Components
+ TPanel *Panel1;
+ TPanel *Panel2;
+ TLabel *Label1;
+ TLabel *Label2;
+ TLabel *Label3;
+ TLabel *Label4;
+ TComboBox *SizeComboBox;
+ TCheckBox *ckShowFont;
+ TPanel *pnlFontComboBox;
+ TPanel *pnlBGColorCmb;
+ TPanel *pnlFGColorCmb;
+ TBitBtn *OKBtn;
+ TBitBtn *CancelBtn;
+ TGroupBox *GroupBox1;
+ TPanel *SampleText;
+ TColorDialog *FGColorDlg;
+ TColorDialog *BGColorDlg;
+ void __fastcall FormShow(TObject *Sender);
+ void __fastcall ckShowFontClick(TObject *Sender);
+ void __fastcall FontComboBoxChange(TObject *Sender);
+ void __fastcall SizeComboBoxChange(TObject *Sender);
+ void __fastcall BGColorCmbChange(TObject *Sender);
+ void __fastcall FGColorCmbChange(TObject *Sender);
+ void __fastcall OKBtnClick(TObject *Sender);
+ void __fastcall CancelBtnClick(TObject *Sender);
+public: // User declarations
+ TFont* Font;
+ int BackColor;
+public: // User declarations
+ __fastcall TFontSelFrm(TComponent* Owner);
+ TFontComboBox *FontComboBox;
+ TColorComboBox *BGColorCmb;
+ TColorComboBox *FGColorCmb;
+protected:
+ void UpdatePreview();
+private:
+ bool initialized; // Stupid variable to work around stupid combo box change called from FormShow()
+
+};
+//---------------------------------------------------------------------------
+extern PACKAGE TFontSelFrm *FontSelFrm;
+//---------------------------------------------------------------------------
+#endif