#include <llviewchildren.h>

Public Types | |
| enum | Badge { BADGE_OK, BADGE_NOTE, BADGE_WARN, BADGE_ERROR } |
Public Member Functions | |
| LLViewChildren (LLPanel &parent) | |
| void | show (const char *id, bool visible=true) |
| void | hide (const char *id) |
| void | enable (const char *id, bool enabled=true) |
| void | disable (const char *id) |
| void | setText (const char *id, const std::string &text, bool visible=true) |
| void | setWrappedText (const char *id, const std::string &text, bool visible=true) |
| void | setBadge (const char *id, Badge b, bool visible=true) |
| void | setAction (const char *id, void(*function)(void *), void *value) |
Private Attributes | |
| LLPanel & | mParent |
Definition at line 37 of file llviewchildren.h.
Definition at line 59 of file llviewchildren.h.
| LLViewChildren::LLViewChildren | ( | LLPanel & | parent | ) |
Definition at line 49 of file llviewchildren.cpp.
| void LLViewChildren::show | ( | const char * | id, | |
| bool | visible = true | |||
| ) |
Definition at line 55 of file llviewchildren.cpp.
References LLPanel::childSetVisible(), and mParent.
Referenced by hide().


| void LLViewChildren::hide | ( | const char * | id | ) | [inline] |
Definition at line 46 of file llviewchildren.h.
References show().

| void LLViewChildren::enable | ( | const char * | id, | |
| bool | enabled = true | |||
| ) |
Definition at line 60 of file llviewchildren.cpp.
References LLPanel::childSetEnabled(), and mParent.
Referenced by disable().


| void LLViewChildren::disable | ( | const char * | id | ) | [inline] |
Definition at line 49 of file llviewchildren.h.
References enable().

| void LLViewChildren::setText | ( | const char * | id, | |
| const std::string & | text, | |||
| bool | visible = true | |||
| ) |
Definition at line 65 of file llviewchildren.cpp.
References LLView::getChild(), mParent, LLTextBox::setText(), and LLView::setVisible().

| void LLViewChildren::setWrappedText | ( | const char * | id, | |
| const std::string & | text, | |||
| bool | visible = true | |||
| ) |
Definition at line 76 of file llviewchildren.cpp.
References LLView::getChild(), mParent, LLView::setVisible(), and LLTextBox::setWrappedText().

| void LLViewChildren::setBadge | ( | const char * | id, | |
| Badge | b, | |||
| bool | visible = true | |||
| ) |
Definition at line 87 of file llviewchildren.cpp.
References BADGE_ERROR, BADGE_NOTE, BADGE_OK, BADGE_WARN, LLView::getChild(), mParent, LLIconCtrl::setImage(), and LLView::setVisible().
Referenced by LLFloaterBuyLandUI::refreshUI(), and LLFloaterBuyCurrencyUI::updateUI().


| void LLViewChildren::setAction | ( | const char * | id, | |
| void(*)(void *) | function, | |||
| void * | value | |||
| ) |
Definition at line 104 of file llviewchildren.cpp.
References LLView::getChild(), mParent, and LLButton::setClickedCallback().

LLPanel& LLViewChildren::mParent [private] |
Definition at line 69 of file llviewchildren.h.
Referenced by enable(), setAction(), setBadge(), setText(), setWrappedText(), and show().
1.5.5