llfloaterchat.cpp File Reference

LLFloaterChat class implementation. More...

#include "llviewerprecompiledheaders.h"
#include "llfloaterchat.h"
#include "llfloateractivespeakers.h"
#include "llfloaterscriptdebug.h"
#include "llchat.h"
#include "llfontgl.h"
#include "llrect.h"
#include "llerror.h"
#include "llstring.h"
#include "message.h"
#include "llagent.h"
#include "llbutton.h"
#include "llcheckboxctrl.h"
#include "llcombobox.h"
#include "llconsole.h"
#include "llfloaterchatterbox.h"
#include "llfloatermute.h"
#include "llkeyboard.h"
#include "llmutelist.h"
#include "llchatbar.h"
#include "llstatusbar.h"
#include "llviewertexteditor.h"
#include "llviewergesture.h"
#include "llviewermessage.h"
#include "llviewerwindow.h"
#include "llviewercontrol.h"
#include "lluictrlfactory.h"
#include "lllogchat.h"
#include "lltexteditor.h"
#include "llfloaterhtml.h"
#include "llweb.h"
#include "llstylemap.h"

Include dependency graph for llfloaterchat.cpp:

Go to the source code of this file.

Functions

void AddNewIMToLCD (const LLString &newLine)
void AddNewChatToLCD (const LLString &newLine)
LLColor4 get_text_color (const LLChat &chat)
void add_timestamped_line (LLViewerTextEditor *edit, const LLChat &chat, const LLColor4 &color)
void log_chat_text (const LLChat &chat)

Variables

const F32 INSTANT_MSG_SIZE = 8.0f
const F32 CHAT_MSG_SIZE = 8.0f
const LLColor4 MUTED_MSG_COLOR (0.5f, 0.5f, 0.5f, 1.f)
const S32 MAX_CHATTER_COUNT = 16


Detailed Description

LLFloaterChat class implementation.

LicenseInfo
firstyear=2002&license=viewergpl

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 llfloaterchat.cpp.


Function Documentation

void add_timestamped_line ( LLViewerTextEditor edit,
const LLChat chat,
const LLColor4 color 
)

void AddNewChatToLCD ( const LLString newLine  ) 

Referenced by LLFloaterChat::addChat().

Here is the caller graph for this function:

void AddNewIMToLCD ( const LLString newLine  ) 

Actually the "Chat History" floater. Should be llfloaterchathistory, not llfloaterchat.

Referenced by LLFloaterChat::addChat().

Here is the caller graph for this function:

LLColor4 get_text_color ( const LLChat chat  ) 

void log_chat_text ( const LLChat chat  ) 

Definition at line 215 of file llfloaterchat.cpp.

References LLControlGroup::getBOOL(), gSavedPerAccountSettings, LLChat::mText, LLLogChat::saveHistory(), and LLLogChat::timestamp().

Referenced by LLFloaterChat::addChat(), and LLFloaterChat::addChatHistory().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

const F32 CHAT_MSG_SIZE = 8.0f

Definition at line 84 of file llfloaterchat.cpp.

Referenced by LLFloaterChat::addChat().

const F32 INSTANT_MSG_SIZE = 8.0f

Definition at line 83 of file llfloaterchat.cpp.

Referenced by LLFloaterChat::addChat().

const S32 MAX_CHATTER_COUNT = 16

Definition at line 86 of file llfloaterchat.cpp.

const LLColor4 MUTED_MSG_COLOR(0.5f, 0.5f, 0.5f, 1.f)


Generated on Fri May 16 08:36:29 2008 for SecondLife by  doxygen 1.5.5