diff options
author | William Todd Stinson <stinson@lindenlab.com> | 2012-10-04 19:17:42 -0700 |
---|---|---|
committer | William Todd Stinson <stinson@lindenlab.com> | 2012-10-04 19:17:42 -0700 |
commit | ddc004c2010583efea82eb9b72d96873391a7bb1 (patch) | |
tree | 1bf58774f42e137509ccb18b18d0ebc086b3be5b /indra/newview/llfloaterdebugmaterials.h | |
parent | 93b7f615bc8d1bc6f928eeba7d0412455af6b478 (diff) |
Adding the new material settings to the edit values. And an initial re-organization of the groups into tabs. Still a WIP, but somewhat usable.
Diffstat (limited to 'indra/newview/llfloaterdebugmaterials.h')
-rw-r--r-- | indra/newview/llfloaterdebugmaterials.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/indra/newview/llfloaterdebugmaterials.h b/indra/newview/llfloaterdebugmaterials.h index 6d221581c4..9cdf04c908 100644 --- a/indra/newview/llfloaterdebugmaterials.h +++ b/indra/newview/llfloaterdebugmaterials.h @@ -36,9 +36,13 @@ #include "v4color.h" class LLButton; +class LLColorSwatchCtrl; +class LLLineEditor; class LLScrollListCtrl; class LLSD; class LLTextBase; +class LLTextureCtrl; +class LLUICtrl; class LLFloaterDebugMaterials : public LLFloater { @@ -67,6 +71,7 @@ private: virtual ~LLFloaterDebugMaterials(); void onGetClicked(); + void onValueEntered(LLUICtrl* pUICtrl); void onPutSetClicked(); void onPutClearClicked(); void onGoodPostClicked(); @@ -102,6 +107,7 @@ private: void setState(EState pState); inline EState getState() const; + void resetObjectEditInputs(); void clearGetResults(); void clearPutResults(); void clearPostResults(); @@ -110,9 +116,44 @@ private: void updateControls(); std::string convertToPrintableMaterialID(const LLSD& pBinaryHash) const; + S32 getNormalMapOffsetX() const; + S32 getNormalMapOffsetY() const; + S32 getNormalMapRepeatX() const; + S32 getNormalMapRepeatY() const; + S32 getNormalMapRotation() const; + + S32 getSpecularMapOffsetX() const; + S32 getSpecularMapOffsetY() const; + S32 getSpecularMapRepeatX() const; + S32 getSpecularMapRepeatY() const; + S32 getSpecularMapRotation() const; + + S32 getSpecularExponent() const; + S32 getEnvironmentExponent() const; + S32 getAlphMaskCutoff() const; + S32 getDiffuseAlphaMode() const; + S32 getLineEditorValue(const LLLineEditor *pLineEditor) const; + LLTextBase* mStatusText; LLButton* mGetButton; LLScrollListCtrl* mGetScrollList; + LLTextureCtrl* mNormalMap; + LLLineEditor* mNormalMapOffsetX; + LLLineEditor* mNormalMapOffsetY; + LLLineEditor* mNormalMapRepeatX; + LLLineEditor* mNormalMapRepeatY; + LLLineEditor* mNormalMapRotation; + LLTextureCtrl* mSpecularMap; + LLLineEditor* mSpecularMapOffsetX; + LLLineEditor* mSpecularMapOffsetY; + LLLineEditor* mSpecularMapRepeatX; + LLLineEditor* mSpecularMapRepeatY; + LLLineEditor* mSpecularMapRotation; + LLColorSwatchCtrl* mSpecularColor; + LLLineEditor* mSpecularExponent; + LLLineEditor* mEnvironmentExponent; + LLLineEditor* mAlphaMaskCutoff; + LLLineEditor* mDiffuseAlphaMode; LLButton* mPutSetButton; LLButton* mPutClearButton; LLScrollListCtrl* mPutScrollList; @@ -120,6 +161,8 @@ private: LLButton* mBadPostButton; LLScrollListCtrl* mPostScrollList; + LLColor4 mDefaultSpecularColor; + EState mState; LLColor4 mWarningColor; LLColor4 mErrorColor; |