#include "llviewerprecompiledheaders.h"
#include "llstatusbar.h"
#include <iomanip>
#include "imageids.h"
#include "llfontgl.h"
#include "llrect.h"
#include "llerror.h"
#include "llparcel.h"
#include "llstring.h"
#include "message.h"
#include "llagent.h"
#include "llbutton.h"
#include "llviewercontrol.h"
#include "llfloaterbuycurrency.h"
#include "llfloaterchat.h"
#include "llfloaterdirectory.h"
#include "llfloaterlagmeter.h"
#include "llfloaterland.h"
#include "llfloaterregioninfo.h"
#include "llfloaterscriptdebug.h"
#include "llhudicon.h"
#include "llinventoryview.h"
#include "llkeyboard.h"
#include "lllineeditor.h"
#include "llmenugl.h"
#include "llnotify.h"
#include "llimview.h"
#include "lltextbox.h"
#include "llui.h"
#include "llviewerparceloverlay.h"
#include "llviewerregion.h"
#include "llviewerstats.h"
#include "llviewerwindow.h"
#include "llframetimer.h"
#include "llvoavatar.h"
#include "llresmgr.h"
#include "llworld.h"
#include "llstatgraph.h"
#include "llviewermenu.h"
#include "llviewerparcelmgr.h"
#include "llviewerthrottle.h"
#include "lluictrlfactory.h"
#include "llvoiceclient.h"
#include "lltoolmgr.h"
#include "llfocusmgr.h"
#include "llappviewer.h"
Go to the source code of this file.
Functions | |
const LLColor4 | SIM_OK_COLOR (0.f, 1.f, 0.f, 1.f) |
const LLColor4 | SIM_WARN_COLOR (1.f, 1.f, 0.f, 1.f) |
const LLColor4 | SIM_FULL_COLOR (1.f, 0.f, 0.f, 1.f) |
static void | onClickParcelInfo (void *) |
static void | onClickBalance (void *) |
static void | onClickBuyCurrency (void *) |
static void | onClickHealth (void *) |
static void | onClickFly (void *) |
static void | onClickPush (void *) |
static void | onClickVoice (void *) |
static void | onClickBuild (void *) |
static void | onClickScripts (void *) |
static void | onClickBuyLand (void *) |
static void | onClickScriptDebug (void *) |
BOOL | can_afford_transaction (S32 cost) |
Variables | |
LLStatusBar * | gStatusBar = NULL |
S32 | STATUS_BAR_HEIGHT = 0 |
S32 | MENU_BAR_HEIGHT |
const S32 | MENU_PARCEL_SPACING = 1 |
const S32 | SIM_STAT_WIDTH = 8 |
const F32 | SIM_WARN_FRACTION = 0.75f |
const F32 | SIM_FULL_FRACTION = 0.98f |
const F32 | ICON_TIMER_EXPIRY = 3.f |
const F32 | ICON_FLASH_FREQUENCY = 2.f |
const S32 | TEXT_HEIGHT = 18 |
Copyright (c) 2002-2008, Linden Research, Inc.
Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.
ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$
Definition in file llstatusbar.cpp.
Definition at line 904 of file llstatusbar.cpp.
References LLStatusBar::getBalance().
Referenced by give_money(), LLPanelGroupGeneral::onClickJoin(), and upload_done_callback().
static void onClickBalance | ( | void * | data | ) | [static] |
Definition at line 757 of file llstatusbar.cpp.
References LLFloaterBuyCurrency::buyCurrency().
Referenced by LLStatusBar::LLStatusBar().
static void onClickBuild | ( | void * | ) | [static] |
Definition at line 792 of file llstatusbar.cpp.
References LLNotifyBox::showXml().
Referenced by LLStatusBar::LLStatusBar().
static void onClickBuyCurrency | ( | void * | data | ) | [static] |
Definition at line 762 of file llstatusbar.cpp.
References LLFloaterBuyCurrency::buyCurrency().
Referenced by LLStatusBar::LLStatusBar().
static void onClickBuyLand | ( | void * | ) | [static] |
Definition at line 814 of file llstatusbar.cpp.
References gAgent, LLSingleton< LLViewerParcelMgr >::getInstance(), LLAgent::getPositionGlobal(), LLViewerParcelMgr::selectParcelAt(), and LLViewerParcelMgr::startBuyLand().
Referenced by LLStatusBar::LLStatusBar().
static void onClickFly | ( | void * | ) | [static] |
Definition at line 777 of file llstatusbar.cpp.
References LLNotifyBox::showXml().
Referenced by LLStatusBar::LLStatusBar().
static void onClickHealth | ( | void * | ) | [static] |
Definition at line 767 of file llstatusbar.cpp.
References LLNotifyBox::showXml().
Referenced by LLStatusBar::LLStatusBar().
static void onClickParcelInfo | ( | void * | data | ) | [static] |
Definition at line 750 of file llstatusbar.cpp.
References gAgent, LLSingleton< LLViewerParcelMgr >::getInstance(), LLAgent::getPositionGlobal(), LLViewerParcelMgr::selectParcelAt(), and LLUIFactory< T, LLUISingleton< T, VISIBILITY_POLICY >, VISIBILITY_POLICY >::showInstance().
Referenced by LLStatusBar::LLStatusBar().
static void onClickPush | ( | void * | ) | [static] |
Definition at line 782 of file llstatusbar.cpp.
References LLNotifyBox::showXml().
Referenced by LLStatusBar::LLStatusBar().
static void onClickScriptDebug | ( | void * | ) | [static] |
Definition at line 772 of file llstatusbar.cpp.
References LLUUID::null, and LLFloaterScriptDebug::show().
Referenced by LLStatusBar::LLStatusBar().
static void onClickScripts | ( | void * | ) | [static] |
Definition at line 797 of file llstatusbar.cpp.
References gAgent, LLAgent::getRegion(), LLViewerRegion::getRegionFlags(), REGION_FLAGS_ESTATE_SKIP_SCRIPTS, REGION_FLAGS_SKIP_SCRIPTS, and LLNotifyBox::showXml().
Referenced by LLStatusBar::LLStatusBar().
static void onClickVoice | ( | void * | ) | [static] |
Definition at line 787 of file llstatusbar.cpp.
References LLNotifyBox::showXml().
Referenced by LLStatusBar::LLStatusBar().
const LLColor4 SIM_FULL_COLOR | ( | 1. | f, | |
0. | f, | |||
0. | f, | |||
1. | f | |||
) |
const LLColor4 SIM_OK_COLOR | ( | 0. | f, | |
1. | f, | |||
0. | f, | |||
1. | f | |||
) |
const LLColor4 SIM_WARN_COLOR | ( | 1. | f, | |
1. | f, | |||
0. | f, | |||
1. | f | |||
) |
LLStatusBar* gStatusBar = NULL |
Definition at line 89 of file llstatusbar.cpp.
Referenced by LLPanelGroupLandMoney::activate(), LLPanelGroupLandMoney::impl::applyContribution(), LLAgent::endAnimationUpdateUI(), handle_buy_object(), LLFileEnableUpload::handleEvent(), LLViewerWindow::initWorldUI(), LLTaskInvFVBridge::performAction(), LLPanelDirLand::postBuild(), process_health_message(), process_money_balance_reply(), LLFloaterLandHoldings::refreshAggregates(), LLViewerWindow::setMenuBackgroundColor(), LLViewerWindow::setNormalControlsVisible(), LLFloaterBuyCurrencyUI::target(), LLFloaterBuyLandUI::updateAgentInfo(), LLFloaterBuyCurrencyUI::updateUI(), upload_done_callback(), upload_new_resource(), and LLViewerWindow::~LLViewerWindow().
const F32 ICON_FLASH_FREQUENCY = 2.f |
const F32 ICON_TIMER_EXPIRY = 3.f |
Definition at line 102 of file llstatusbar.cpp.
Referenced by LLStatusBar::setBalance(), and LLStatusBar::setHealth().
Definition at line 72 of file llmenugl.cpp.
Referenced by LLViewerMenuHolderGL::getMenuRect(), LLFloaterView::getNewFloaterPosition(), init_menus(), LLViewerWindow::initBase(), LLStatusBar::LLStatusBar(), LLFloaterView::resetStartingFloaterPosition(), settings_to_globals(), and LLHUDText::updateScreenPos().
const S32 MENU_PARCEL_SPACING = 1 |
const F32 SIM_FULL_FRACTION = 0.98f |
Definition at line 98 of file llstatusbar.cpp.
const S32 SIM_STAT_WIDTH = 8 |
Definition at line 96 of file llstatusbar.cpp.
const F32 SIM_WARN_FRACTION = 0.75f |
Definition at line 97 of file llstatusbar.cpp.
S32 STATUS_BAR_HEIGHT = 0 |
Definition at line 90 of file llstatusbar.cpp.
Referenced by adjust_rect_centered_partial_zoom(), LLViewerMenuHolderGL::getMenuRect(), LLViewerWindow::handlePerFrameHover(), LLViewerWindow::initBase(), LLViewerWindow::initWorldUI(), settings_to_globals(), and LLHUDText::updateScreenPos().
const S32 TEXT_HEIGHT = 18 |