summaryrefslogtreecommitdiff
path: root/indra/llui/llchatentry.h
diff options
context:
space:
mode:
authormaksymsproductengine <maksymsproductengine@lindenlab.com>2013-03-28 04:52:24 +0200
committermaksymsproductengine <maksymsproductengine@lindenlab.com>2013-03-28 04:52:24 +0200
commitda8f2ffb16d6df1ccb9f34ddf6f26d799d2ea127 (patch)
treedb9cc545697de6257cb1dd8a54038533ccc1aeaf /indra/llui/llchatentry.h
parent3a31b47028e0ae4945512924219118a74b0c7b27 (diff)
CHUI-855 FIXED Text entry bar auto expand does not resize
Diffstat (limited to 'indra/llui/llchatentry.h')
-rw-r--r--indra/llui/llchatentry.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/llui/llchatentry.h b/indra/llui/llchatentry.h
index 49181c8d78..49c8d21450 100644
--- a/indra/llui/llchatentry.h
+++ b/indra/llui/llchatentry.h
@@ -65,6 +65,7 @@ public:
/*virtual*/ void onFocusReceived();
/*virtual*/ void onFocusLost();
+ void enableSingleLineMode(bool single_line_mode);
boost::signals2::connection setTextExpandedCallback(const commit_signal_t::slot_type& cb);
private:
@@ -95,9 +96,11 @@ private:
line_history_t mLineHistory; // line history storage
bool mHasHistory; // flag for enabled/disabled line history
bool mIsExpandable;
+ bool mSingleLineMode;
- int mExpandLinesCount;
- int mPrevLinesCount;
+ S32 mExpandLinesCount;
+ S32 mPrevLinesCount;
+ S32 mPrevExpandedLineCount;
};
#endif /* LLCHATENTRY_H_ */