mirror of
https://github.com/n5ac/mmvari.git
synced 2025-12-06 04:12:03 +01:00
72 lines
2.6 KiB
C++
72 lines
2.6 KiB
C++
//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
|
|
// <http://www.gnu.org/licenses/>.
|
|
//-----------------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
#ifndef PlayDlgH
|
|
#define PlayDlgH
|
|
//----------------------------------------------------------------------------
|
|
/* JA7UDE 0428
|
|
#include <vcl\System.hpp>
|
|
#include <vcl\Windows.hpp>
|
|
#include <vcl\SysUtils.hpp>
|
|
#include <vcl\Classes.hpp>
|
|
#include <vcl\Graphics.hpp>
|
|
#include <vcl\StdCtrls.hpp>
|
|
#include <vcl\Forms.hpp>
|
|
#include <vcl\Controls.hpp>
|
|
#include <vcl\Buttons.hpp>
|
|
#include <vcl\ExtCtrls.hpp>
|
|
*/
|
|
|
|
#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
|