[dasher: 172/217] Cleanup



commit 48e0a52f42a7305f23db2d16cd2ed422f1f3b783
Author: Ada Majorek <amajorek google com>
Date:   Wed Jan 13 10:19:03 2016 -0800

    Cleanup

 Src/Win32/Widgets/AlphabetBox.cpp |    3 ++-
 Src/Win32/Widgets/AlphabetBox.h   |   22 +---------------------
 2 files changed, 3 insertions(+), 22 deletions(-)
---
diff --git a/Src/Win32/Widgets/AlphabetBox.cpp b/Src/Win32/Widgets/AlphabetBox.cpp
index f606370..fe6a1a9 100644
--- a/Src/Win32/Widgets/AlphabetBox.cpp
+++ b/Src/Win32/Widgets/AlphabetBox.cpp
@@ -37,7 +37,8 @@ static menuentry menutable[] = {
 };
 
 CAlphabetBox::CAlphabetBox(HWND Parent, CAppSettings *pAppSettings)
-: CPrefsPageBase(Parent, pAppSettings), m_CurrentAlphabet(pAppSettings->GetStringParameter(SP_ALPHABET_ID)), 
 Editing(false), Cloning(false), EditChar(false), CurrentGroup(0), CurrentChar(0) {
+: CPrefsPageBase(Parent, pAppSettings), 
+  m_CurrentAlphabet(pAppSettings->GetStringParameter(SP_ALPHABET_ID)) {
   m_hwnd = 0;
   m_hPropertySheet = 0;
 }
diff --git a/Src/Win32/Widgets/AlphabetBox.h b/Src/Win32/Widgets/AlphabetBox.h
index 529f1aa..5769fb3 100644
--- a/Src/Win32/Widgets/AlphabetBox.h
+++ b/Src/Win32/Widgets/AlphabetBox.h
@@ -22,33 +22,13 @@ private:
 
   std::vector < std::string > AlphabetList;
   std::string m_CurrentAlphabet;
-  //Dasher::CAlphInfo CurrentInfo;//for editing alphabets
 
-  //std::vector < std::string > ColourList;
-  
-  //Dasher::CColourIO::ColourInfo CurrentColourInfo;
-
-  // Some status flags:
-  bool Editing;
-  bool EditChar;
-  bool Cloning;
-  unsigned int CurrentGroup;
-  unsigned int CurrentChar;
-
- HWND slider;
+  HWND slider;
   HWND uniformbox;
 
   TCHAR m_tcBuffer[1000];
 
-
   void PopulateList();
-  /*void InitCustomBox();
-  std::string GetControlText(HWND Dialog, int ControlID);
-  void NewGroup(std::string NewGroup);
-  void ShowGroups();
-  void ShowGroupChars();
-  void CustomCharacter(std::string Display, std::string Text, int Colour);
-  bool UpdateInfo();*/
   bool Apply();
  
 };


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]