diff options
author | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
commit | 117e22047c5752352342d64e3fb7ce00a4eb8113 (patch) | |
tree | e32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/newview/llchatbar.h | |
parent | Second Life viewer sources 1.18.0.6 (diff) | |
download | meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2 meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz |
Second Life viewer sources 1.18.1.2
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llchatbar.h | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/linden/indra/newview/llchatbar.h b/linden/indra/newview/llchatbar.h index 32b0018..8a5acc6 100644 --- a/linden/indra/newview/llchatbar.h +++ b/linden/indra/newview/llchatbar.h | |||
@@ -33,23 +33,21 @@ | |||
33 | #include "llframetimer.h" | 33 | #include "llframetimer.h" |
34 | #include "llchat.h" | 34 | #include "llchat.h" |
35 | 35 | ||
36 | class LLButton; | ||
37 | class LLComboBox; | ||
38 | class LLLineEditor; | 36 | class LLLineEditor; |
39 | class LLMessageSystem; | 37 | class LLMessageSystem; |
40 | class LLTextBox; | ||
41 | class LLTextEditor; | ||
42 | class LLUICtrl; | 38 | class LLUICtrl; |
43 | class LLUUID; | 39 | class LLUUID; |
44 | class LLFrameTimer; | 40 | class LLFrameTimer; |
45 | class LLStatGraph; | ||
46 | class LLChatBarGestureObserver; | 41 | class LLChatBarGestureObserver; |
42 | class LLComboBox; | ||
47 | 43 | ||
48 | class LLChatBar | 44 | class LLChatBar |
49 | : public LLPanel | 45 | : public LLPanel |
50 | { | 46 | { |
51 | public: | 47 | public: |
52 | LLChatBar(const std::string& name, const LLRect& rect ); | 48 | // constructor for inline chat-bars (e.g. hosted in chat history window) |
49 | LLChatBar(const std::string& name); | ||
50 | LLChatBar(const std::string& name, const LLRect& rect); | ||
53 | ~LLChatBar(); | 51 | ~LLChatBar(); |
54 | virtual BOOL postBuild(); | 52 | virtual BOOL postBuild(); |
55 | 53 | ||
@@ -71,6 +69,10 @@ public: | |||
71 | BOOL inputEditorHasFocus(); | 69 | BOOL inputEditorHasFocus(); |
72 | LLString getCurrentChat(); | 70 | LLString getCurrentChat(); |
73 | 71 | ||
72 | // since chat bar logic is reused for chat history | ||
73 | // gesture combo box might not be a direct child | ||
74 | void setGestureCombo(LLComboBox* combo); | ||
75 | |||
74 | // Send a chat (after stripping /20foo channel chats). | 76 | // Send a chat (after stripping /20foo channel chats). |
75 | // "Animate" means the nodding animation for regular text. | 77 | // "Animate" means the nodding animation for regular text. |
76 | void sendChatFromViewer(const LLWString &wtext, EChatType type, BOOL animate); | 78 | void sendChatFromViewer(const LLWString &wtext, EChatType type, BOOL animate); |
@@ -81,7 +83,6 @@ public: | |||
81 | LLWString stripChannelNumber(const LLWString &mesg, S32* channel); | 83 | LLWString stripChannelNumber(const LLWString &mesg, S32* channel); |
82 | 84 | ||
83 | // callbacks | 85 | // callbacks |
84 | static void onClickHistory( void* userdata ); | ||
85 | static void onClickSay( void* userdata ); | 86 | static void onClickSay( void* userdata ); |
86 | static void onClickShout( void* userdata ); | 87 | static void onClickShout( void* userdata ); |
87 | 88 | ||
@@ -109,8 +110,10 @@ protected: | |||
109 | S32 mLastSpecialChatChannel; | 110 | S32 mLastSpecialChatChannel; |
110 | 111 | ||
111 | BOOL mIsBuilt; | 112 | BOOL mIsBuilt; |
112 | 113 | BOOL mDynamicLayout; | |
113 | static LLChatBarGestureObserver* sObserver; | 114 | LLComboBox* mGestureCombo; |
115 | |||
116 | LLChatBarGestureObserver* mObserver; | ||
114 | }; | 117 | }; |
115 | 118 | ||
116 | extern LLChatBar *gChatBar; | 119 | extern LLChatBar *gChatBar; |