Initial commit

This commit is contained in:
2026-06-13 00:05:19 +08:00
commit 754cd7ccdb
402 changed files with 123771 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
//---------------------------------------------------------------------------
#ifndef QRcodePanelH
#define QRcodePanelH
//---------------------------------------------------------------------------
class TQRcodePanel : public Vcl::Extctrls::TPanel
{
private:
String m_strTitle;
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, String strTitle );
__fastcall ~TQRcodePanel();
void __fastcall SetQRData( int width, unsigned char * pData )
{ m_nQRwidth = width, m_pQRdata = pData; };
};
//---------------------------------------------------------------------------
#endif