mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.reference
git-svn-id: svn://ultimatepp.org/upp/trunk@14330 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
83a2d1ca8d
commit
d7e8c68775
1 changed files with 7 additions and 0 deletions
|
|
@ -27,6 +27,13 @@ struct MyApp : TopWindow {
|
|||
virtual void LeftDown(Point p, dword keyflags) {
|
||||
RectTracker tr(*this);
|
||||
Size sz = GetSize();
|
||||
if((keyflags & K_CTRL) && (keyflags & K_ALT)) {
|
||||
tr.Dashed();
|
||||
tr.MinSize(Size(-10000, -10000)); // allow negative size
|
||||
rect = tr.Track(rect, ALIGN_RIGHT, ALIGN_BOTTOM);
|
||||
rect.Normalize();
|
||||
}
|
||||
else
|
||||
if(keyflags & K_ALT) {
|
||||
tr.Dashed().Animation();
|
||||
tr.round = THISBACK(Round);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue