diff options
author | Oz Linden <oz@lindenlab.com> | 2010-12-24 09:07:06 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2010-12-24 09:07:06 -0500 |
commit | ef1c3aac889d118530994e878d83426d4fc2ca7c (patch) | |
tree | dd3d1240a8f5e9b7f1a60d7447b9aa3d624ada88 /indra/newview/lltoastscripttextbox.h | |
parent | f421e8701b3ef5b0230b06602fc5e937382ccc68 (diff) | |
parent | 14d830ca43a7114140ebeb16a76829db4d21a95b (diff) |
merge fix for storm-784
Diffstat (limited to 'indra/newview/lltoastscripttextbox.h')
-rw-r--r-- | indra/newview/lltoastscripttextbox.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/indra/newview/lltoastscripttextbox.h b/indra/newview/lltoastscripttextbox.h index ae3b545e0a..8e69d8834d 100644 --- a/indra/newview/lltoastscripttextbox.h +++ b/indra/newview/lltoastscripttextbox.h @@ -30,13 +30,11 @@ #include "lltoastnotifypanel.h" #include "llnotificationptr.h" -class LLButton; - /** * Toast panel for scripted llTextbox notifications. */ class LLToastScriptTextbox -: public LLToastNotifyPanel +: public LLToastPanel { public: void close(); @@ -46,12 +44,15 @@ public: // Non-transient messages. You can specify non-default button // layouts (like one for script dialogs) by passing various // numbers in for "layout". - LLToastScriptTextbox(LLNotificationPtr& notification); + LLToastScriptTextbox(const LLNotificationPtr& notification); /*virtual*/ ~LLToastScriptTextbox(); -protected: - void onClickSubmit(); + private: + + void onClickSubmit(); + void onClickIgnore(); + static const S32 DEFAULT_MESSAGE_MAX_LINE_COUNT; }; |