//--------------------------------------------------------------------------- #ifndef DASampH #define DASampH //--------------------------------------------------------------------------- #include #include #include #include #pragma pack(1) struct TDACPoint { unsigned short X, Y, R, G, B; }; #pragma pack() //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TButton *StartButton; TButton *StopButton; TListBox *LogList; void __fastcall StartButtonClick(TObject *Sender); void __fastcall StopButtonClick(TObject *Sender); private: // User declarations public: // User declarations TDACPoint DACData[8]; double Rot; unsigned long DeviceIndex; __fastcall TForm1(TComponent* Owner); void __fastcall IdleFrame(TObject *Sender, bool &Done); BOOLEAN BGotDACData; }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif