Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / reactos / base / applications / mspaint / miniature.cpp
diff --git a/reactos/base/applications/mspaint/miniature.cpp b/reactos/base/applications/mspaint/miniature.cpp
deleted file mode 100644 (file)
index 160ed0a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * PROJECT:     PAINT for ReactOS
- * LICENSE:     LGPL
- * FILE:        base/applications/mspaint/miniature.cpp
- * PURPOSE:     Window procedure of the main window and all children apart from
- *              hPalWin, hToolSettings and hSelection
- * PROGRAMMERS: Benedikt Freisen
- */
-
-/* INCLUDES *********************************************************/
-
-#include "precomp.h"
-
-/* FUNCTIONS ********************************************************/
-
-LRESULT CMiniatureWindow::OnClose(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
-{
-    miniature.ShowWindow(SW_HIDE);
-    showMiniature = FALSE;
-    return 0;
-}
-
-LRESULT CMiniatureWindow::OnPaint(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
-{
-    DefWindowProc(WM_PAINT, wParam, lParam);
-    RECT mclient;
-    HDC hdc;
-    miniature.GetClientRect(&mclient);
-    hdc = miniature.GetDC();
-    StretchBlt(hdc, 0, 0, mclient.right, mclient.bottom, imageModel.GetDC(), 0, 0, imageModel.GetWidth(), imageModel.GetHeight(), SRCCOPY);
-    miniature.ReleaseDC(hdc);
-    return 0;
-}
-
-LRESULT CMiniatureWindow::OnSetCursor(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
-{
-    SetCursor(LoadCursor(NULL, IDC_ARROW));
-    bHandled = FALSE;
-    return 0;
-}