//Copyright+LGPL //----------------------------------------------------------------------------------------------------------------------------------------------- // Copyright 2000-2013 Makoto Mori, Nobuyuki Oba //----------------------------------------------------------------------------------------------------------------------------------------------- // This file is part of MMVARI. // MMVARI is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. // MMVARI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. // You should have received a copy of the GNU Lesser General Public License along with MMTTY. If not, see // . //----------------------------------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------- #ifndef PlayDlgH #define PlayDlgH //---------------------------------------------------------------------------- /* JA7UDE 0428 #include #include #include #include #include #include #include #include #include #include */ #include "Wave.h" //---------------------------------------------------------------------------- class TPlayDlgBox : public TForm { __published: TButton *CloseBtn; TScrollBar *ScrollBar; TLabel *LRec; TLabel *LNow; TLabel *LTime; TLabel *LPos; TLabel *LName; TCheckBox *CheckPause; TButton *StopBtn;void __fastcall ScrollBarChange(TObject *Sender); void __fastcall CheckPauseClick(TObject *Sender); void __fastcall StopBtnClick(TObject *Sender); void __fastcall CloseBtnClick(TObject *Sender); void __fastcall FormClose(TObject *Sender, TCloseAction &Action); private: CWaveFile *pWave; int m_DisEvent; public: virtual __fastcall TPlayDlgBox(TComponent* AOwner); void __fastcall Execute(CWaveFile *wp); void __fastcall UpdateItem(void); }; //---------------------------------------------------------------------------- //extern TPlayDlgBox *PlayDlgBox; //---------------------------------------------------------------------------- #endif