aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-05-03 23:25:14 -0700
committerJacek Antonelli2010-06-19 02:03:56 -0500
commit64e994a132b39e8ed994f0d5cf0914bb44d92507 (patch)
tree102baf8061678e27b06a2a1e802b7e8136c6c4ee /linden/indra/llui
parentAdded minimize all option to the File menu, works on everything but the snaps... (diff)
downloadmeta-impy-64e994a132b39e8ed994f0d5cf0914bb44d92507.zip
meta-impy-64e994a132b39e8ed994f0d5cf0914bb44d92507.tar.gz
meta-impy-64e994a132b39e8ed994f0d5cf0914bb44d92507.tar.bz2
meta-impy-64e994a132b39e8ed994f0d5cf0914bb44d92507.tar.xz
Changed the default minimize position to the top left so it doesn't block chat anymore
Diffstat (limited to 'linden/indra/llui')
-rw-r--r--linden/indra/llui/llfloater.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/linden/indra/llui/llfloater.cpp b/linden/indra/llui/llfloater.cpp
index f6451a1..2033beb 100644
--- a/linden/indra/llui/llfloater.cpp
+++ b/linden/indra/llui/llfloater.cpp
@@ -2118,15 +2118,14 @@ void LLFloaterView::focusFrontFloater()
2118 2118
2119void LLFloaterView::getMinimizePosition(S32 *left, S32 *bottom) 2119void LLFloaterView::getMinimizePosition(S32 *left, S32 *bottom)
2120{ 2120{
2121 S32 col = 0;
2122 LLRect snap_rect_local = getLocalSnapRect(); 2121 LLRect snap_rect_local = getLocalSnapRect();
2123 for(S32 row = snap_rect_local.mBottom; 2122 for(S32 col = snap_rect_local.mLeft;
2124 row < snap_rect_local.getHeight() - LLFLOATER_HEADER_SIZE; 2123 col < snap_rect_local.getWidth() - MINIMIZED_WIDTH;
2125 row += LLFLOATER_HEADER_SIZE ) //loop rows 2124 col += MINIMIZED_WIDTH)
2126 { 2125 {
2127 for(col = snap_rect_local.mLeft; 2126 for(S32 row = snap_rect_local.mTop - LLFLOATER_HEADER_SIZE;
2128 col < snap_rect_local.getWidth() - MINIMIZED_WIDTH; 2127 row > LLFLOATER_HEADER_SIZE;
2129 col += MINIMIZED_WIDTH) 2128 row -= LLFLOATER_HEADER_SIZE) //loop rows
2130 { 2129 {
2131 bool foundGap = TRUE; 2130 bool foundGap = TRUE;
2132 for(child_list_const_iter_t child_it = getChildList()->begin(); 2131 for(child_list_const_iter_t child_it = getChildList()->begin();