summaryrefslogtreecommitdiff
path: root/indra/llui/llresizebar.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-05-20 11:44:49 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-05-20 11:44:49 +0100
commitae0dbecb1c93347f7d83760117496048af3148da (patch)
tree82f1a09547b4c92bfa405b51e4683595c0cc26bb /indra/llui/llresizebar.cpp
parent13d2501c847929ce9ee155dbb4dcfcf166710d3e (diff)
parent56e88c6b2e656a28b25154e27c05e7ced65d90a8 (diff)
merge from PE's viewer-trunk
Diffstat (limited to 'indra/llui/llresizebar.cpp')
-rw-r--r--indra/llui/llresizebar.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llresizebar.cpp b/indra/llui/llresizebar.cpp
index 0c46edf300..5d26b904b5 100644
--- a/indra/llui/llresizebar.cpp
+++ b/indra/llui/llresizebar.cpp
@@ -182,6 +182,11 @@ BOOL LLResizeBar::handleHover(S32 x, S32 y, MASK mask)
break;
}
+ notifyParent(LLSD().with("action", "resize")
+ .with("view_name", mResizingView->getName())
+ .with("new_height", new_height)
+ .with("new_width", new_width));
+
scaled_rect.mTop = scaled_rect.mBottom + new_height;
scaled_rect.mRight = scaled_rect.mLeft + new_width;
mResizingView->setRect(scaled_rect);