diff options
Diffstat (limited to 'indra/newview/llpreviewscript.h')
-rw-r--r-- | indra/newview/llpreviewscript.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/llpreviewscript.h b/indra/newview/llpreviewscript.h index 5b15fda222..54b27316f7 100644 --- a/indra/newview/llpreviewscript.h +++ b/indra/newview/llpreviewscript.h @@ -15,6 +15,7 @@ #include "llinventory.h" #include "llcombobox.h" #include "lliconctrl.h" +#include "llframetimer.h" class LLMessageSystem; @@ -26,6 +27,7 @@ class LLViewerObject; struct LLEntryAndEdCore; class LLMenuBarGL; class LLFloaterScriptSearch; +class LLKeywordToken; // Inner, implementation class. LLPreviewScript and LLLiveScriptEditor each own one of these. class LLScriptEdCore : public LLPanel @@ -60,6 +62,11 @@ public: static void onHelpWebDialog(S32 option, void* userdata); static void onBtnHelp(void* userdata); + static void onBtnDynamicHelp(void* userdata); + static void onCheckLock(LLUICtrl*, void*); + static void onHelpComboCommit(LLUICtrl* ctrl, void* userdata); + static void onClickBack(void* userdata); + static void onClickForward(void* userdata); static void onBtnInsertSample(void*); static void onBtnInsertFunction(LLUICtrl*, void*); static void doSave( void* userdata, BOOL close_after_save ); @@ -91,6 +98,9 @@ public: protected: void deleteBridges(); + void setHelpPage(const LLString& help_string); + void updateDynamicHelp(BOOL immediate = FALSE); + void addHelpItemToHistory(const LLString& help_string); static void onErrorList(LLUICtrl*, void* user_data); @@ -107,6 +117,10 @@ private: LLPanel* mCodePanel; LLScrollListCtrl* mErrorList; LLDynamicArray<LLEntryAndEdCore*> mBridges; + LLViewHandle mLiveHelpHandle; + LLKeywordToken* mLastHelpToken; + LLFrameTimer mLiveHelpTimer; + S32 mLiveHelpHistorySize; }; |