[dasher] g/c Slidebar



commit e09e37bcbfcfe9ebc7c5152e9202895d135f546a
Author: Patrick Welche <prlw1 cam ac uk>
Date:   Fri Mar 15 14:01:12 2013 +0000

    g/c Slidebar
    
    Award winning code such as:
    
      void CSlidebar::Resize() {
        SendMessage(m_pStatusControl->m_hWnd, WM_SIZE, 0, 0);
        int j = 0;
      int i = 5/j;
      }
    
    suggests that it isn't used.

 Src/Win32/Dasher.h             |    1 -
 Src/Win32/DasherWindow.cpp     |    3 --
 Src/Win32/Makefile.am          |    2 -
 Src/Win32/Widgets/Slidebar.cpp |   75 ----------------------------------------
 Src/Win32/Widgets/Slidebar.h   |   36 -------------------
 5 files changed, 0 insertions(+), 117 deletions(-)
---
diff --git a/Src/Win32/Dasher.h b/Src/Win32/Dasher.h
index 05d51bf..3b4c114 100644
--- a/Src/Win32/Dasher.h
+++ b/Src/Win32/Dasher.h
@@ -20,7 +20,6 @@ extern CONST UINT WM_DASHER_FOCUS;
 #define _WM_DASHER_FOCUS (LPCWSTR)"wm_dasher_focus"
 
 class CCanvas;
-class CSlidebar;
 class CEdit;
 class CDasherWindow;
 
diff --git a/Src/Win32/DasherWindow.cpp b/Src/Win32/DasherWindow.cpp
index ae3ed6b..6184e6c 100644
--- a/Src/Win32/DasherWindow.cpp
+++ b/Src/Win32/DasherWindow.cpp
@@ -28,7 +28,6 @@
 #include "Widgets/Prefs.h"
 #endif
 
-#include "Widgets/Slidebar.h"
 #include "Widgets/Toolbar.h"
 #include "WinCommon.h"
 
@@ -501,8 +500,6 @@ void CDasherWindow::Layout() {
       // ...with the bottom bar just below it.
       if(m_pSpeedAlphabetBar)
         m_pSpeedAlphabetBar->MoveWindow(0, Height - SpeedAlphabetHeight, Width, SpeedAlphabetHeight);
-      //  m_pSlidebar->MoveWindow(2, Height - SlidebarHeight, Width-4, SlidebarHeight);
-
     }
   }
 }
diff --git a/Src/Win32/Makefile.am b/Src/Win32/Makefile.am
index e0d4b4c..ed377c4 100644
--- a/Src/Win32/Makefile.am
+++ b/Src/Win32/Makefile.am
@@ -53,8 +53,6 @@ EXTRA_DIST = \
                Widgets/Screen.cpp \
                Widgets/Screen.h \
                Widgets/Screen.inl \
-               Widgets/Slidebar.cpp \
-               Widgets/Slidebar.h \
                Widgets/SocketPage.cpp \
                Widgets/SocketPage.h \
                Widgets/SplashScreen.cpp \


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