summaryrefslogtreecommitdiff
path: root/indra/newview/llchatbar.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-08-28 20:47:43 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-08-28 20:47:43 -0400
commitcde1174345224d33d6b45b1e3243fa39043223e5 (patch)
tree6c8db6e0499622d8c7206a11c997eb173ebd478f /indra/newview/llchatbar.h
parent6f454ad8366ed33bbe199c3fc3ed69e6d3448cec (diff)
parent35efadf78315f9b351415930dca4fae251ef4dd0 (diff)
Merge branch 'main' into release/luau-scripting.
Diffstat (limited to 'indra/newview/llchatbar.h')
-rw-r--r--indra/newview/llchatbar.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/indra/newview/llchatbar.h b/indra/newview/llchatbar.h
index 1217976e2e..5eede61708 100644
--- a/indra/newview/llchatbar.h
+++ b/indra/newview/llchatbar.h
@@ -47,20 +47,20 @@ public:
// constructor for inline chat-bars (e.g. hosted in chat history window)
LLChatBar();
~LLChatBar();
- virtual BOOL postBuild();
+ virtual bool postBuild();
- virtual BOOL handleKeyHere(KEY key, MASK mask);
+ virtual bool handleKeyHere(KEY key, MASK mask);
void refresh();
void refreshGestures();
// Move cursor into chat input field.
- void setKeyboardFocus(BOOL b);
+ void setKeyboardFocus(bool b);
// Ignore arrow keys for chat bar
- void setIgnoreArrowKeys(BOOL b);
+ void setIgnoreArrowKeys(bool b);
- BOOL inputEditorHasFocus();
+ bool inputEditorHasFocus();
std::string getCurrentChat();
// since chat bar logic is reused for chat history
@@ -69,8 +69,8 @@ public:
// Send a chat (after stripping /20foo channel chats).
// "Animate" means the nodding animation for regular text.
- void sendChatFromViewer(const LLWString &wtext, EChatType type, BOOL animate);
- void sendChatFromViewer(const std::string &utf8text, EChatType type, BOOL animate);
+ void sendChatFromViewer(const LLWString &wtext, EChatType type, bool animate);
+ void sendChatFromViewer(const std::string &utf8text, EChatType type, bool animate);
// If input of the form "/20foo" or "/20 foo", returns "foo" and channel 20.
// Otherwise returns input and channel 0.
@@ -101,7 +101,7 @@ protected:
// Which non-zero channel did we last chat on?
S32 mLastSpecialChatChannel;
- BOOL mIsBuilt;
+ bool mIsBuilt;
LLComboBox* mGestureCombo;
LLChatBarGestureObserver* mObserver;