aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llchatbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llchatbar.h')
-rw-r--r--linden/indra/newview/llchatbar.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/linden/indra/newview/llchatbar.h b/linden/indra/newview/llchatbar.h
index 202b006..135881f 100644
--- a/linden/indra/newview/llchatbar.h
+++ b/linden/indra/newview/llchatbar.h
@@ -46,6 +46,16 @@ class LLChatBarGestureObserver;
46class LLComboBox; 46class LLComboBox;
47class LLSpinCtrl; 47class LLSpinCtrl;
48 48
49typedef struct {
50 std::string left;
51 std::string right;
52 std::string match;
53 std::vector<std::string> names;
54 std::string last_txt;
55 std::string last_match;
56 int current_index;
57} CompletionHolder;
58
49class LLChatBar 59class LLChatBar
50: public LLPanel 60: public LLPanel
51{ 61{
@@ -118,9 +128,7 @@ private:
118 BOOL mChanCtrlEnabled; 128 BOOL mChanCtrlEnabled;
119 LLSpinCtrl* mChannelControl; 129 LLSpinCtrl* mChannelControl;
120 130
121 std::vector<std::string> names; 131 CompletionHolder mCompletionHolder;
122 std::string last_initials;
123 int current_index;
124}; 132};
125 133
126extern LLChatBar *gChatBar; 134extern LLChatBar *gChatBar;