LLPanelAvatarAdvanced Class Reference

#include <llpanelavatar.h>

Inheritance diagram for LLPanelAvatarAdvanced:

Inheritance graph
[legend]
Collaboration diagram for LLPanelAvatarAdvanced:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelAvatarAdvanced (const std::string &name, const LLRect &rect, LLPanelAvatar *panel_avatar)
BOOL postBuild (void)
void enableControls (BOOL own_avatar)
void setWantSkills (U32 want_to_mask, const std::string &want_to_text, U32 skills_mask, const std::string &skills_text, const std::string &languages_text)
void getWantSkills (U32 *want_to_mask, std::string &want_to_text, U32 *skills_mask, std::string &skills_text, std::string &languages_text)

Private Attributes

S32 mWantToCount
S32 mSkillsCount
LLCheckBoxCtrlmWantToCheck [8]
LLLineEditormWantToEdit
LLCheckBoxCtrlmSkillsCheck [8]
LLLineEditormSkillsEdit

Detailed Description

Definition at line 171 of file llpanelavatar.h.


Constructor & Destructor Documentation

LLPanelAvatarAdvanced::LLPanelAvatarAdvanced ( const std::string &  name,
const LLRect rect,
LLPanelAvatar panel_avatar 
)

Definition at line 697 of file llpanelavatar.cpp.


Member Function Documentation

void LLPanelAvatarAdvanced::enableControls ( BOOL  own_avatar  ) 

Definition at line 708 of file llpanelavatar.cpp.

References LLPanel::childSetEnabled(), LLPanel::getChildByName(), mSkillsCheck, mSkillsCount, mSkillsEdit, mWantToCheck, mWantToCount, mWantToEdit, S32, LLLineEditor::setEnabled(), LLView::setEnabled(), LLLineEditor::setReadOnlyBgColor(), t, and LLColor4::transparent.

Referenced by LLPanelAvatar::setAvatarID().

void LLPanelAvatarAdvanced::getWantSkills ( U32 want_to_mask,
std::string &  want_to_text,
U32 skills_mask,
std::string &  skills_text,
std::string &  languages_text 
)

Definition at line 757 of file llpanelavatar.cpp.

References LLPanel::childGetText(), LLLineEditor::getText(), mSkillsCheck, mSkillsCount, mSkillsEdit, mWantToCheck, mWantToCount, mWantToEdit, and t.

Referenced by LLPanelAvatar::sendAvatarPropertiesUpdate().

BOOL LLPanelAvatarAdvanced::postBuild ( void   )  [virtual]

Reimplemented from LLPanel.

Definition at line 511 of file llpanelavatar.cpp.

References LLPanel::childSetVisible(), LLUICtrlFactory::getCheckBoxByName(), LLUICtrlFactory::getLineEditorByName(), kArraySize, llformat(), mSkillsCheck, mSkillsCount, mSkillsEdit, mWantToCheck, mWantToCount, mWantToEdit, NULL, S32, LLPanelAvatar::sAllowFirstLife, and TRUE.

void LLPanelAvatarAdvanced::setWantSkills ( U32  want_to_mask,
const std::string &  want_to_text,
U32  skills_mask,
const std::string &  skills_text,
const std::string &  languages_text 
)

Definition at line 736 of file llpanelavatar.cpp.

References LLPanel::childSetText(), mSkillsCheck, mSkillsCount, mSkillsEdit, mWantToCheck, mWantToCount, mWantToEdit, and LLLineEditor::setText().


Member Data Documentation

LLCheckBoxCtrl* LLPanelAvatarAdvanced::mSkillsCheck[8] [private]

Definition at line 191 of file llpanelavatar.h.

Referenced by enableControls(), getWantSkills(), postBuild(), and setWantSkills().

S32 LLPanelAvatarAdvanced::mSkillsCount [private]

Definition at line 188 of file llpanelavatar.h.

Referenced by enableControls(), getWantSkills(), postBuild(), and setWantSkills().

LLLineEditor* LLPanelAvatarAdvanced::mSkillsEdit [private]

Definition at line 192 of file llpanelavatar.h.

Referenced by enableControls(), getWantSkills(), postBuild(), and setWantSkills().

LLCheckBoxCtrl* LLPanelAvatarAdvanced::mWantToCheck[8] [private]

Definition at line 189 of file llpanelavatar.h.

Referenced by enableControls(), getWantSkills(), postBuild(), and setWantSkills().

S32 LLPanelAvatarAdvanced::mWantToCount [private]

Definition at line 187 of file llpanelavatar.h.

Referenced by enableControls(), getWantSkills(), postBuild(), and setWantSkills().

LLLineEditor* LLPanelAvatarAdvanced::mWantToEdit [private]

Definition at line 190 of file llpanelavatar.h.

Referenced by enableControls(), getWantSkills(), postBuild(), and setWantSkills().


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