LLNameBox Class Reference

#include <llnamebox.h>

Inheritance diagram for LLNameBox:

Inheritance graph
[legend]
Collaboration diagram for LLNameBox:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLNameBox (const std::string &name, const LLRect &rect, const LLUUID &name_id=LLUUID::null, BOOL is_group=FALSE, const LLFontGL *font=NULL, BOOL mouse_opaque=TRUE)
virtual ~LLNameBox ()
void setNameID (const LLUUID &name_id, BOOL is_group)
void refresh (const LLUUID &id, const char *first, const char *last, BOOL is_group)

Static Public Member Functions

static void refreshAll (const LLUUID &id, const char *firstname, const char *lastname, BOOL is_group)

Private Attributes

LLUUID mNameID

Static Private Attributes

static std::set< LLNameBox * > sInstances

Detailed Description

Definition at line 43 of file llnamebox.h.


Constructor & Destructor Documentation

LLNameBox::LLNameBox ( const std::string &  name,
const LLRect rect,
const LLUUID name_id = LLUUID::null,
BOOL  is_group = FALSE,
const LLFontGL font = NULL,
BOOL  mouse_opaque = TRUE 
)

Definition at line 49 of file llnamebox.cpp.

References LLUUID::isNull(), LLStringBase< char >::null, setNameID(), LLTextBox::setText(), and sInstances.

LLNameBox::~LLNameBox (  )  [virtual]

Definition at line 64 of file llnamebox.cpp.

References sInstances.


Member Function Documentation

void LLNameBox::refresh ( const LLUUID id,
const char *  first,
const char *  last,
BOOL  is_group 
)

Definition at line 96 of file llnamebox.cpp.

References mNameID, and LLTextBox::setText().

void LLNameBox::refreshAll ( const LLUUID id,
const char *  firstname,
const char *  lastname,
BOOL  is_group 
) [static]

Definition at line 114 of file llnamebox.cpp.

References sInstances.

Referenced by callback_cache_name().

void LLNameBox::setNameID ( const LLUUID name_id,
BOOL  is_group 
)

Definition at line 69 of file llnamebox.cpp.

References DB_FIRST_NAME_BUF_SIZE, DB_GROUP_NAME_BUF_SIZE, DB_LAST_NAME_BUF_SIZE, first, gCacheName, LLCacheName::getGroupName(), LLCacheName::getName(), mNameID, and LLTextBox::setText().

Referenced by LLNameBox(), and LLPanelGroupGeneral::update().


Member Data Documentation

LLUUID LLNameBox::mNameID [private]

Definition at line 65 of file llnamebox.h.

Referenced by refresh(), and setNameID().

std::set< LLNameBox * > LLNameBox::sInstances [static, private]

Definition at line 62 of file llnamebox.h.

Referenced by LLNameBox(), refreshAll(), and ~LLNameBox().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:32 2010 for Second Life Viewer by  doxygen 1.4.7