lltexteditor.cpp File Reference

LLTextEditor base class. More...

#include "linden_common.h"
#include "lltexteditor.h"
#include "llfontgl.h"
#include "llgl.h"
#include "llui.h"
#include "lluictrlfactory.h"
#include "llrect.h"
#include "llfocusmgr.h"
#include "sound_ids.h"
#include "lltimer.h"
#include "llmath.h"
#include "audioengine.h"
#include "llclipboard.h"
#include "llscrollbar.h"
#include "llstl.h"
#include "llstring.h"
#include "llkeyboard.h"
#include "llkeywords.h"
#include "llundo.h"
#include "llviewborder.h"
#include "llcontrol.h"
#include "llimagegl.h"
#include "llwindow.h"
#include "llglheaders.h"
#include <queue>

Include dependency graph for lltexteditor.cpp:

Go to the source code of this file.

Classes

class  LLTextCmdInsert
class  LLTextCmdAddChar
class  LLTextCmdOverwriteChar
class  LLTextCmdRemove

Variables

BOOL gDebugTextEditorTips = FALSE
const S32 UI_TEXTEDITOR_BUFFER_BLOCK_SIZE = 512
const S32 UI_TEXTEDITOR_BORDER = 1
const S32 UI_TEXTEDITOR_H_PAD = 4
const S32 UI_TEXTEDITOR_V_PAD_TOP = 4
const F32 CURSOR_FLASH_DELAY = 1.0f
const S32 CURSOR_THICKNESS = 2
const S32 SPACES_PER_TAB = 4


Detailed Description

LLTextEditor 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 lltexteditor.cpp.


Variable Documentation

const F32 CURSOR_FLASH_DELAY = 1.0f

Definition at line 78 of file lltexteditor.cpp.

const S32 CURSOR_THICKNESS = 2

Definition at line 79 of file lltexteditor.cpp.

Referenced by LLTextEditor::drawCursor(), and LLTextEditor::drawSelectionBackground().

BOOL gDebugTextEditorTips = FALSE

Definition at line 67 of file lltexteditor.cpp.

Referenced by init_debug_ui_menu().

const S32 SPACES_PER_TAB = 4

Definition at line 80 of file lltexteditor.cpp.

Referenced by LLTextEditor::autoIndent(), LLTextEditor::doDelete(), LLTextEditor::handleSpecialKey(), LLTextEditor::paste(), and LLTextEditor::removeCharOrTab().

const S32 UI_TEXTEDITOR_BORDER = 1

Definition at line 75 of file lltexteditor.cpp.

Referenced by LLTextEditor::LLTextEditor(), and LLTextEditor::updateTextRect().

const S32 UI_TEXTEDITOR_BUFFER_BLOCK_SIZE = 512

Definition at line 73 of file lltexteditor.cpp.

const S32 UI_TEXTEDITOR_H_PAD = 4

Definition at line 76 of file lltexteditor.cpp.

Referenced by LLTextEditor::updateTextRect().

const S32 UI_TEXTEDITOR_V_PAD_TOP = 4

Definition at line 77 of file lltexteditor.cpp.

Referenced by LLTextEditor::updateTextRect().


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