onVisibilityChange renamed to handleVisibilityChange
This commit is contained in:
@@ -169,7 +169,7 @@ void LLFloaterChat::onClose(bool app_quitting)
|
||||
setVisible(FALSE);
|
||||
}
|
||||
|
||||
void LLFloaterChat::onVisibilityChange(BOOL new_visibility)
|
||||
void LLFloaterChat::handleVisibilityChange(BOOL new_visibility)
|
||||
{
|
||||
// Hide the chat overlay when our history is visible.
|
||||
updateConsoleVisibility();
|
||||
@@ -180,7 +180,7 @@ void LLFloaterChat::onVisibilityChange(BOOL new_visibility)
|
||||
LLFloaterChatterBox::getInstance()->setFloaterFlashing(this, FALSE);
|
||||
}
|
||||
|
||||
LLFloater::onVisibilityChange(new_visibility);
|
||||
LLFloater::handleVisibilityChange(new_visibility);
|
||||
}
|
||||
|
||||
void LLFloaterChat::setMinimized(BOOL minimized)
|
||||
|
||||
@@ -62,7 +62,7 @@ public:
|
||||
virtual void draw();
|
||||
virtual BOOL postBuild();
|
||||
virtual void onClose(bool app_quitting);
|
||||
virtual void onVisibilityChange(BOOL cur_visibility);
|
||||
virtual void handleVisibilityChange(BOOL cur_visibility);
|
||||
virtual void setMinimized(BOOL);
|
||||
void updateConsoleVisibility();
|
||||
void updateSettings();
|
||||
|
||||
@@ -2050,7 +2050,7 @@ void LLFloaterIMPanel::onClose(bool app_quitting)
|
||||
destroy();
|
||||
}
|
||||
|
||||
void LLFloaterIMPanel::onVisibilityChange(BOOL new_visibility)
|
||||
void LLFloaterIMPanel::handleVisibilityChange(BOOL new_visibility)
|
||||
{
|
||||
if (new_visibility)
|
||||
{
|
||||
|
||||
@@ -204,7 +204,7 @@ public:
|
||||
// Check typing timeout timer.
|
||||
/*virtual*/ void draw();
|
||||
/*virtual*/ void onClose(bool app_quitting = FALSE);
|
||||
/*virtual*/ void onVisibilityChange(BOOL new_visibility);
|
||||
/*virtual*/ void handleVisibilityChange(BOOL new_visibility);
|
||||
|
||||
// add target ids to the session.
|
||||
// Return TRUE if successful, otherwise FALSE.
|
||||
|
||||
@@ -407,7 +407,7 @@ BOOL LLMediaCtrl::handleUnicodeCharHere(llwchar uni_char)
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
void LLMediaCtrl::onVisibilityChange ( BOOL new_visibility )
|
||||
void LLMediaCtrl::handleVisibilityChange ( BOOL new_visibility )
|
||||
{
|
||||
// set state of frequent updates automatically if visibility changes
|
||||
if ( new_visibility )
|
||||
@@ -418,7 +418,7 @@ void LLMediaCtrl::onVisibilityChange ( BOOL new_visibility )
|
||||
{
|
||||
mFrequentUpdates = false;
|
||||
}
|
||||
LLUICtrl::onVisibilityChange(new_visibility);
|
||||
LLUICtrl::handleVisibilityChange(new_visibility);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -133,7 +133,7 @@ class LLMediaCtrl :
|
||||
virtual BOOL handleUnicodeCharHere(llwchar uni_char);
|
||||
virtual void reshape( S32 width, S32 height, BOOL called_from_parent = TRUE);
|
||||
virtual void draw();
|
||||
virtual void onVisibilityChange ( BOOL curVisibilityIn );
|
||||
virtual void handleVisibilityChange ( BOOL curVisibilityIn );
|
||||
|
||||
// focus overrides
|
||||
void onFocusLost();
|
||||
|
||||
@@ -1286,13 +1286,13 @@ void LLPanelDirBrowser::onKeystrokeName(LLLineEditor* line, void* data)
|
||||
}
|
||||
|
||||
// setup results when shown
|
||||
void LLPanelDirBrowser::onVisibilityChange(BOOL new_visibility)
|
||||
void LLPanelDirBrowser::handleVisibilityChange(BOOL new_visibility)
|
||||
{
|
||||
if (new_visibility)
|
||||
{
|
||||
onCommitList(NULL, this);
|
||||
}
|
||||
LLPanel::onVisibilityChange(new_visibility);
|
||||
LLPanel::handleVisibilityChange(new_visibility);
|
||||
}
|
||||
|
||||
S32 LLPanelDirBrowser::showNextButton(S32 rows)
|
||||
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
// Use to get periodic updates.
|
||||
virtual void draw();
|
||||
|
||||
virtual void onVisibilityChange(BOOL curVisibilityIn);
|
||||
virtual void handleVisibilityChange(BOOL curVisibilityIn);
|
||||
|
||||
// Redo your search for the prev/next page of results
|
||||
virtual void prevPage();
|
||||
|
||||
@@ -194,13 +194,13 @@ void LLPanelDirFind::draw()
|
||||
// When we show any browser-based view, we want to hide all
|
||||
// the right-side XUI detail panels.
|
||||
// virtual
|
||||
void LLPanelDirFind::onVisibilityChange(BOOL new_visibility)
|
||||
void LLPanelDirFind::handleVisibilityChange(BOOL new_visibility)
|
||||
{
|
||||
if (new_visibility)
|
||||
{
|
||||
mFloaterDirectory->hideAllDetailPanels();
|
||||
}
|
||||
LLPanel::onVisibilityChange(new_visibility);
|
||||
LLPanel::handleVisibilityChange(new_visibility);
|
||||
}
|
||||
|
||||
// virtual
|
||||
|
||||
@@ -53,7 +53,7 @@ public:
|
||||
|
||||
/*virtual*/ void draw();
|
||||
/*virtual*/ BOOL postBuild();
|
||||
/*virtual*/ void onVisibilityChange(BOOL new_visibility);
|
||||
/*virtual*/ void handleVisibilityChange(BOOL new_visibility);
|
||||
|
||||
// Pure virtual. Must be implemented
|
||||
virtual void search(const std::string& search_text) = 0;
|
||||
|
||||
Reference in New Issue
Block a user