tagging release
[dasher.git] / trunk / Src / Win32 / Widgets / AdvancedPage.h
blobe910348b265c7fb83365d79b2e347a808775cd5c
1 // AdvancedPage.h
2 //
3 /////////////////////////////////////////////////////////////////////////////
4 //
5 // Copyright (c) 2002 Iain Murray, Inference Group, Cavendish, Cambridge.
6 //
7 /////////////////////////////////////////////////////////////////////////////
9 #ifndef __AdvancedPage_h__
10 #define __AdvancedPage_h__
12 #include "PrefsPageBase.h"
14 #include "../resource.h"
15 #include "../AppSettings.h"
17 #include "../../DasherCore/DasherInterfaceBase.h"
18 #include "../../DasherCore/ColourIO.h"
20 class CAdvancedPage:public CPrefsPageBase {
21 public:
22 CAdvancedPage(HWND Parent, CDasherInterfaceBase * DI, CAppSettings *pAppSettings);
23 protected:
24 private:
25 HWND CustomBox;
27 std::string GetControlText(HWND Dialog, int ControlID);
29 std::vector < std::string > ColourList;
30 std::string m_CurrentColours;
31 Dasher::CColourIO::ColourInfo CurrentInfo;
33 // Some status flags:
34 void PopulateList();
35 void InitCustomBox();
36 bool UpdateInfo();
37 bool Apply();
38 bool Validate();
40 TCHAR m_tcBuffer[1000];
44 #endif /* #ifndef __AlphabetBox_h__ */