diff options
author | Richard Nelson <none@none> | 2010-10-06 20:10:36 -0700 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-10-06 20:10:36 -0700 |
commit | 01b28ddf5ddc7118bc8b2047d899aee0293a8721 (patch) | |
tree | cc54886aafc124d2c310e983f39a42629afa8925 /indra/newview/llfloatercamera.cpp | |
parent | 5ec879ecba6c4a24fbb460afdfa753b2d39a1903 (diff) |
EXP-156 WIP Implement custom Skylight hints
Diffstat (limited to 'indra/newview/llfloatercamera.cpp')
-rw-r--r-- | indra/newview/llfloatercamera.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llfloatercamera.cpp b/indra/newview/llfloatercamera.cpp index b4e211a38e..be65396b0f 100644 --- a/indra/newview/llfloatercamera.cpp +++ b/indra/newview/llfloatercamera.cpp @@ -40,6 +40,8 @@ #include "lltoolmgr.h" #include "lltoolfocus.h" #include "llslider.h" +#include "llfirstuse.h" +#include "llhints.h" static LLDefaultChildRegistry::Register<LLPanelCameraItem> r("panel_camera_item"); @@ -294,6 +296,8 @@ LLFloaterCamera* LLFloaterCamera::findInstance() void LLFloaterCamera::onOpen(const LLSD& key) { + LLFirstUse::viewPopup(); + LLButton *anchor_panel = LLBottomTray::getInstance()->getChild<LLButton>("camera_btn"); setDockControl(new LLDockControl( @@ -339,6 +343,7 @@ LLFloaterCamera::LLFloaterCamera(const LLSD& val) LLUICtrl::CommitCallbackRegistry::ScopedRegistrar registrar; registrar.add("CameraPresets.ChangeView", boost::bind(&LLFloaterCamera::onClickCameraItem, _2)); + LLHints::registerHintTarget("view_popup", LLView::getHandle()); } // virtual |