summaryrefslogtreecommitdiff
path: root/indra/llui/llresizebar.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2010-05-27 14:31:39 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2010-05-27 14:31:39 -0400
commit4fdf70d2135c7ec0cb8d8067d4f916b1c9a1dda7 (patch)
tree466cf9f78f159065fff714f5a99247c1ba12ecd1 /indra/llui/llresizebar.cpp
parent670e316dd78e386e5d52da3162d87e0333b29d8a (diff)
parente5273960de222ffae32405fde8e9fd566ff72d0a (diff)
merge
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);