mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
git-svn-id: svn://ultimatepp.org/upp/trunk@8648 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7007b9646a
commit
7ed7cce801
4 changed files with 3798 additions and 3827 deletions
|
|
@ -4,6 +4,7 @@ NAMESPACE_UPP
|
|||
|
||||
void IconDes::LeftDown(Point p, dword flags)
|
||||
{
|
||||
SetFocus();
|
||||
if(!IsCurrent())
|
||||
return;
|
||||
SaveUndo();
|
||||
|
|
|
|||
|
|
@ -74,9 +74,13 @@ void IconDes::Paint(Draw& w)
|
|||
}
|
||||
}
|
||||
w.DrawImage(-spos.x, -spos.y, pb);
|
||||
Rect r = pb.GetSize();
|
||||
r.Offset(-spos);
|
||||
w.DrawRect(r.right, 0, 1, r.bottom + 1, LtRed());
|
||||
w.DrawRect(0, r.bottom, r.right, 1, LtRed());
|
||||
m1refresh = Null;
|
||||
if(IsPasting() && IsPasting())
|
||||
DrawFrame(w, Rect(spos, Current().paste_image.GetSize()), LtRed);
|
||||
DrawFrame(w, Rect(Current().pastepos - spos, Current().paste_image.GetSize()), LtRed);
|
||||
return;
|
||||
}
|
||||
Point hotspot = image.GetHotSpot();
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
7618
uppsrc/ide/ide.iml
7618
uppsrc/ide/ide.iml
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue