diff options
Diffstat (limited to 'linden/indra/newview/llchatbar.h')
-rw-r--r-- | linden/indra/newview/llchatbar.h | 14 |
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; | |||
46 | class LLComboBox; | 46 | class LLComboBox; |
47 | class LLSpinCtrl; | 47 | class LLSpinCtrl; |
48 | 48 | ||
49 | typedef 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 | |||
49 | class LLChatBar | 59 | class 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 | ||
126 | extern LLChatBar *gChatBar; | 134 | extern LLChatBar *gChatBar; |