LLPanelEvent Class Reference

#include <llpanelevent.h>

Inheritance diagram for LLPanelEvent:

Inheritance graph
[legend]
Collaboration diagram for LLPanelEvent:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelEvent ()
 ~LLPanelEvent ()
BOOL postBuild ()
void draw ()
void setEventID (const U32 event_id)
void sendEventInfoRequest ()
U32 getEventID ()

Static Public Member Functions

static void processEventInfoReply (LLMessageSystem *msg, void **)

Protected Types

typedef std::list< LLPanelEvent * > panel_list_t

Protected Member Functions

void resetInfo ()

Static Protected Member Functions

static void onClickTeleport (void *)
static void onClickMap (void *)
static void onClickCreateEvent (void *)
static void onClickNotify (void *)
static void callbackCreateEventWebPage (S32 options, void *data)

Protected Attributes

U32 mEventID
LLEventInfo mEventInfo
LLTextBoxmTBName
LLTextBoxmTBCategory
LLTextBoxmTBDate
LLTextBoxmTBDuration
LLTextEditormTBDesc
LLTextBoxmTBRunBy
LLTextBoxmTBLocation
LLTextBoxmTBCover
LLButtonmTeleportBtn
LLButtonmMapBtn
LLButtonmCreateEventBtn
LLButtonmNotifyBtn

Static Protected Attributes

static panel_list_t sAllPanels

Detailed Description

Definition at line 46 of file llpanelevent.h.


Member Typedef Documentation

typedef std::list<LLPanelEvent*> LLPanelEvent::panel_list_t [protected]

Definition at line 93 of file llpanelevent.h.


Constructor & Destructor Documentation

LLPanelEvent::LLPanelEvent (  ) 

Definition at line 59 of file llpanelevent.cpp.

References sAllPanels.

LLPanelEvent::~LLPanelEvent (  ) 

Definition at line 65 of file llpanelevent.cpp.

References sAllPanels.


Member Function Documentation

void LLPanelEvent::callbackCreateEventWebPage ( S32  options,
void data 
) [static, protected]

Definition at line 325 of file llpanelevent.cpp.

References EVENTS_URL, llendl, llinfos, and LLWeb::loadURL().

Referenced by onClickCreateEvent().

