diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-12-21 10:38:08 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-12-21 10:38:08 -0500 |
commit | e0d77c277a46fa1161505a177e99b456854a98fd (patch) | |
tree | 9c0bb28f90368e34fb907950ca54b94df85b5fa2 /indra/newview/llfloatermodelwizard.h | |
parent | c87142e5d779fb3d5375842658a63a1af2573094 (diff) | |
parent | e7f3f3bdbbec310030209e09d389cd434adb7991 (diff) |
Automated merge from mesh-development
Diffstat (limited to 'indra/newview/llfloatermodelwizard.h')
-rw-r--r-- | indra/newview/llfloatermodelwizard.h | 38 |
1 files changed, 25 insertions, 13 deletions
diff --git a/indra/newview/llfloatermodelwizard.h b/indra/newview/llfloatermodelwizard.h index c766697d47..ab69d93b63 100644 --- a/indra/newview/llfloatermodelwizard.h +++ b/indra/newview/llfloatermodelwizard.h @@ -35,24 +35,36 @@ public: virtual ~LLFloaterModelWizard() {}; /*virtual*/ BOOL postBuild(); void draw(); - void loadModel(); - //void onSave(); - //void onReset(); - //void onCancel(); - ///*virtual*/ void onOpen(const LLSD& key); private: - + enum EWizardState + { + CHOOSE_FILE = 0, + OPTIMIZE, + PHYSICS, + REVIEW, + UPLOAD + }; + + void setState(int state); + void setButtons(int state); + void onClickCancel(); + void onClickBack(); + void onClickNext(); + bool onEnableNext(); + bool onEnableBack(); + void loadModel(); + static void onPreviewLODCommit(LLUICtrl*,void*); + void onAccuracyPerformance(const LLSD& data); + static void onUpload(void* data); + LLModelPreview* mModelPreview; LLRect mPreviewRect; + int mState; + + + }; -/* -namespace LLFloaterDisplayNameUtil -{ - // Register with LLFloaterReg - void registerFloater(); -} -*/ #endif |