diff options
author | Andrew Dyukov <adyukov@productengine.com> | 2009-10-29 17:50:31 +0200 |
---|---|---|
committer | Andrew Dyukov <adyukov@productengine.com> | 2009-10-29 17:50:31 +0200 |
commit | 191547dcb232535d24091be0fb4169c6c7eb89ef (patch) | |
tree | 40b1c7fd5db34b86697d712fd1eff1df8c60ddbe /indra/newview/llnavigationbar.cpp | |
parent | 8210fba25a3c36abb6627836d5829a5be28534e3 (diff) | |
parent | 8298a1de685757c89abe72976f6b77f527475c7a (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llnavigationbar.cpp')
-rw-r--r-- | indra/newview/llnavigationbar.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/indra/newview/llnavigationbar.cpp b/indra/newview/llnavigationbar.cpp index c32ef2f22b..9a05812847 100644 --- a/indra/newview/llnavigationbar.cpp +++ b/indra/newview/llnavigationbar.cpp @@ -164,8 +164,6 @@ TODO: - Load navbar height from saved settings (as it's done for status bar) or think of a better way. */ -S32 NAVIGATION_BAR_HEIGHT = 60; // *HACK, used in llviewerwindow.cpp - LLNavigationBar::LLNavigationBar() : mTeleportHistoryMenu(NULL), mBtnBack(NULL), @@ -545,6 +543,15 @@ void LLNavigationBar::clearHistoryCache() mPurgeTPHistoryItems= true; } +int LLNavigationBar::getDefNavBarHeight() +{ + return mDefaultNbRect.getHeight(); +} +int LLNavigationBar::getDefFavBarHeight() +{ + return mDefaultFpRect.getHeight(); +} + void LLNavigationBar::showNavigationPanel(BOOL visible) { bool fpVisible = gSavedSettings.getBOOL("ShowNavbarFavoritesPanel"); |