summaryrefslogtreecommitdiff
path: root/ldmicro
diff options
context:
space:
mode:
authorRr422018-06-27 13:42:05 +0530
committerRr422018-06-27 13:42:05 +0530
commitd02d387ca89ffdb070f56bf263a35729b205ca77 (patch)
treeced76affa04b141a209814c8f6c4d7181fa5ded7 /ldmicro
parent2af296bf83d9c3aa432e94f27dbaf2085bebeea3 (diff)
downloadLDMicroGtk-d02d387ca89ffdb070f56bf263a35729b205ca77.tar.gz
LDMicroGtk-d02d387ca89ffdb070f56bf263a35729b205ca77.tar.bz2
LDMicroGtk-d02d387ca89ffdb070f56bf263a35729b205ca77.zip
Removed unused code.
Diffstat (limited to 'ldmicro')
-rw-r--r--ldmicro/ldmicro.cpp56
1 files changed, 10 insertions, 46 deletions
diff --git a/ldmicro/ldmicro.cpp b/ldmicro/ldmicro.cpp
index d1416cf..cd65ed8 100644
--- a/ldmicro/ldmicro.cpp
+++ b/ldmicro/ldmicro.cpp
@@ -595,52 +595,8 @@ cmp:
}
//-----------------------------------------------------------------------------
-// WndProc for MainWindow.
+// WndProc functions for MainWindow.
//-----------------------------------------------------------------------------
-// LRESULT CALLBACK MainWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
-// {
-// // switch (msg) {
-// // case WM_ERASEBKGND:
-// // break;
-
-// // case WM_SETFOCUS:
-
-// // case WM_PAINT: {
-// // }
-
-// // case WM_KEYDOWN: {
-// // }
-
-// // case WM_LBUTTONDBLCLK: {
-// // }
-
-// // case WM_LBUTTONDOWN: {
-// // }
-// // case WM_MOUSEMOVE: {
-// // }
-// // case WM_MOUSEWHEEL: {
-// // }
-
-// // case WM_SIZE:
-
-// // case WM_NOTIFY: {
-
-// // case WM_VSCROLL:
-
-// // case WM_HSCROLL:
-
-// // case WM_COMMAND:
-
-// // case WM_CLOSE:
-// // case WM_DESTROY:
-
-// // default:
-// // return DefWindowProc(hwnd, msg, wParam, lParam);
-// // }
-
-// return 1;
-// }
-
gboolean LD_WM_KeyDown_call(GtkWidget *widget, GdkEventKey *event, gpointer user_data)
{
/* Handles:
@@ -871,7 +827,15 @@ gboolean LD_WM_MouseMove_call(GtkWidget *widget, GdkEvent *event, gpointer user_
// SetCursor(LoadCursor(NULL, IDC_ARROW));
// }
- // break;
+ // int dy = MouseY - mhs->pt.y;
+
+ // int dy = MouseY - mhs->pt.y;
+
+ // IoListHeight += dy;
+ // if(IoListHeight < 50) IoListHeight = 50;
+ // MouseY = mhs->pt.y;
+ // MainWindowResized();
+
return FALSE;
}