//--------------------------------------------------------------------------- #ifndef demoH #define demoH //--------------------------------------------------------------------------- #include #include #include #include #include #include #define MAX 1000 //--------------------------------------------------------------------------- class TDemotus : public TForm { __published: // IDE-managed Components TImage *Texbar; TTimer *Timer1; TImage *Texbar2; TImage *Hazlogo; void __fastcall Timer1Timer(TObject *Sender); private: // User declarations size_t scrollpos; const char *teksti; TColor varit[32]; Graphics::TBitmap *bitmaps[2]; TImage *images[2]; TColor colorit[MAX]; // laiskuus iski taulukoiden kanssa. int hazh, hazw; int xx[MAX], yy[MAX]; int y[MAX], x[MAX]; int scroll, vari, suunta; int lkm, index[MAX], phase, logotin; public: // User declarations __fastcall TDemotus(TComponent* Owner); }; //--------------------------------------------------------------------------- extern TDemotus *Demotus; //--------------------------------------------------------------------------- #endif