mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 09:03:25 +00:00
[MSPAINT] Add const to SelectionModel methods (#4191)
Add const keywords to some methods of SelectionModel class. CORE-17931
This commit is contained in:
parent
ce54a8a5f2
commit
b5536e448a
2 changed files with 14 additions and 14 deletions
|
@ -54,17 +54,17 @@ public:
|
|||
void FlipHorizontally();
|
||||
void FlipVertically();
|
||||
void RotateNTimes90Degrees(int iN);
|
||||
HBITMAP GetBitmap();
|
||||
int PtStackSize();
|
||||
HBITMAP GetBitmap() const;
|
||||
int PtStackSize() const;
|
||||
void DrawFramePoly(HDC hDCImage);
|
||||
void SetSrcAndDestRectFromPoints(const POINT& ptFrom, const POINT& ptTo);
|
||||
void SetSrcRectSizeToZero();
|
||||
BOOL IsSrcRectSizeNonzero();
|
||||
BOOL IsSrcRectSizeNonzero() const;
|
||||
void ModifyDestRect(POINT& ptDelta, int iAction);
|
||||
LONG GetDestRectWidth();
|
||||
LONG GetDestRectHeight();
|
||||
LONG GetDestRectLeft();
|
||||
LONG GetDestRectTop();
|
||||
LONG GetDestRectWidth() const;
|
||||
LONG GetDestRectHeight() const;
|
||||
LONG GetDestRectLeft() const;
|
||||
LONG GetDestRectTop() const;
|
||||
void DrawTextToolText(HDC hDCImage, COLORREF crFg, COLORREF crBg, BOOL bBgTransparent = FALSE);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue