mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:13:00 +00:00
[MSPAINT] Improve Undo/Redo and finishing tool (#4324)
- Fix Undo/Redo mechanism. - Finish drawing when the tool is to be chanaged and when the file is to be saved. - Add ToolBase::OnFinishDraw to virtualize finishing drawing. - Extend bClearRedo parameter to ImageModel::Undo. - Add ImageModel::DrawSelectionBackground and ImageModel::DeleteSelection methods. - Fix some WM_PAINT message handling. CORE-17969
This commit is contained in:
parent
c5b029d0fc
commit
0839711566
14 changed files with 313 additions and 151 deletions
|
@ -66,7 +66,6 @@ public:
|
|||
LONG GetDestRectLeft() const;
|
||||
LONG GetDestRectTop() const;
|
||||
void GetRect(LPRECT prc) const;
|
||||
void DrawTextToolText(HDC hDCImage, COLORREF crFg, COLORREF crBg, BOOL bBgTransparent = FALSE);
|
||||
|
||||
private:
|
||||
SelectionModel(const SelectionModel&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue