.reference

git-svn-id: svn://ultimatepp.org/upp/trunk@14330 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-04-18 15:12:43 +00:00
parent 83a2d1ca8d
commit d7e8c68775

View file

@ -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);