summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewscript.h
diff options
context:
space:
mode:
authordolphin <dolphin@lindenlab.com>2013-08-08 09:26:09 -0700
committerdolphin <dolphin@lindenlab.com>2013-08-08 09:26:09 -0700
commit6354ad379d0850b4cc3969130fb1b30b0e2c0ee9 (patch)
treeae9feb0a651f54d8f1b2a4a21911d66fff54a30b /indra/newview/llpreviewscript.h
parent08a1ae6839f07aeadb58326208c2c01b2ef667c3 (diff)
Simplified the experience panel to only the required elements
Diffstat (limited to 'indra/newview/llpreviewscript.h')
-rwxr-xr-xindra/newview/llpreviewscript.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llpreviewscript.h b/indra/newview/llpreviewscript.h
index 043bf9c0b7..9578396f91 100755
--- a/indra/newview/llpreviewscript.h
+++ b/indra/newview/llpreviewscript.h
@@ -102,17 +102,18 @@ public:
static void onBtnLoadFromFile(void*);
static void onBtnSaveToFile(void*);
static void onToggleExperience(LLUICtrl *ui, void* userdata);
- static void onToggleExperienceDetails(void* userdata);
static bool enableSaveToFileMenu(void* userdata);
static bool enableLoadFromFileMenu(void* userdata);
virtual bool hasAccelerators() const { return true; }
- void addExperienceInfo( const LLSD& experience );
- void clearExperiences();
+ void addExperienceInfo( const LLSD& experience, BOOL enabled );
+ void setExperienceIds(const LLSD& experience_ids);
+ void buildExperienceList();
LLUUID getAssociatedExperience()const;
void setAssociatedExperience( const LLUUID& experience_id );
+ void updateExperiencePanel();
private:
void onBtnHelp();
@@ -148,8 +149,6 @@ private:
LLComboBox *mFunctions;
LLComboBox *mExperiences;
LLCheckBoxCtrl *mExperienceEnabled;
- LLUICtrl *mExperienceDetails;
- LLButton *mExpandExperience;
BOOL mForceClose;
LLPanel* mCodePanel;
LLScrollListCtrl* mErrorList;
@@ -162,6 +161,7 @@ private:
BOOL mHasScriptData;
LLLiveLSLFile* mLiveFile;
LLUUID mAssociatedExperience;
+ LLSD mExperienceIds;
LLScriptEdContainer* mContainer; // parent view
};