diff options
author | Oz Linden <oz@lindenlab.com> | 2013-05-20 09:08:20 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-05-20 09:08:20 -0400 |
commit | 72e7269da376d660385f3c66ac2a25a5e50871ea (patch) | |
tree | 047bd9d1bf99fa8c308c379dd57758050aa5ef51 /indra/llui/lltextbase.h | |
parent | 621085d553cccc4238d74886ca44bcefafddd7f1 (diff) | |
parent | 0ebcb7e3fd1452d42b5ca48139f99a4fd632d235 (diff) |
merge changes for 3.5.2-release
Diffstat (limited to 'indra/llui/lltextbase.h')
-rwxr-xr-x[-rw-r--r--] | indra/llui/lltextbase.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.h b/indra/llui/lltextbase.h index ad566a36d3..20a73387b5 100644..100755 --- a/indra/llui/lltextbase.h +++ b/indra/llui/lltextbase.h @@ -41,6 +41,7 @@ #include <boost/signals2.hpp> +class LLScrollContainer; class LLContextMenu; class LLUrlMatch; @@ -434,6 +435,9 @@ public: virtual void appendWidget(const LLInlineViewSegment::Params& params, const std::string& text, bool allow_undo); boost::signals2::connection setURLClickedCallback(const commit_signal_t::slot_type& cb); + void setWordWrap(bool wrap); + LLScrollContainer* getScrollContainer() const { return mScroller; } + protected: // helper structs struct compare_bottom; @@ -634,7 +638,7 @@ protected: // support widgets LLContextMenu* mPopupMenu; LLView* mDocumentView; - class LLScrollContainer* mScroller; + LLScrollContainer* mScroller; // transient state S32 mReflowIndex; // index at which to start reflow. S32_MAX indicates no reflow needed. |