diff options
| author | Richard Linden <none@none> | 2010-10-07 15:35:17 -0700 | 
|---|---|---|
| committer | Richard Linden <none@none> | 2010-10-07 15:35:17 -0700 | 
| commit | d8e40a49ed6b57c5f2b0325803a11cf04b987652 (patch) | |
| tree | ab9950771ee01d196c23c4d97853c3ee453cdc49 | |
| parent | 2292360d8a001e05c8b95a1dc3db1c00dfec94f5 (diff) | |
EXP-156 FIXED  custom Skylight hints
moved move hint down to bottom of screen
made destination hint go away on teleport
| -rw-r--r-- | indra/newview/llbottomtray.cpp | 1 | ||||
| -rw-r--r-- | indra/newview/llfirstuse.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llviewermessage.cpp | 2 | 
3 files changed, 4 insertions, 1 deletions
| diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp index d869850b7c..fd11045f56 100644 --- a/indra/newview/llbottomtray.cpp +++ b/indra/newview/llbottomtray.cpp @@ -517,6 +517,7 @@ void LLBottomTray::toggleCameraControls()  BOOL LLBottomTray::postBuild()  { +	LLHints::registerHintTarget("bottom_tray", LLView::getHandle());  	LLHints::registerHintTarget("dest_guide_btn", getChild<LLUICtrl>("destinations_btn")->getHandle());  	LLUICtrl::CommitCallbackRegistry::currentRegistrar().add("NearbyChatBar.Action", boost::bind(&LLBottomTray::onContextMenuItemClicked, this, _2)); diff --git a/indra/newview/llfirstuse.cpp b/indra/newview/llfirstuse.cpp index b757f25d5e..5d6197c688 100644 --- a/indra/newview/llfirstuse.cpp +++ b/indra/newview/llfirstuse.cpp @@ -115,7 +115,7 @@ void LLFirstUse::notMoving(bool enable)  {  	// fire off 2 notifications and rely on filtering to select the relevant one  	firstUseNotification("FirstNotMoving", enable, "HintMove", LLSD(), LLSD().with("target", "move_btn").with("direction", "top")); -	firstUseNotification("FirstNotMoving", enable, "HintMoveArrows", LLSD(), LLSD().with("hint_image", "arrow_keys.png")); +	firstUseNotification("FirstNotMoving", enable, "HintMoveArrows", LLSD(), LLSD().with("target", "bottom_tray").with("direction", "top").with("hint_image", "arrow_keys.png").with("down_arrow", ""));  }  // static diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 26b7e0fb6d..79a3bc5776 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -3201,6 +3201,8 @@ void process_chat_from_simulator(LLMessageSystem *msg, void **user_data)  // then this info is news to us.  void process_teleport_start(LLMessageSystem *msg, void**)  { +	// on teleport, don't tell them about destination guide anymore +	LLFirstUse::notUsingDestinationGuide(false);  	U32 teleport_flags = 0x0;  	msg->getU32("Info", "TeleportFlags", teleport_flags); | 
