hg merge
commit
3e61b37258
|
|
@ -539,7 +539,6 @@ LLFloater::~LLFloater()
|
|||
delete mResizeHandle[i];
|
||||
}
|
||||
|
||||
storeRectControl();
|
||||
setVisible(false); // We're not visible if we're destroyed
|
||||
storeVisibilityControl();
|
||||
storeDockStateControl();
|
||||
|
|
|
|||
|
|
@ -548,23 +548,23 @@ BOOL LLTabContainer::handleMouseDown( S32 x, S32 y, MASK mask )
|
|||
}
|
||||
|
||||
S32 tab_count = getTabCount();
|
||||
if (tab_count > 0)
|
||||
if (tab_count > 0 && !getTabsHidden())
|
||||
{
|
||||
LLTabTuple* firsttuple = getTab(0);
|
||||
LLRect tab_rect;
|
||||
if (mIsVertical)
|
||||
{
|
||||
tab_rect = LLRect(firsttuple->mButton->getRect().mLeft,
|
||||
has_scroll_arrows ? mPrevArrowBtn->getRect().mBottom - tabcntrv_pad : mPrevArrowBtn->getRect().mTop,
|
||||
firsttuple->mButton->getRect().mRight,
|
||||
has_scroll_arrows ? mNextArrowBtn->getRect().mTop + tabcntrv_pad : mNextArrowBtn->getRect().mBottom );
|
||||
has_scroll_arrows ? mPrevArrowBtn->getRect().mBottom - tabcntrv_pad : mPrevArrowBtn->getRect().mTop,
|
||||
firsttuple->mButton->getRect().mRight,
|
||||
has_scroll_arrows ? mNextArrowBtn->getRect().mTop + tabcntrv_pad : mNextArrowBtn->getRect().mBottom );
|
||||
}
|
||||
else
|
||||
{
|
||||
tab_rect = LLRect(has_scroll_arrows ? mPrevArrowBtn->getRect().mRight : mJumpPrevArrowBtn->getRect().mLeft,
|
||||
firsttuple->mButton->getRect().mTop,
|
||||
has_scroll_arrows ? mNextArrowBtn->getRect().mLeft : mJumpNextArrowBtn->getRect().mRight,
|
||||
firsttuple->mButton->getRect().mBottom );
|
||||
firsttuple->mButton->getRect().mTop,
|
||||
has_scroll_arrows ? mNextArrowBtn->getRect().mLeft : mJumpNextArrowBtn->getRect().mRight,
|
||||
firsttuple->mButton->getRect().mBottom );
|
||||
}
|
||||
if( tab_rect.pointInRect( x, y ) )
|
||||
{
|
||||
|
|
@ -681,7 +681,7 @@ BOOL LLTabContainer::handleToolTip( S32 x, S32 y, MASK mask)
|
|||
{
|
||||
static LLUICachedControl<S32> tabcntrv_pad ("UITabCntrvPad", 0);
|
||||
BOOL handled = LLPanel::handleToolTip( x, y, mask);
|
||||
if (!handled && getTabCount() > 0)
|
||||
if (!handled && getTabCount() > 0 && !getTabsHidden())
|
||||
{
|
||||
LLTabTuple* firsttuple = getTab(0);
|
||||
|
||||
|
|
@ -812,7 +812,9 @@ BOOL LLTabContainer::handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop, EDrag
|
|||
{
|
||||
BOOL has_scroll_arrows = (getMaxScrollPos() > 0);
|
||||
|
||||
if( mDragAndDropDelayTimer.getStarted() && mDragAndDropDelayTimer.getElapsedTimeF32() > SCROLL_DELAY_TIME )
|
||||
if( !getTabsHidden()
|
||||
&& mDragAndDropDelayTimer.getStarted()
|
||||
&& mDragAndDropDelayTimer.getElapsedTimeF32() > SCROLL_DELAY_TIME )
|
||||
{
|
||||
if (has_scroll_arrows)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -721,7 +721,7 @@ LLView* LLView::childrenHandleCharEvent(const std::string& desc, const METHOD& m
|
|||
|
||||
// XDATA might be MASK, or S32 clicks
|
||||
template <typename METHOD, typename XDATA>
|
||||
LLView* LLView::childrenHandleMouseEvent(const METHOD& method, S32 x, S32 y, XDATA extra)
|
||||
LLView* LLView::childrenHandleMouseEvent(const METHOD& method, S32 x, S32 y, XDATA extra, bool allow_mouse_block)
|
||||
{
|
||||
BOOST_FOREACH(LLView* viewp, mChildList)
|
||||
{
|
||||
|
|
@ -734,7 +734,7 @@ LLView* LLView::childrenHandleMouseEvent(const METHOD& method, S32 x, S32 y, XDA
|
|||
}
|
||||
|
||||
if ((viewp->*method)( local_x, local_y, extra )
|
||||
|| viewp->blockMouseEvent( local_x, local_y ))
|
||||
|| (allow_mouse_block && viewp->blockMouseEvent( local_x, local_y )))
|
||||
{
|
||||
viewp->logMouseEvent();
|
||||
return viewp;
|
||||
|
|
@ -1021,7 +1021,7 @@ BOOL LLView::handleMiddleMouseUp(S32 x, S32 y, MASK mask)
|
|||
|
||||
LLView* LLView::childrenHandleScrollWheel(S32 x, S32 y, S32 clicks)
|
||||
{
|
||||
return childrenHandleMouseEvent(&LLView::handleScrollWheel, x, y, clicks);
|
||||
return childrenHandleMouseEvent(&LLView::handleScrollWheel, x, y, clicks, false);
|
||||
}
|
||||
|
||||
// Called during downward traversal
|
||||
|
|
|
|||
|
|
@ -565,7 +565,7 @@ protected:
|
|||
private:
|
||||
|
||||
template <typename METHOD, typename XDATA>
|
||||
LLView* childrenHandleMouseEvent(const METHOD& method, S32 x, S32 y, XDATA extra);
|
||||
LLView* childrenHandleMouseEvent(const METHOD& method, S32 x, S32 y, XDATA extra, bool allow_mouse_block = true);
|
||||
|
||||
template <typename METHOD, typename CHARTYPE>
|
||||
LLView* childrenHandleCharEvent(const std::string& desc, const METHOD& method,
|
||||
|
|
|
|||
|
|
@ -167,14 +167,10 @@
|
|||
<joystick_rotate
|
||||
follows="top|left"
|
||||
height="78"
|
||||
image_selected="Cam_Rotate_In"
|
||||
image_unselected="Cam_Rotate_Out"
|
||||
layout="topleft"
|
||||
left="7"
|
||||
mouse_opaque="false"
|
||||
name="cam_rotate_stick"
|
||||
quadrant="left"
|
||||
scale_image="false"
|
||||
sound_flags="3"
|
||||
visible="true"
|
||||
tool_tip="Orbit camera around focus"
|
||||
|
|
|
|||
|
|
@ -5423,21 +5423,23 @@ Your calling card was declined.
|
|||
</notification>
|
||||
|
||||
<notification
|
||||
icon="notifytip.tga"
|
||||
name="TeleportToLandmark"
|
||||
type="notifytip">
|
||||
You can teleport to locations like '[NAME]' by opening the Places panel on the right side of your screen, and then select the Landmarks tab.
|
||||
Click on any landmark to select it, then click 'Teleport' at the bottom of the panel.
|
||||
(You can also double-click on the landmark, or right-click it and choose 'Teleport'.)
|
||||
icon="notifytip.tga"
|
||||
name="TeleportToLandmark"
|
||||
type="notifytip">
|
||||
To teleport to locations like '[NAME]', click on the "Places" button,
|
||||
then select the Landmarks tab in the window that opens. Click on any
|
||||
landmark to select it, then click 'Teleport' at the bottom of the window.
|
||||
(You can also double-click on the landmark, or right-click it and
|
||||
choose 'Teleport'.)
|
||||
</notification>
|
||||
|
||||
<notification
|
||||
icon="notifytip.tga"
|
||||
name="TeleportToPerson"
|
||||
type="notifytip">
|
||||
You can contact Residents like '[NAME]' by opening the People panel on the right side of your screen.
|
||||
Select the Resident from the list, then click 'IM' at the bottom of the panel.
|
||||
(You can also double-click on their name in the list, or right-click and choose 'IM').
|
||||
To contact Residents like '[NAME]', click on the "People" button , select a Resident from the window that opens, then click 'IM' at the
|
||||
bottom of the window.
|
||||
(You can also double-click on their name in the list, or right-click and choose 'IM').
|
||||
</notification>
|
||||
|
||||
<notification
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
top="7"
|
||||
width="189">
|
||||
<button
|
||||
auto_resize="true"
|
||||
auto_resize="false"
|
||||
follows="right"
|
||||
height="29"
|
||||
image_hover_selected="SegmentedBtn_Left_Over"
|
||||
|
|
@ -57,9 +57,9 @@
|
|||
tab_stop="false"
|
||||
top="-28"
|
||||
visible="false"
|
||||
width="7" />
|
||||
width="12" />
|
||||
<button
|
||||
auto_resize="true"
|
||||
auto_resize="false"
|
||||
follows="right"
|
||||
height="29"
|
||||
image_hover_selected="SegmentedBtn_Right_Over"
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
tab_stop="false"
|
||||
top="-28"
|
||||
visible="false"
|
||||
width="7" />
|
||||
width="12" />
|
||||
</chiclet_panel>
|
||||
</layout_panel>
|
||||
<layout_panel auto_resize="false"
|
||||
|
|
@ -110,7 +110,7 @@ image_pressed "Lit" - there are new messages
|
|||
image_pressed_selected "Lit" + "Selected" - there are new messages and the Well is open
|
||||
-->
|
||||
<button
|
||||
auto_resize="true"
|
||||
auto_resize="false"
|
||||
follows="right"
|
||||
halign="center"
|
||||
height="23"
|
||||
|
|
@ -151,7 +151,7 @@ image_pressed_selected "Lit" + "Selected" - there are new messages and the Well
|
|||
top="5"
|
||||
width="35">
|
||||
<button
|
||||
auto_resize="true"
|
||||
auto_resize="false"
|
||||
bottom_pad="3"
|
||||
follows="right"
|
||||
halign="center"
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<joystick_rotate
|
||||
image_selected="Cam_Rotate_In"
|
||||
image_unselected="Cam_Rotate_Out"
|
||||
scale_image="false"
|
||||
mouse_opaque="false"
|
||||
held_down_delay.seconds="0"/>
|
||||
Loading…
Reference in New Issue