xref: /reactos/base/applications/mspaint/sizebox.h (revision 32d615fc)
1 /*
2  * PROJECT:    PAINT for ReactOS
3  * LICENSE:    LGPL-2.0-or-later (https://spdx.org/licenses/LGPL-2.0-or-later)
4  * PURPOSE:    Window procedure of the size boxes
5  * COPYRIGHT:  Copyright 2015 Benedikt Freisen <b.freisen@gmx.net>
6  *             Copyright 2017-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
7  */
8 
9 #pragma once
10 
11 BOOL setCursorOnSizeBox(HITTEST hit);
12 BOOL getSizeBoxRect(LPRECT prc, HITTEST hit, LPCRECT prcBase);
13 HITTEST getSizeBoxHitTest(POINT pt, LPCRECT prcBase);
14 VOID drawSizeBoxes(HDC hdc, LPCRECT prcBase, BOOL bDrawFrame = FALSE, LPCRECT prcPaint = NULL);
15