llbutton.cpp File Reference

LLButton base class. More...

#include "linden_common.h"
#include "llbutton.h"
#include "v4color.h"
#include "llstring.h"
#include "llkeyboard.h"
#include "llgl.h"
#include "llui.h"
#include "lluiconstants.h"
#include "llresmgr.h"
#include "llcriticaldamp.h"
#include "llglheaders.h"
#include "llfocusmgr.h"
#include "llwindow.h"
#include "llglimmediate.h"

Include dependency graph for llbutton.cpp:

Go to the source code of this file.

Functions

S32 round_up (S32 grid, S32 value)
void clicked_help (void *data)

Variables

static LLRegisterWidget< LLButtonr ("button")
S32 LLBUTTON_ORIG_H_PAD = 6
S32 LLBUTTON_H_PAD = 0
S32 LLBUTTON_V_PAD = 0
S32 BTN_HEIGHT_SMALL = 0
S32 BTN_HEIGHT = 0
S32 BTN_GRID = 12
S32 BORDER_SIZE = 1


Detailed Description

LLButton base class.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-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 llbutton.cpp.


Function Documentation

void clicked_help ( void *  data  ) 

Definition at line 991 of file llbutton.cpp.

References LLHtmlHelp::show(), and LLUI::sHtmlHelp.

Referenced by LLButton::setHelpURLCallback().

Here is the call graph for this function:

Here is the caller graph for this function:

S32 round_up ( S32  grid,
S32  value 
)

Definition at line 903 of file llbutton.cpp.

References S32.


Variable Documentation

Definition at line 63 of file llbutton.cpp.

S32 BTN_GRID = 12

Definition at line 62 of file llbutton.cpp.

Definition at line 57 of file llbutton.cpp.

Referenced by LLAlertDialog::createDialog(), and settings_to_globals().

Definition at line 56 of file llbutton.cpp.

Referenced by LLButton::init().

Definition at line 58 of file llbutton.cpp.

Referenced by LLTabContainer::addTabPanel(), LLButton::draw(), and settings_to_globals().

LLRegisterWidget<LLButton> r("button") [static]

Referenced by AABBSphereIntersect(), LLStatView::addStat(), adjust_rect_bottom_center(), adjust_rect_top_center(), adjust_rect_top_left(), adjust_rect_top_right(), LLViewerWindow::adjustRectanglesForFirstUse(), LLObjectSelection::applyToNodes(), LLObjectSelection::applyToObjects(), LLObjectSelection::applyToRootNodes(), LLObjectSelection::applyToRootObjects(), LLObjectSelection::applyToTEs(), LLContainerView::arrange(), LLSpatialGroup::buildOcclusion(), LLImageRaw::compositeRowScaled4onto3(), LLImageRaw::copyLineScaled(), LLFloaterImagePreview::draw(), LLScrollingPanelParam::draw(), LLFloaterAnimPreview::draw(), LLTextBox::draw(), LLFloater::draw(), earlyFail(), tut::ErrorNode::get(), LLFace::getGeometryVolume(), LLFloaterView::getMinimizePosition(), LLFloaterColorPicker::handleMouseDown(), init_stat_view(), LLVorbisDecodeState::initDecode(), lat2xyz(), lat2xyz_rad(), LLToolBar::layoutButtons(), LLOverlayBar::layoutButtons(), lerp2d(), LLDebugView::LLDebugView(), LLFloaterURLDisplay::LLFloaterURLDisplay(), llmax(), llmin(), LLProgressView::LLProgressView(), LLStatusBar::LLStatusBar(), nhpo2(), LLFloaterLagMeter::onClickShrink(), LLFloaterEditUI::onCommitHeight(), LLFloaterEditUI::onCommitWidth(), LLQueryResponder::parseSection(), LLFloaterNameDesc::postBuild(), LLFloaterJoystick::postBuild(), LLFloaterAnimPreview::postBuild(), LLHTTPAssetRequest::prepareCompressedUpload(), LLFloaterEditUI::processKeystroke(), LLFloaterPay::processPayPriceReply(), LLAres::UriRewriteResponder::queryResult(), LLKeywords::readColor(), LLHTTPAssetRequest::readCompressedData(), LLStatusBar::refresh(), LLFloaterEditUI::refreshCore(), render_cube_map(), LLFloaterView::reshapeFloater(), LLColor4U::setVecScaleClamp(), LLPreviewGesture::show(), terse_F32_to_string(), texture2D(), LLDataPackerAsciiFile::unpackColor4U(), LLDataPackerAsciiBuffer::unpackColor4U(), LLFloaterSettingsDebug::updateControl(), LLViewerParcelOverlay::updateOverlayTexture(), LLScrollableContainerView::updateScroll(), and writeToRecorders().


Generated on Fri May 16 08:35:40 2008 for SecondLife by  doxygen 1.5.5