diff options
Diffstat (limited to 'linden/indra/newview/llpreviewscript.h')
-rw-r--r-- | linden/indra/newview/llpreviewscript.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/linden/indra/newview/llpreviewscript.h b/linden/indra/newview/llpreviewscript.h index cdc4df8..4aadc8b 100644 --- a/linden/indra/newview/llpreviewscript.h +++ b/linden/indra/newview/llpreviewscript.h | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2002-2007, Linden Research, Inc. | 5 | * Copyright (c) 2002-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -34,6 +35,7 @@ | |||
34 | #include "llinventory.h" | 35 | #include "llinventory.h" |
35 | #include "llcombobox.h" | 36 | #include "llcombobox.h" |
36 | #include "lliconctrl.h" | 37 | #include "lliconctrl.h" |
38 | #include "llframetimer.h" | ||
37 | 39 | ||
38 | 40 | ||
39 | class LLMessageSystem; | 41 | class LLMessageSystem; |
@@ -45,6 +47,7 @@ class LLViewerObject; | |||
45 | struct LLEntryAndEdCore; | 47 | struct LLEntryAndEdCore; |
46 | class LLMenuBarGL; | 48 | class LLMenuBarGL; |
47 | class LLFloaterScriptSearch; | 49 | class LLFloaterScriptSearch; |
50 | class LLKeywordToken; | ||
48 | 51 | ||
49 | // Inner, implementation class. LLPreviewScript and LLLiveScriptEditor each own one of these. | 52 | // Inner, implementation class. LLPreviewScript and LLLiveScriptEditor each own one of these. |
50 | class LLScriptEdCore : public LLPanel | 53 | class LLScriptEdCore : public LLPanel |
@@ -79,6 +82,11 @@ public: | |||
79 | 82 | ||
80 | static void onHelpWebDialog(S32 option, void* userdata); | 83 | static void onHelpWebDialog(S32 option, void* userdata); |
81 | static void onBtnHelp(void* userdata); | 84 | static void onBtnHelp(void* userdata); |
85 | static void onBtnDynamicHelp(void* userdata); | ||
86 | static void onCheckLock(LLUICtrl*, void*); | ||
87 | static void onHelpComboCommit(LLUICtrl* ctrl, void* userdata); | ||
88 | static void onClickBack(void* userdata); | ||
89 | static void onClickForward(void* userdata); | ||
82 | static void onBtnInsertSample(void*); | 90 | static void onBtnInsertSample(void*); |
83 | static void onBtnInsertFunction(LLUICtrl*, void*); | 91 | static void onBtnInsertFunction(LLUICtrl*, void*); |
84 | static void doSave( void* userdata, BOOL close_after_save ); | 92 | static void doSave( void* userdata, BOOL close_after_save ); |
@@ -110,6 +118,9 @@ public: | |||
110 | 118 | ||
111 | protected: | 119 | protected: |
112 | void deleteBridges(); | 120 | void deleteBridges(); |
121 | void setHelpPage(const LLString& help_string); | ||
122 | void updateDynamicHelp(BOOL immediate = FALSE); | ||
123 | void addHelpItemToHistory(const LLString& help_string); | ||
113 | 124 | ||
114 | static void onErrorList(LLUICtrl*, void* user_data); | 125 | static void onErrorList(LLUICtrl*, void* user_data); |
115 | 126 | ||
@@ -126,6 +137,10 @@ private: | |||
126 | LLPanel* mCodePanel; | 137 | LLPanel* mCodePanel; |
127 | LLScrollListCtrl* mErrorList; | 138 | LLScrollListCtrl* mErrorList; |
128 | LLDynamicArray<LLEntryAndEdCore*> mBridges; | 139 | LLDynamicArray<LLEntryAndEdCore*> mBridges; |
140 | LLViewHandle mLiveHelpHandle; | ||
141 | LLKeywordToken* mLastHelpToken; | ||
142 | LLFrameTimer mLiveHelpTimer; | ||
143 | S32 mLiveHelpHistorySize; | ||
129 | }; | 144 | }; |
130 | 145 | ||
131 | 146 | ||