summaryrefslogtreecommitdiff
path: root/indra/newview/lloutfitgallery.h
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2016-06-06 16:47:09 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2016-06-06 16:47:09 +0300
commit3cbab4d820963565c23f72e0bb6efd519c97462d (patch)
tree3ab9d1f0fda5ad760adf878a97cd94064f3815b1 /indra/newview/lloutfitgallery.h
parent2da3148759760abc97fdcb51b1feb6db28c38277 (diff)
MAINT-6474 FIXED No easy way to remove an image from a VOB Folder
Diffstat (limited to 'indra/newview/lloutfitgallery.h')
-rw-r--r--indra/newview/lloutfitgallery.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/lloutfitgallery.h b/indra/newview/lloutfitgallery.h
index 385a1e1c7a..19bfc10586 100644
--- a/indra/newview/lloutfitgallery.h
+++ b/indra/newview/lloutfitgallery.h
@@ -105,6 +105,7 @@ public:
/*virtual*/ bool getHasExpandableFolders() { return FALSE; }
void updateMessageVisibility();
+ bool hasDefaultImage(const LLUUID& outfit_cat_id);
void refreshTextures(const LLUUID& category_id);
void refreshOutfit(const LLUUID& category_id);
@@ -209,6 +210,7 @@ protected:
bool onVisible(LLSD::String param);
void onUploadPhoto(const LLUUID& outfit_cat_id);
void onSelectPhoto(const LLUUID& outfit_cat_id);
+ void onRemovePhoto(const LLUUID& outfit_cat_id);
void onTakeSnapshot(const LLUUID& outfit_cat_id);
void onCreate(const LLSD& data);
void onRemoveOutfit(const LLUUID& outfit_cat_id);
@@ -230,6 +232,9 @@ private:
/*virtual*/ void onUploadFoto();
/*virtual*/ void onSelectPhoto();
/*virtual*/ void onTakeSnapshot();
+ /*virtual*/ void onRemovePhoto();
+
+ bool hasDefaultImage();
};
class LLOutfitGalleryItem : public LLPanel
@@ -254,7 +259,7 @@ public:
void setSelected(bool value);
std::string getItemName() {return mOutfitName;}
- bool mIsDefaultImage() {return mDefaultImage;}
+ bool isDefaultImage() {return mDefaultImage;}
bool isHidden() {return mHidden;}
void setHidden(bool hidden) {mHidden = hidden;}