Files
SingularityViewer/indra/newview/llfloaterdestinations.h
Inusaito Sayori ce265b3948 Add Destination Guide
Adds llfloaterdestinations.* and floater_destinations.xml (needs translations, but not really)
Adds GenericErrorPageURL, DestinationGuideURL (not persistent), DestinationGuideShown, and DestinationGuideRect to debug settings
Removes ShowcaseURLDefault in favor of DestinationGuideURL from upstream.
Also Adds ToolbarVisibleDestinations for the toolbar button, but I'll need to set up a nice way to make the button invisible when the url is empty before adding it to the gui... maybe.. or maybe it's just not important.

This commit comes with support for dynamically changing destination guide page based on opensimextras simulator features cap
2014-07-31 10:07:11 -04:00

46 lines
1.5 KiB
C++

/**
* @file llfloaterdestinations.h
* @author Leyla Farazha
* @brief floater for the destinations guide
*
* $LicenseInfo:firstyear=2011&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2011, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* version 2.1 of the License only.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
* Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
* $/LicenseInfo$
*/
#ifndef LL_FLOATER_DESTINATIONS_H
#define LL_FLOATER_DESTINATIONS_H
#include "llfloater.h"
class LLFloaterDestinations :
public LLFloater
, public LLFloaterSingleton<LLFloaterDestinations>
{
friend class LLUISingleton<LLFloaterDestinations, VisibilityPolicy<LLFloater> >;
private:
LLFloaterDestinations(const LLSD& key);
/*virtual*/ ~LLFloaterDestinations();
/*virtual*/ BOOL postBuild();
void changeURL(class LLMediaCtrl* destinations, const std::string& url);
};
#endif