summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelface.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpanelface.h')
-rw-r--r--indra/newview/llpanelface.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llpanelface.h b/indra/newview/llpanelface.h
index 56b4034a2d..c6322d59b2 100644
--- a/indra/newview/llpanelface.h
+++ b/indra/newview/llpanelface.h
@@ -29,6 +29,7 @@
#include "v4color.h"
#include "llpanel.h"
+#include "llmaterial.h"
class LLButton;
class LLCheckBoxCtrl;
@@ -42,6 +43,7 @@ class LLTextureCtrl;
class LLUICtrl;
class LLViewerObject;
class LLFloater;
+class LLMaterialID;
class LLPanelFace : public LLPanel
{
@@ -74,12 +76,19 @@ protected:
void onCommitTexture(const LLSD& data);
void onCancelTexture(const LLSD& data);
void onSelectTexture(const LLSD& data);
+ void onCommitMaterialTexture(const LLSD& data);
+ void onCancelMaterialTexture(const LLSD& data);
+ void onSelectMaterialTexture(const LLSD& data);
void onCommitColor(const LLSD& data);
+ void onCommitShinyColor(const LLSD& data);
void onCommitAlpha(const LLSD& data);
void onCancelColor(const LLSD& data);
void onSelectColor(const LLSD& data);
+ void onMaterialLoaded(const LLMaterialID& material_id, const LLMaterialPtr material);
+ void updateMaterial();
static void onCommitTextureInfo( LLUICtrl* ctrl, void* userdata);
+ static void onCommitMaterial( LLUICtrl* ctrl, void* userdata);
static void onCommitMaterialsMedia( LLUICtrl* ctrl, void* userdata);
static void onCommitMaterialType( LLUICtrl* ctrl, void* userdata);
static void onCommitBump( LLUICtrl* ctrl, void* userdata);
@@ -103,6 +112,9 @@ private:
*/
void onTextureSelectionChanged(LLInventoryItem* itemp);
+ LLMaterialID mMaterialID;
+ LLMaterialPtr mMaterial;
+ BOOL mIsAlpha;
};
#endif