summaryrefslogtreecommitdiff
path: root/indra/llui/llresizebar.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-05-20 11:47:15 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-05-20 11:47:15 +0100
commit9c779e222eb6f929003e2cce446850dfbc306063 (patch)
tree2837aacd1966ea429ea450bb7869e5b6595db309 /indra/llui/llresizebar.cpp
parent02fe5d60c0a6664bb86254347ce31467da2d90c3 (diff)
parentae0dbecb1c93347f7d83760117496048af3148da (diff)
merge from viewer-public
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);