Reorganize sources into Src/ and add README

This commit is contained in:
2026-09-13 10:47:56 +08:00
parent 2191c1aed4
commit 1c935b424d
163 changed files with 1131 additions and 307 deletions
+33
View File
@@ -0,0 +1,33 @@
//---------------------------------------------------------------------------
#ifndef QRcodePanelH
#define QRcodePanelH
//---------------------------------------------------------------------------
class TQRcodePanel : public Vcl::Extctrls::TPanel
{
private:
int m_nQRwidth;
unsigned char * m_pQRdata;
protected:
virtual void __fastcall CreateWnd();
virtual void __fastcall Paint();
MESSAGE void __fastcall WMEraseBkgnd(Winapi::Messages::TWMEraseBkgnd &Message);
BEGIN_MESSAGE_MAP
MESSAGE_HANDLER(WM_ERASEBKGND, TWMEraseBkgnd, WMEraseBkgnd)
END_MESSAGE_MAP(Vcl::Extctrls::TPanel)
public:
__fastcall virtual TQRcodePanel(System::Classes::TComponent* AOwner);
__fastcall ~TQRcodePanel();
void __fastcall SetQRData( int width, unsigned char * pData )
{ m_nQRwidth = width, m_pQRdata = pData; };
};
//---------------------------------------------------------------------------
#endif