00001 00032 #ifndef LL_LLFLOATERCLOTHING_H 00033 #define LL_LLFLOATERCLOTHING_H 00034 00035 #include "llfloater.h" 00036 00037 class LLScrollableContainerView; 00038 class LLView; 00039 class LLButton; 00040 class LLLineEditor; 00041 class LLComboBox; 00042 class LLScrollListCtrl; 00043 class LLFloaterClothingObserver; 00044 00045 class LLFloaterClothing 00046 : public LLFloater 00047 { 00048 public: 00049 LLFloaterClothing(); 00050 virtual ~LLFloaterClothing(); 00051 00052 virtual void onClose(bool app_quitting); 00053 00054 static void show(void* unused = NULL); 00055 static void toggleVisibility(); 00056 static void refreshAll(); 00057 00058 private: 00059 void buildClothingList(); 00060 00061 static void onClickWear(void* data); 00062 static void onClickTakeOff(void* data); 00063 static void onCommitList(LLUICtrl* ctrl, void* data); 00064 00065 private: 00066 LLUUID mSelectedID; 00067 BOOL mAllowSelection; 00068 00069 static LLFloaterClothing* sInstance; 00070 static LLFloaterClothingObserver* sObserver; 00071 }; 00072 00073 00074 #endif