-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.h
More file actions
66 lines (63 loc) · 2.16 KB
/
Main.h
File metadata and controls
66 lines (63 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//---------------------------------------------------------------------------
#ifndef MainH
#define MainH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.ComCtrls.hpp>
#include <Vcl.ToolWin.hpp>
#include <System.ImageList.hpp>
#include <Vcl.ImgList.hpp>
#include <Vcl.Dialogs.hpp>
#include <vector>
//---------------------------------------------------------------------------
class TMikMod;
class TForm1 : public TForm
{
typedef TForm inherited;
__published: // IDE-managed Components
TEdit *txtModuleType;
TTimer *Timer1;
TToolBar *ToolBar1;
TToolButton *tbPlay;
TToolButton *tbPause;
TToolButton *tbStop;
TTrackBar *TrackBar1;
TImageList *ImageList1;
TToolButton *tbSeparator1;
TOpenDialog *OpenDialog1;
TToolButton *tbOpenFile;
TToolButton *tbSeparator2;
TLabel *Label1;
TLabel *Label2;
TEdit *txtSongTitle;
TLabel *Label3;
TMemo *memoComment;
TToolButton *tbMute;
TPanel *Panel1;
TToolButton *tbRepeat;
void __fastcall TrackBar1Change(TObject *Sender);
void __fastcall Timer1Timer(TObject *Sender);
void __fastcall tbPlayClick(TObject *Sender);
void __fastcall tbPauseClick(TObject *Sender);
void __fastcall tbStopClick(TObject *Sender);
void __fastcall tbOpenFileClick(TObject *Sender);
void __fastcall tbMuteClick(TObject *Sender);
void __fastcall tbRepeatClick(TObject *Sender);
private: // User declarations
TMikMod *FMikMod;
std::vector<TProgressBar *> FBars;
void __fastcall Start();
void __fastcall SetVolumeImageIndex();
int __fastcall ImageListAddRes(TImageList* AImageList, const String Identifier);
public: // User declarations
__fastcall TForm1(TComponent* Owner);
__fastcall virtual ~TForm1(void);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif