OSDN Git Service

クラス名をリネームする
[kancollesniffer/KancolleSniffer.git] / KancolleSniffer / View / SwipeScrollify.cs
index fea57a4..48de5c1 100644 (file)
@@ -38,7 +38,7 @@ namespace KancolleSniffer.View
             _filter.MouseUp += handler.MouseUp;\r
         }\r
 \r
-        public void AddShipListPanel(ShipListPanel panel)\r
+        public void AddShipListPanel(ShipListPanel.ShipListPanel panel)\r
         {\r
             var handler = new ShipListPanelHandler(panel);\r
             _filter.MouseDown += handler.MouseDown;\r
@@ -61,10 +61,12 @@ namespace KancolleSniffer.View
             public event MouseHandler MouseMove, MouseDown, MouseUp;\r
 \r
             // ReSharper disable InconsistentNaming\r
+            // ReSharper disable IdentifierTypo\r
             private const int WM_MOUSEMOVE = 0x0200;\r
             private const int WM_LBUTTONDOWN = 0x0201;\r
 \r
             private const int WM_LBUTTONUP = 0x0202;\r
+            // ReSharper restore IdentifierTypo\r
             // ReSharper restore InconsistentNaming\r
 \r
             public bool PreFilterMessage(ref Message m)\r
@@ -149,14 +151,14 @@ namespace KancolleSniffer.View
 \r
         private class ShipListPanelHandler\r
         {\r
-            private readonly ShipListPanel _panel;\r
+            private readonly ShipListPanel.ShipListPanel _panel;\r
             private bool _touch;\r
             private Point _mouseStart;\r
             private int _barStart = -1;\r
             private Point _scrollStart;\r
-            private const int ScrollCount = ShipListPanel.LineHeight;\r
+            private const int ScrollCount = ShipListPanel.ShipListPanel.LineHeight;\r
 \r
-            public ShipListPanelHandler(ShipListPanel panel)\r
+            public ShipListPanelHandler(ShipListPanel.ShipListPanel panel)\r
             {\r
                 _panel = panel;\r
             }\r
@@ -227,10 +229,12 @@ namespace KancolleSniffer.View
             private static extern int SetScrollPos(IntPtr hWnd, int nBar, int nPos, bool bRedraw);\r
 \r
             // ReSharper disable InconsistentNaming\r
+            // ReSharper disable IdentifierTypo\r
             private const int GWL_STYLE = -16;\r
             private const int WS_HSCROLL = 0x00100000;\r
 \r
             private const int WS_VSCROLL = 0x00200000;\r
+            // ReSharper restore IdentifierTypo\r
             // ReSharper restore InconsistentNaming\r
 \r
             [DllImport("user32.dll")]\r