tagging release
[dasher.git] / trunk / Src / Win32 / ButtonPrefs.h
blob0b886527929305108024099a30c9c45abde8c560
1 // Prefs.h
2 //
3 /////////////////////////////////////////////////////////////////////////////
4 //
5 // Copyright (c) 2002 Iain Murray, Inference Group, Cavendish, Cambridge.
6 //
7 /////////////////////////////////////////////////////////////////////////////
9 #ifndef __BUTTON_PREFS_H__
10 #define __BUTTON_PREFS_H__
12 #include "Common/WinWrap.h"
14 #include "../resource.h"
15 #include "../../DasherCore/DasherTypes.h"
17 #include "../AppSettings.h"
19 namespace Dasher
21 class CDasher;
25 class CButtonPrefs:public CWinWrap {
26 public:
27 CButtonPrefs(HWND hParent, Dasher::CDasher *pDasher, CAppSettings *pAppSettings);
28 ~CButtonPrefs();
30 protected:
31 LRESULT WndProc(HWND Window, UINT message, WPARAM wParam, LPARAM lParam);
32 void PopulateWidgets();
33 bool Apply();
35 private:
36 Dasher::CDasher *m_pDasher;
37 CAppSettings *m_pAppSettings;
39 TCHAR m_tcBuffer[1000];
41 HWND m_hZoomStepsSlider;
42 HWND m_hRightZoomSlider;
43 HWND m_hNoBoxesSlider;
44 HWND m_hSafetySlider;
45 HWND m_hNonUniformSlider;
47 HWND m_hZoomStepsBox;
48 HWND m_hRightZoomBox;
49 HWND m_hNoBoxesBox;
50 HWND m_hSafetyBox;
51 HWND m_hNonUniformBox;
54 #endif