void LLPanelEvent::draw (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 229 of file llpanelevent.cpp.

References DB_FIRST_NAME_BUF_SIZE, DB_LAST_NAME_BUF_SIZE, LLPanel::draw(), gCacheName, LLCacheName::getName(), mEventInfo, LLEventInfo::mRunByID, mTBRunBy, and LLTextBox::setText().

U32 LLPanelEvent::getEventID (  )  [inline]

Definition at line 60 of file llpanelevent.h.

References mEventID.

Referenced by LLPanelDirBrowser::getSelectedEventID().

void LLPanelEvent::onClickCreateEvent ( void  )  [static, protected]

Definition at line 298 of file llpanelevent.cpp.

References LLViewerWindow::alertXml(), callbackCreateEventWebPage(), and gViewerWindow.

Referenced by postBuild().

void LLPanelEvent::onClickMap ( void  )  [static, protected]

Definition at line 263 of file llpanelevent.cpp.

References gFloaterWorldMap, NULL, LLFloaterWorldMap::show(), LLFloaterWorldMap::trackLocation(), and TRUE.

Referenced by postBuild().

void LLPanelEvent::onClickNotify ( void  )  [static, protected]

Definition at line 308 of file llpanelevent.cpp.

References LLEventNotifier::add(), gEventNotifier, LLEventNotifier::hasNotification(), and LLEventNotifier::remove().

Referenced by postBuild().

void LLPanelEvent::onClickTeleport ( void  )  [static, protected]

Definition at line 250 of file llpanelevent.cpp.

References gAgent, gFloaterWorldMap, LLAgent::teleportViaLocation(), and LLFloaterWorldMap::trackLocation().

Referenced by postBuild().

BOOL LLPanelEvent::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 71 of file llpanelevent.cpp.

References LLPanel::childSetColor(), f, FALSE, gColors, LLUICtrlFactory::getButtonByName(), LLControlGroup::getColor(), LLUICtrlFactory::getTextBoxByName(), LLUICtrlFactory::getTextEditorByName(), mCreateEventBtn, mMapBtn, mNotifyBtn, mTBCategory, mTBCover, mTBDate, mTBDesc, mTBDuration, mTBLocation, mTBName, mTBRunBy, mTeleportBtn, onClickCreateEvent(), onClickMap(), onClickNotify(), onClickTeleport(), LLUICtrl::setCallbackUserData(), LLButton::setClickedCallback(), LLTextBox::setColor(), LLTextEditor::setEnabled(), LLTextEditor::setFgColor(), LLTextEditor::setReadOnlyFgColor(), LLTextEditor::setWordWrap(), and TRUE.

void LLPanelEvent::processEventInfoReply ( LLMessageSystem msg,
void **   
) [static]

Definition at line 152 of file llpanelevent.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, EVENT_FLAG_MATURE, FALSE, LLMessageSystem::getU32(), LLMessageSystem::getUUIDFast(), gEventNotifier, LLEventNotifier::hasNotification(), llformat(), llround(), REGION_WIDTH_UNITS, S32, sAllPanels, time_corrected(), TRUE, VX, VY, and VZ.

Referenced by register_viewer_callbacks().

void LLPanelEvent::resetInfo (  )  [protected]

Definition at line 244 of file llpanelevent.cpp.

Referenced by setEventID().

void LLPanelEvent::sendEventInfoRequest (  ) 

Definition at line 137 of file llpanelevent.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_EventData, _PREHASH_EventID, _PREHASH_EventInfoRequest, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, mEventID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLAgent::sendReliableMessage().

Referenced by setEventID().

void LLPanelEvent::setEventID ( const U32  event_id  ) 

Definition at line 124 of file llpanelevent.cpp.

References mEventID, resetInfo(), and sendEventInfoRequest().

Referenced by LLFloaterEventInfo::displayEventInfo(), LLPanelDirBrowser::selectEventByID(), and LLPanelDirBrowser::showEvent().


Member Data Documentation

LLButton* LLPanelEvent::mCreateEventBtn [protected]

Definition at line 90 of file llpanelevent.h.

Referenced by postBuild().

U32 LLPanelEvent::mEventID [protected]

Definition at line 74 of file llpanelevent.h.

Referenced by getEventID(), sendEventInfoRequest(), and setEventID().

LLEventInfo LLPanelEvent::mEventInfo [protected]

Definition at line 75 of file llpanelevent.h.

Referenced by draw().

LLButton* LLPanelEvent::mMapBtn [protected]

Definition at line 88 of file llpanelevent.h.

Referenced by postBuild().

LLButton* LLPanelEvent::mNotifyBtn [protected]

Definition at line 91 of file llpanelevent.h.

Referenced by postBuild().

LLTextBox* LLPanelEvent::mTBCategory [protected]

Definition at line 78 of file llpanelevent.h.

Referenced by postBuild().

LLTextBox* LLPanelEvent::mTBCover [protected]

Definition at line 85 of file llpanelevent.h.

Referenced by postBuild().

LLTextBox* LLPanelEvent::mTBDate [protected]

Definition at line 79 of file llpanelevent.h.

Referenced by postBuild().

LLTextEditor* LLPanelEvent::mTBDesc [protected]

Definition at line 81 of file llpanelevent.h.

Referenced by postBuild().

LLTextBox* LLPanelEvent::mTBDuration [protected]

Definition at line 80 of file llpanelevent.h.

Referenced by postBuild().

LLTextBox* LLPanelEvent::mTBLocation [protected]

Definition at line 84 of file llpanelevent.h.

Referenced by postBuild().

LLTextBox* LLPanelEvent::mTBName [protected]

Definition at line 77 of file llpanelevent.h.

Referenced by postBuild().

LLTextBox* LLPanelEvent::mTBRunBy [protected]

Definition at line 83 of file llpanelevent.h.

Referenced by draw(), and postBuild().

LLButton* LLPanelEvent::mTeleportBtn [protected]

Definition at line 87 of file llpanelevent.h.

Referenced by postBuild().

std::list< LLPanelEvent * > LLPanelEvent::sAllPanels [static, protected]

Definition at line 94 of file llpanelevent.h.

Referenced by LLPanelEvent(), processEventInfoReply(), and ~LLPanelEvent().


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