#include "llviewerprecompiledheaders.h"
#include <iostream>
#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 "llregionnamecache.h"
#include "llchatbar.h"
#include "lllineeditor.h"
#include "llstatusbar.h"
#include "lltextbox.h"
#include "llviewertexteditor.h"
#include "llviewergesture.h"
#include "llviewermessage.h"
#include "llviewerwindow.h"
#include "llviewercontrol.h"
#include "llvieweruictrlfactory.h"
#include "llviewerobjectlist.h"
#include "llviewerregion.h"
#include "lllogchat.h"
#include "lltexteditor.h"
#include "llfloaterhtml.h"
#include "llweb.h"
#include <algorithm>
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 LLString &line, 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 | INSTANT_MSG_COLOR (1, 1, 1, 1) |
const LLColor4 | MUTED_MSG_COLOR (0.5f, 0.5f, 0.5f, 1.f) |
const S32 | MAX_CHATTER_COUNT = 16 |
Copyright (c) 2002-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 llfloaterchat.cpp.
void add_timestamped_line | ( | LLViewerTextEditor * | edit, | |
const LLString & | line, | |||
const LLColor4 & | color | |||
) |
Definition at line 179 of file llfloaterchat.cpp.
References LLTextEditor::appendColoredText(), LLViewerTextEditor::appendTime(), LLControlGroup::getBOOL(), and gSavedSettings.
Referenced by LLFloaterChat::addChatHistory().
Referenced by LLFloaterChat::addChat().
Actually the "Chat History" floater. Should be llfloaterchathistory, not llfloaterchat.
Referenced by LLFloaterChat::addChat().
Definition at line 599 of file llfloaterchat.cpp.
References CHAT_SOURCE_AGENT, CHAT_SOURCE_OBJECT, CHAT_SOURCE_SYSTEM, CHAT_TYPE_DEBUG_MSG, CHAT_TYPE_OWNER, dist_vec(), f, gAgent, LLControlGroup::getColor4(), LLAgent::getNearChatRadius(), LLAgent::getPositionAgent(), gSavedSettings, LLVector3::isExactlyZero(), LLUUID::isNull(), LLChat::mChatType, LLChat::mFromID, LLChat::mMuted, LLChat::mPosAgent, LLChat::mSourceType, LLColor4::mV, LLColor4::setToWhite(), LLColor4::setVec(), and VALPHA.
Referenced by LLFloaterChat::addChat(), and LLFloaterChat::addChatHistory().
Definition at line 190 of file llfloaterchat.cpp.
References LLControlGroup::getBOOL(), gSavedPerAccountSettings, LLChat::mFromIM, LLChat::mText, LLLogChat::saveHistory(), and LLLogChat::timestamp().
Referenced by LLFloaterChat::addChat(), and LLFloaterChat::addChatHistory().
const F32 CHAT_MSG_SIZE = 8.0f |
const LLColor4 INSTANT_MSG_COLOR(1, 1, 1, 1) |
Referenced by LLFloaterChat::addChat().
const F32 INSTANT_MSG_SIZE = 8.0f |
const S32 MAX_CHATTER_COUNT = 16 |
Definition at line 94 of file llfloaterchat.cpp.
const LLColor4 MUTED_MSG_COLOR(0.5f, 0.5f, 0.5f, 1.f) |