LLFlyoutButton Class Reference

#include <llcombobox.h>

Inheritance diagram for LLFlyoutButton:

Inheritance graph
[legend]
Collaboration diagram for LLFlyoutButton:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLFlyoutButton (const LLString &name, const LLRect &rect, const LLString &label, void(*commit_callback)(LLUICtrl *, void *)=NULL, void *callback_userdata=NULL)
virtual void updateLayout ()
virtual void draw ()
virtual void setEnabled (BOOL enabled)
void setToggleState (BOOL state)

Static Public Member Functions

static LLView * fromXML (LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory)
static void onActionButtonClick (void *userdata)
static void onSelectAction (LLUICtrl *ctrl, void *userdata)

Protected Attributes

LLButton * mActionButton
LLPointer< LLUIImage > mActionButtonImage
LLPointer< LLUIImage > mExpanderButtonImage
LLPointer< LLUIImage > mActionButtonImageSelected
LLPointer< LLUIImage > mExpanderButtonImageSelected
LLPointer< LLUIImage > mActionButtonImageDisabled
LLPointer< LLUIImage > mExpanderButtonImageDisabled
BOOL mToggleState


Detailed Description

Definition at line 202 of file llcombobox.h.


Constructor & Destructor Documentation

LLFlyoutButton::LLFlyoutButton ( const LLString &  name,
const LLRect &  rect,
const LLString &  label,
void(*)(LLUICtrl *, void *)  commit_callback = NULL,
void *  callback_userdata = NULL 
)


Member Function Documentation

void LLFlyoutButton::updateLayout (  )  [virtual]

void LLFlyoutButton::draw ( void   )  [virtual]

Reimplemented from LLComboBox.

Definition at line 1211 of file llcombobox.cpp.

References LLComboBox::draw(), mActionButton, LLComboBox::mButton, mToggleState, LLStringBase< char >::null, LLButton::setLabel(), and LLButton::setToggleState().

Here is the call graph for this function:

void LLFlyoutButton::setEnabled ( BOOL  enabled  )  [virtual]

Reimplemented from LLComboBox.

Definition at line 1222 of file llcombobox.cpp.

References mActionButton, LLComboBox::setEnabled(), and LLView::setEnabled().

Here is the call graph for this function:

void LLFlyoutButton::setToggleState ( BOOL  state  ) 

Definition at line 1229 of file llcombobox.cpp.

References mToggleState.

Referenced by LLToolBar::updateCommunicateList().

Here is the caller graph for this function:

LLView * LLFlyoutButton::fromXML ( LLXMLNodePtr  node,
LLView *  parent,
LLUICtrlFactory *  factory 
) [static]

void LLFlyoutButton::onActionButtonClick ( void *  userdata  )  [static]

Definition at line 1203 of file llcombobox.cpp.

References LLScrollListCtrl::deselect(), LLComboBox::mList, and LLComboBox::onCommit().

Referenced by LLFlyoutButton().

Here is the call graph for this function:

Here is the caller graph for this function:

static void LLFlyoutButton::onSelectAction ( LLUICtrl *  ctrl,
void *  userdata 
) [static]


Member Data Documentation

Definition at line 223 of file llcombobox.h.

Referenced by draw(), LLFlyoutButton(), setEnabled(), and updateLayout().

Definition at line 224 of file llcombobox.h.

Referenced by LLFlyoutButton().

Definition at line 225 of file llcombobox.h.

Referenced by LLFlyoutButton().

Definition at line 226 of file llcombobox.h.

Referenced by LLFlyoutButton().

Definition at line 227 of file llcombobox.h.

Referenced by LLFlyoutButton().

Definition at line 228 of file llcombobox.h.

Referenced by LLFlyoutButton().

Definition at line 229 of file llcombobox.h.

Referenced by LLFlyoutButton().

Definition at line 230 of file llcombobox.h.

Referenced by draw(), and setToggleState().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:47:15 2008 for SecondLife by  doxygen 1.5.5