From b46826c8210cda7e0c35741fe1f8e3787cc6e6e6 Mon Sep 17 00:00:00 2001 From: Aimee Linden Date: Tue, 8 Jun 2010 15:01:35 +0100 Subject: EXT-7521 FIXED Snapshot floater not remembering whether to show the advanced panel. Also removes some redundant code, and registers UI callbacks for use from XUI. Reviewed by: Tofu --- indra/newview/llfloatersnapshot.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'indra/newview/llfloatersnapshot.h') diff --git a/indra/newview/llfloatersnapshot.h b/indra/newview/llfloatersnapshot.h index 931d355748..8c4373c35c 100644 --- a/indra/newview/llfloatersnapshot.h +++ b/indra/newview/llfloatersnapshot.h @@ -47,13 +47,6 @@ public: SNAPSHOT_FORMAT_BMP } ESnapshotFormat; - enum ESnapshotMode - { - SNAPSHOT_SHARE, - SNAPSHOT_SAVE, - SNAPSHOT_MAIN - }; - LLFloaterSnapshot(const LLSD& key); virtual ~LLFloaterSnapshot(); @@ -66,7 +59,7 @@ public: void setAsProfilePic(const LLUUID& image_id); - bool updateButtons(ESnapshotMode mode); + bool updateButtons(const LLSD& mode); static S32 getUIWinHeightLong() {return sUIWinHeightLong ;} static S32 getUIWinHeightShort() {return sUIWinHeightShort ;} -- cgit v1.2.3