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 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

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-2007, 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://secondlife.com/developers/opensource/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://secondlife.com/developers/opensource/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 1030 of file llbutton.cpp.

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

Referenced by LLButton::setHelpURLCallback().

S32 round_up ( S32  grid,
S32  value 
)

Definition at line 940 of file llbutton.cpp.

References S32.


Variable Documentation

S32 BORDER_SIZE = 1

Definition at line 60 of file llbutton.cpp.

Referenced by LLButton::draw().

S32 BTN_GRID = 12

Definition at line 59 of file llbutton.cpp.

S32 BTN_HEIGHT = 0

Definition at line 57 of file llbutton.cpp.

Referenced by LLPermissionsView::addPermissionsData(), LLTabContainerVertical::addTabPanel(), LLAlertDialog::createDialog(), LLTabContainerVertical::draw(), LLNotifyBox::getNotifyRect(), LLChatBar::layout(), LLGroupNotifyBox::LLGroupNotifyBox(), LLNotifyBox::LLNotifyBox(), LLProgressView::LLProgressView(), LLFloaterAnimPreview::postBuild(), pref_min_height(), LLTabContainerVertical::removeTabPanel(), saved_settings_to_globals(), LLAlertDialog::setCheckBox(), LLPreviewTexture::updateAspectRatio(), and LLTabContainerVertical::updateMaxScrollPos().

S32 BTN_HEIGHT_SMALL = 0

Definition at line 56 of file llbutton.cpp.

Referenced by LLTextureCtrl::draw(), LLColorSwatchCtrl::draw(), LLColorSwatchCtrl::LLColorSwatchCtrl(), LLNotifyBox::LLNotifyBox(), LLTextureCtrl::LLTextureCtrl(), and saved_settings_to_globals().

S32 LLBUTTON_H_PAD = 0

Definition at line 54 of file llbutton.cpp.

Referenced by LLAlertDialog::createDialog(), saved_settings_to_globals(), and LLTabContainer::setTabImage().

S32 LLBUTTON_ORIG_H_PAD = 6

Definition at line 53 of file llbutton.cpp.

Referenced by LLButton::init().

S32 LLBUTTON_V_PAD = 0

Definition at line 55 of file llbutton.cpp.

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


Generated on Thu Jul 1 06:10:06 2010 for Second Life Viewer by  doxygen 1.4.7