-
Notifications
You must be signed in to change notification settings - Fork 2
/
Loop.h
36 lines (29 loc) · 903 Bytes
/
Loop.h
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
#pragma once
#include "bol.h"
#include <vector>
class CLoop
{
public:
CLoop(void);
~CLoop(void);
//------------------------------------------------------------------------------------------------------------
CString m_LoopName, m_Note;
UINT m_MaatraBol, m_RepeatCount;//, m_Delay; //delay is in millisec
UINT m_BolCount, m_LoopBpm;
UINT m_Row, m_Col;
UINT m_Accompaniment;
BOOL m_Selected;
//BOOL m_B2B; //back to back play
std::vector< CBol > m_Bol;
private:
UINT m_MatraCount;
//------------------------------------------------------------------------------------------------------------
public:
BOOL AddBol(void);
BOOL DeleteBol(UINT nbol);
UINT GetBol(UINT col, UINT row);
CString GetMatraCount(void);
void DeSelectAll(void);
void Clone(CLoop srcloop);
//------------------------------------------------------------------------------------------------------------
};