-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathRemapColourDlg.h
38 lines (31 loc) · 890 Bytes
/
RemapColourDlg.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
37
38
#pragma once
#include "afxwin.h"
#include <vector>
// RemapColourDlg dialog
class RemapColourDlg : public CDialogEx
{
DECLARE_DYNAMIC(RemapColourDlg)
public:
RemapColourDlg(CWnd* pParent = NULL); // standard constructor
virtual ~RemapColourDlg();
// Dialog Data
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_COLOURMAPPER };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
const std::vector<LPCTSTR>* m_pColourVector;
const std::vector<LPCTSTR>* m_pDestVector;
int m_selectedColourIndex;
int m_selectedDestIndex;
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnLbnSelchangeColour();
CListBox m_ColourToMap;
CListBox m_ColourDest;
void setDataVectors(const std::vector<LPCTSTR>* colour, const std::vector<LPCTSTR>* dest);
int GetSelectedColourIndex();
int GetSelectedDestIndex();
virtual BOOL OnInitDialog();
virtual void OnOK();
};