42 lines
1.4 KiB
C++
42 lines
1.4 KiB
C++
//---------------------------------------------------------------------------
|
|
|
|
#ifndef SaveLocalStyleFormUnitH
|
|
#define SaveLocalStyleFormUnitH
|
|
//---------------------------------------------------------------------------
|
|
#include <System.Classes.hpp>
|
|
#include <Vcl.Controls.hpp>
|
|
#include <Vcl.StdCtrls.hpp>
|
|
#include <Vcl.Forms.hpp>
|
|
|
|
#include "StyleItem.h"
|
|
#include "GeneralDialogPanel.h"
|
|
#include "LineEdit.h"
|
|
#include "TextButton.h"
|
|
#include <Vcl.ExtCtrls.hpp>
|
|
//---------------------------------------------------------------------------
|
|
class TSaveLocalStyleForm : public TForm
|
|
{
|
|
__published: // IDE-managed Components
|
|
TLabel *m_lblName;
|
|
TGeneralDialogPanel *m_panelBk;
|
|
TTextButton *m_btnCancel;
|
|
TTextButton *m_btnOk;
|
|
TLineEdit *m_editName;
|
|
void __fastcall OkClick(TObject *Sender);
|
|
void __fastcall FormShow(TObject *Sender);
|
|
void __fastcall NameChange(TObject *Sender);
|
|
void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
|
|
void __fastcall FormCreate(TObject *Sender);
|
|
private: // User declarations
|
|
TStyleItem * m_pStyItem;
|
|
public: // User declarations
|
|
|
|
__fastcall TSaveLocalStyleForm(TComponent* Owner, TStyleItem* pStyItem );
|
|
|
|
void __fastcall Save(TPROSTYLE * pStyle);
|
|
};
|
|
//---------------------------------------------------------------------------
|
|
extern PACKAGE TSaveLocalStyleForm *SaveLocalStyleForm;
|
|
//---------------------------------------------------------------------------
|
|
#endif
|