Initial commit
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
#ifndef ChipsFormUnitH
|
||||
#define ChipsFormUnitH
|
||||
//---------------------------------------------------------------------------
|
||||
#include <System.Classes.hpp>
|
||||
#include <Vcl.Controls.hpp>
|
||||
#include <Vcl.StdCtrls.hpp>
|
||||
#include <Vcl.Forms.hpp>
|
||||
#include <Vcl.Buttons.hpp>
|
||||
#include "PNGButton.hpp"
|
||||
//---------------------------------------------------------------------------
|
||||
class TChipsForm : public TForm
|
||||
{
|
||||
__published: // IDE-managed Components
|
||||
TPNGButton *m_btnChip1;
|
||||
TPNGButton *m_btnChip5;
|
||||
TPNGButton *m_btnChip10;
|
||||
TPNGButton *m_btnChip20;
|
||||
TPNGButton *m_btnChip50;
|
||||
TPNGButton *m_btnChip100;
|
||||
TPNGButton *m_btnChip500;
|
||||
TPNGButton *m_btnChip1k;
|
||||
TPNGButton *m_btnChip5k;
|
||||
TPNGButton *m_btnChip10k;
|
||||
void __fastcall ChipClick(TObject *Sender);
|
||||
void __fastcall FormResize(TObject *Sender);
|
||||
void __fastcall FormCanResize(TObject *Sender, int &NewWidth, int &NewHeight, bool &Resize);
|
||||
private: // User declarations
|
||||
TPNGButton* m_aChips[10];
|
||||
int m_aValues[10];
|
||||
int m_iSelChip;
|
||||
public: // User declarations
|
||||
int m_nSelChip;
|
||||
|
||||
__fastcall TChipsForm(TComponent* Owner);
|
||||
};
|
||||
//---------------------------------------------------------------------------
|
||||
extern PACKAGE TChipsForm *ChipsForm;
|
||||
//---------------------------------------------------------------------------
|
||||
#endif
|
||||
Reference in New Issue
Block a user