-
Notifications
You must be signed in to change notification settings - Fork 2
/
Composition.h
30 lines (25 loc) · 953 Bytes
/
Composition.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
#pragma once
#include "loop.h"
class CComposition
{
public:
CComposition(void);
~CComposition(void);
//----------------------------------------------------------------------------------------------------------------
CString m_CompositionName, m_ComposerName, m_Notes;
UINT m_LoopCount;
std::vector< CLoop > m_Loop;
//----------------------------------------------------------------------------------------------------------------
BOOL AddLoop(UINT col, UINT row);
BOOL DeleteLoop(UINT nloop);
UINT GetLoop(UINT col, UINT row);
void DoLoopPropDlg(UINT nloop);
void DoCompositionPropDlg(void);
UINT GetRandValue(UINT min, UINT max);
void AutoCompose(void);
void SetBolSelection(UINT nloop, UINT col, UINT row, BOOL sel);
void SetLoopSelection(UINT col, UINT row, BOOL sel);
void DeSelectAll(void);
void Clear(void);
//----------------------------------------------------------------------------------------------------------------
};