llpanelevent.h

Go to the documentation of this file.
00001 
00032 #ifndef LL_LLPANELEVENT_H
00033 #define LL_LLPANELEVENT_H
00034 
00035 #include "llpanel.h"
00036 
00037 #include "lleventinfo.h"
00038 #include "lluuid.h"
00039 #include "v3dmath.h"
00040 
00041 class LLTextBox;
00042 class LLTextEditor;
00043 class LLButton;
00044 class LLMessageSystem;
00045 
00046 class LLPanelEvent : public LLPanel
00047 {
00048 public:
00049         LLPanelEvent();
00050         /*virtual*/ ~LLPanelEvent();
00051 
00052         /*virtual*/ BOOL postBuild();
00053         /*virtual*/ void draw();
00054 
00055         void setEventID(const U32 event_id);
00056         void sendEventInfoRequest();
00057 
00058         static void processEventInfoReply(LLMessageSystem *msg, void **);
00059 
00060         U32 getEventID() { return mEventID; }
00061 
00062 protected:
00063         void resetInfo();
00064 
00065         static void onClickTeleport(void*);
00066         static void onClickMap(void*);
00067         //static void onClickLandmark(void*);
00068         static void onClickCreateEvent(void*);
00069         static void onClickNotify(void*);
00070 
00071         static void callbackCreateEventWebPage(S32 options, void* data);
00072 
00073 protected:
00074         U32                             mEventID;
00075         LLEventInfo             mEventInfo;
00076 
00077         LLTextBox*              mTBName;
00078         LLTextBox*              mTBCategory;
00079         LLTextBox*              mTBDate;
00080         LLTextBox*              mTBDuration;
00081         LLTextEditor*   mTBDesc;
00082 
00083         LLTextBox*              mTBRunBy;
00084         LLTextBox*              mTBLocation;
00085         LLTextBox*              mTBCover;
00086 
00087         LLButton*               mTeleportBtn;
00088         LLButton*               mMapBtn;
00089         //LLButton*             mLandmarkBtn;
00090         LLButton*               mCreateEventBtn;
00091         LLButton*               mNotifyBtn;
00092 
00093         typedef std::list<LLPanelEvent*> panel_list_t;
00094         static panel_list_t sAllPanels;
00095 };
00096 
00097 #endif // LL_LLPANELEVENT_H

Generated on Thu Jul 1 06:08:57 2010 for Second Life Viewer by  doxygen 1.4.7