Initial commit

This commit is contained in:
2026-06-12 22:37:02 +08:00
commit 94e46587da
77 changed files with 168188 additions and 0 deletions
+41
View File
@@ -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