aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llfloater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui/llfloater.cpp')
-rw-r--r--linden/indra/llui/llfloater.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/linden/indra/llui/llfloater.cpp b/linden/indra/llui/llfloater.cpp
index 58c717a..4c4aeaf 100644
--- a/linden/indra/llui/llfloater.cpp
+++ b/linden/indra/llui/llfloater.cpp
@@ -277,30 +277,14 @@ void LLFloater::initFloater(const std::string& title,
277 mMinimized = FALSE; 277 mMinimized = FALSE;
278 mExpandedRect.set(0,0,0,0); 278 mExpandedRect.set(0,0,0,0);
279 279
280 S32 close_pad; // space to the right of close box
281 S32 close_box_size; // For layout purposes, how big is the close box? 280 S32 close_box_size; // For layout purposes, how big is the close box?
282 if (close_btn) 281 if (close_btn)
283 { 282 {
284 close_box_size = LLFLOATER_CLOSE_BOX_SIZE; 283 close_box_size = LLFLOATER_CLOSE_BOX_SIZE;
285 close_pad = 0;
286 } 284 }
287 else 285 else
288 { 286 {
289 close_box_size = 0; 287 close_box_size = 0;
290 close_pad = 0;
291 }
292
293 S32 minimize_box_size;
294 S32 minimize_pad;
295 if (minimizable && !drag_on_left)
296 {
297 minimize_box_size = LLFLOATER_CLOSE_BOX_SIZE;
298 minimize_pad = 0;
299 }
300 else
301 {
302 minimize_box_size = 0;
303 minimize_pad = 0;
304 } 288 }
305 289
306 // Drag Handle 290 // Drag Handle