//---------------------------------------------------------------------------- #ifndef TPATTERN #define TPATTERN //---------------------------------------------------------------------------- #include #include #include #include #include #include #include #include #include #include //---------------------------------------------------------------------------- class TPatternDlg : public TForm { __published: TButton *OKBtn; TButton *CancelBtn; TLabel *Label1; TComboBox *ComboBoxStyle; TGroupBox *GroupBox1; TLabel *Label2; TLabel *Label3; TLabel *Foreground; TLabel *Background; void __fastcall ForgroundClick(TObject *Sender); void __fastcall BackGroundClick(TObject *Sender); void __fastcall onShow(TObject *Sender); void __fastcall OnStyleChange(TObject *Sender); private: L_INT FindIndex(); L_UINT FindStyle(); public: L_UINT m_uStyle; L_INT m_nPattern; virtual __fastcall TPatternDlg(TComponent* AOwner); }; //---------------------------------------------------------------------------- extern PACKAGE TPatternDlg *PatternDlg; //---------------------------------------------------------------------------- #endif