From 7abecb48babe6a6f09bf6692ba55076546cfced9 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Mon, 1 Dec 2008 17:39:58 -0600 Subject: Second Life viewer sources 1.22.0-RC --- linden/indra/newview/llfloaterlandmark.cpp | 56 ++++-------------------------- 1 file changed, 6 insertions(+), 50 deletions(-) (limited to 'linden/indra/newview/llfloaterlandmark.cpp') diff --git a/linden/indra/newview/llfloaterlandmark.cpp b/linden/indra/newview/llfloaterlandmark.cpp index 71e35e8..a8c08bb 100644 --- a/linden/indra/newview/llfloaterlandmark.cpp +++ b/linden/indra/newview/llfloaterlandmark.cpp @@ -34,73 +34,28 @@ #include "llfloaterlandmark.h" #include "llagent.h" -#include "llviewerimagelist.h" #include "llcheckboxctrl.h" -#include "llcombobox.h" -#include "llbutton.h" -#include "lldraghandle.h" -#include "llfocusmgr.h" -#include "llviewerimage.h" #include "llviewerparcelmgr.h" #include "llfolderview.h" #include "llinventory.h" #include "llinventorymodel.h" #include "llinventoryview.h" -#include "lllineeditor.h" -#include "llui.h" #include "llviewerinventory.h" #include "llpermissions.h" #include "llsaleinfo.h" -#include "llassetstorage.h" -#include "lltextbox.h" #include "llparcel.h" -#include "llresizehandle.h" -#include "llscrollcontainer.h" -#include "lltoolmgr.h" -#include "lltoolpipette.h" - -#include "lltool.h" -#include "llviewerwindow.h" -#include "llviewerobject.h" + +#include "llviewerwindow.h" // alertXml #include "llviewercontrol.h" -#include "llglheaders.h" #include "lluictrlfactory.h" -#include "roles_constants.h" - - - -static const S32 CLOSE_BTN_WIDTH = 100; -const S32 PIPETTE_BTN_WIDTH = 32; -static const S32 HPAD = 4; -static const S32 VPAD = 4; -static const S32 LINE = 16; -static const S32 SMALL_BTN_WIDTH = 64; -static const S32 TEX_PICKER_MIN_WIDTH = - (HPAD + - CLOSE_BTN_WIDTH + - HPAD + - CLOSE_BTN_WIDTH + - HPAD + - SMALL_BTN_WIDTH + - HPAD + - SMALL_BTN_WIDTH + - HPAD + - 30 + - RESIZE_HANDLE_WIDTH * 2); -static const S32 CLEAR_BTN_WIDTH = 50; -static const S32 TEX_PICKER_MIN_HEIGHT = 290; -static const S32 FOOTER_HEIGHT = 100; -static const S32 BORDER_PAD = HPAD; -static const S32 TEXTURE_INVENTORY_PADDING = 30; +#include "roles_constants.h" // GP_LAND_ALLOW_LANDMARK + + static const F32 CONTEXT_CONE_IN_ALPHA = 0.0f; static const F32 CONTEXT_CONE_OUT_ALPHA = 1.f; static const F32 CONTEXT_FADE_TIME = 0.08f; -//static const char CURRENT_IMAGE_NAME[] = "Current Landmark"; -//static const char WHITE_IMAGE_NAME[] = "Blank Landmark"; -//static const char NO_IMAGE_NAME[] = "None"; - LLFloaterLandmark::LLFloaterLandmark(const LLSD& data) : @@ -167,6 +122,7 @@ LLFloaterLandmark::LLFloaterLandmark(const LLSD& data) LLFloaterLandmark::~LLFloaterLandmark() { delete mSavedFolderState; + mSavedFolderState = NULL; } void LLFloaterLandmark::setActive( BOOL active ) -- cgit v1.1 From a87e38229921b48c32187c672a942516722f1b52 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sun, 11 Jan 2009 16:10:39 -0600 Subject: Second Life viewer sources 1.22.5-RC --- linden/indra/newview/llfloaterlandmark.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linden/indra/newview/llfloaterlandmark.cpp') diff --git a/linden/indra/newview/llfloaterlandmark.cpp b/linden/indra/newview/llfloaterlandmark.cpp index a8c08bb..e9979de 100644 --- a/linden/indra/newview/llfloaterlandmark.cpp +++ b/linden/indra/newview/llfloaterlandmark.cpp @@ -4,7 +4,7 @@ * * $LicenseInfo:firstyear=2007&license=viewergpl$ * - * Copyright (c) 2007-2008, Linden Research, Inc. + * Copyright (c) 2007-2009, Linden Research, Inc. * * Second Life Viewer Source Code * The source code in this file ("Source Code") is provided by Linden Lab -- cgit v1.1