selectionmodel.h (f5200e6c) selectionmodel.h (bbb33a6e)
1/*
2 * PROJECT: PAINT for ReactOS
3 * LICENSE: LGPL-2.0-or-later (https://spdx.org/licenses/LGPL-2.0-or-later)
4 * PURPOSE: Keep track of selection parameters, notify listeners
5 * COPYRIGHT: Copyright 2015 Benedikt Freisen <b.freisen@gmx.net>
6 * Copyright 2019-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
7 */
8

--- 26 unchanged lines hidden (view full) ---

35
36 BOOL TakeOff();
37 void Landing();
38 BOOL IsLanded() const;
39 void HideSelection();
40 void DeleteSelection();
41
42 HBITMAP CopyBitmap();
1/*
2 * PROJECT: PAINT for ReactOS
3 * LICENSE: LGPL-2.0-or-later (https://spdx.org/licenses/LGPL-2.0-or-later)
4 * PURPOSE: Keep track of selection parameters, notify listeners
5 * COPYRIGHT: Copyright 2015 Benedikt Freisen <b.freisen@gmx.net>
6 * Copyright 2019-2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
7 */
8

--- 26 unchanged lines hidden (view full) ---

35
36 BOOL TakeOff();
37 void Landing();
38 BOOL IsLanded() const;
39 void HideSelection();
40 void DeleteSelection();
41
42 HBITMAP CopyBitmap();
43 HBITMAP LockBitmap();
44 void UnlockBitmap(HBITMAP hbmLocked);
43 void GetSelectionContents(HDC hDCImage);
44 void DrawFramePoly(HDC hDCImage);
45 void DrawBackground(HDC hDCImage);
46 void DrawBackgroundPoly(HDC hDCImage, COLORREF crBg);
47 void DrawBackgroundRect(HDC hDCImage, COLORREF crBg);
48 void DrawSelection(HDC hDCImage, COLORREF crBg = 0, BOOL bBgTransparent = FALSE);
49 void InsertFromHBITMAP(HBITMAP hbmColor, INT x = 0, INT y = 0, HBITMAP hbmMask = NULL);
50

--- 19 unchanged lines hidden ---
45 void GetSelectionContents(HDC hDCImage);
46 void DrawFramePoly(HDC hDCImage);
47 void DrawBackground(HDC hDCImage);
48 void DrawBackgroundPoly(HDC hDCImage, COLORREF crBg);
49 void DrawBackgroundRect(HDC hDCImage, COLORREF crBg);
50 void DrawSelection(HDC hDCImage, COLORREF crBg = 0, BOOL bBgTransparent = FALSE);
51 void InsertFromHBITMAP(HBITMAP hbmColor, INT x = 0, INT y = 0, HBITMAP hbmMask = NULL);
52

--- 19 unchanged lines hidden ---