|
|
|
@ -1780,6 +1780,7 @@ namespace NLGUI
|
|
|
|
|
|
|
|
|
|
if(groupContextHelp)
|
|
|
|
|
{
|
|
|
|
|
groupContextHelp->setContainerAlpha(100);
|
|
|
|
|
/** If there's a modal box around, should be sure that the context help doesn't intersect it.
|
|
|
|
|
* If this is the case, we just disable it, unless the tooltip was generated by the current modal window
|
|
|
|
|
*/
|
|
|
|
@ -3338,11 +3339,17 @@ namespace NLGUI
|
|
|
|
|
nlassert(_GlobalContentRolloverFactorDB);
|
|
|
|
|
_GlobalContainerRolloverFactorDB = CDBManager::getInstance()->getDbProp("UI:SAVE:CONTAINER_ROLLOVER_FACTOR");
|
|
|
|
|
nlassert(_GlobalContainerRolloverFactorDB);
|
|
|
|
|
_ContextHelpContentAlphaDB = CDBManager::getInstance()->getDbProp("UI:SAVE:CONTEXT_HELP_CONTENT_ALPHA");
|
|
|
|
|
nlassert(_ContextHelpContentAlphaDB);
|
|
|
|
|
_ContextHelpContainerAlphaDB = CDBManager::getInstance()->getDbProp("UI:SAVE:CONTEXT_HELP_CONTAINER_ALPHA");
|
|
|
|
|
nlassert(_ContextHelpContainerAlphaDB);
|
|
|
|
|
}
|
|
|
|
|
_GlobalContentAlpha = (uint8)_GlobalContentAlphaDB->getValue32();
|
|
|
|
|
_GlobalContainerAlpha = (uint8)_GlobalContainerAlphaDB->getValue32();
|
|
|
|
|
_GlobalRolloverFactorContent = (uint8)_GlobalContentRolloverFactorDB->getValue32();
|
|
|
|
|
_GlobalRolloverFactorContainer = (uint8)_GlobalContainerRolloverFactorDB->getValue32();
|
|
|
|
|
_ContextHelpContentAlpha = (uint8)_ContextHelpContentAlphaDB->getValue32();
|
|
|
|
|
_ContextHelpContainerAlpha = (uint8)_ContextHelpContainerAlphaDB->getValue32();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CWidgetManager::resetGlobalAlphasProps()
|
|
|
|
@ -3351,6 +3358,8 @@ namespace NLGUI
|
|
|
|
|
_GlobalContainerAlphaDB = NULL;
|
|
|
|
|
_GlobalContentRolloverFactorDB = NULL;
|
|
|
|
|
_GlobalContainerRolloverFactorDB = NULL;
|
|
|
|
|
_ContextHelpContentAlphaDB = NULL;
|
|
|
|
|
_ContextHelpContainerAlphaDB = NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CWidgetManager::registerNewScreenSizeHandler( INewScreenSizeHandler *handler )
|
|
|
|
@ -3884,6 +3893,8 @@ namespace NLGUI
|
|
|
|
|
_GlobalRolloverFactorContent = 255;
|
|
|
|
|
_GlobalRolloverFactorContainer = 255;
|
|
|
|
|
_AlphaRolloverSpeedDB = NULL;
|
|
|
|
|
_ContextHelpContentAlpha = 255;
|
|
|
|
|
_ContextHelpContainerAlpha = 255;
|
|
|
|
|
|
|
|
|
|
_MouseHandlingEnabled = true;
|
|
|
|
|
_MouseOverWindow = false;
|
|
|
|
|