Buildfix
parent
56056aa198
commit
95af08341c
|
|
@ -877,7 +877,7 @@ BOOL LLView::handleToolTip(S32 x, S32 y, MASK mask)
|
|||
: LLUI::getInstance()->mSettingGroups["config"]->getF32( "ToolTipDelay" );
|
||||
|
||||
// Even if we don't show tooltips, consume the event, nothing below should show tooltip
|
||||
bool allow_ui_tooltips = LLUI::sSettingGroups["config"]->getBOOL( "BasicUITooltips" );
|
||||
bool allow_ui_tooltips = LLUI::getInstance()->mSettingGroups["config"]->getBOOL("BasicUITooltips");
|
||||
if (allow_ui_tooltips)
|
||||
{
|
||||
LLToolTipMgr::instance().show(LLToolTip::Params()
|
||||
|
|
|
|||
|
|
@ -783,16 +783,16 @@ bool toggle_sit(EKeystate s)
|
|||
bool toggle_pause_media(EKeystate s) // analogue of play/pause button in top bar
|
||||
{
|
||||
if (KEYSTATE_DOWN != s) return true;
|
||||
bool pause = LLViewerMedia::isAnyMediaPlaying();
|
||||
LLViewerMedia::setAllMediaPaused(pause);
|
||||
bool pause = LLViewerMedia::getInstance()->isAnyMediaPlaying();
|
||||
LLViewerMedia::getInstance()->setAllMediaPaused(pause);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool toggle_enable_media(EKeystate s)
|
||||
{
|
||||
if (KEYSTATE_DOWN != s) return true;
|
||||
bool pause = LLViewerMedia::isAnyMediaPlaying() || LLViewerMedia::isAnyMediaShowing();
|
||||
LLViewerMedia::setAllMediaEnabled(!pause);
|
||||
bool pause = LLViewerMedia::getInstance()->isAnyMediaPlaying() || LLViewerMedia::getInstance()->isAnyMediaShowing();
|
||||
LLViewerMedia::getInstance()->setAllMediaEnabled(!pause);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@ class LLViewerMedia: public LLSingleton<LLViewerMedia>
|
|||
|
||||
public:
|
||||
// String to get/set media autoplay in gSavedSettings
|
||||
static const char* AUTO_PLAY_MEDIA_SETTING;
|
||||
static const char* SHOW_MEDIA_ON_OTHERS_SETTING;
|
||||
static const char* SHOW_MEDIA_WITHIN_PARCEL_SETTING;
|
||||
static const char* SHOW_MEDIA_OUTSIDE_PARCEL_SETTING;
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ void LLViewerParcelMediaAutoPlay::onStartMusicResponse(const LLUUID ®ion_id,
|
|||
// make sure we are still there
|
||||
if (parcel->getLocalID() == parcel_id && gAgent.getRegion()->getRegionID() == region_id)
|
||||
{
|
||||
LLViewerParcelMedia::play(parcel);
|
||||
LLViewerParcelMedia::getInstance()->play(parcel);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3017,7 +3017,7 @@ void LLViewerWindow::handleScrollWheel(S32 clicks)
|
|||
|
||||
void LLViewerWindow::handleScrollHWheel(S32 clicks)
|
||||
{
|
||||
LLUI::resetMouseIdleTimer();
|
||||
LLUI::getInstance()->resetMouseIdleTimer();
|
||||
|
||||
LLMouseHandler* mouse_captor = gFocusMgr.getMouseCapture();
|
||||
if (mouse_captor)
|
||||
|
|
|
|||
Loading…
Reference in New Issue