summaryrefslogtreecommitdiff
path: root/indra/newview/lltoastalertpanel.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/lltoastalertpanel.h
parent6f454ad8366ed33bbe199c3fc3ed69e6d3448cec (diff)
parent35efadf78315f9b351415930dca4fae251ef4dd0 (diff)
Merge branch 'main' into release/luau-scripting.
Diffstat (limited to 'indra/newview/lltoastalertpanel.h')
-rw-r--r--indra/newview/lltoastalertpanel.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/indra/newview/lltoastalertpanel.h b/indra/newview/lltoastalertpanel.h
index 2a9aaf8ce2..167a7b2363 100644
--- a/indra/newview/lltoastalertpanel.h
+++ b/indra/newview/lltoastalertpanel.h
@@ -56,14 +56,14 @@ public:
// User's responsibility to call show() after creating these.
LLToastAlertPanel( LLNotificationPtr notep, bool is_modal );
- virtual BOOL handleKeyHere(KEY key, MASK mask );
+ virtual bool handleKeyHere(KEY key, MASK mask );
virtual void draw();
- virtual void setVisible( BOOL visible );
+ virtual void setVisible( bool visible );
- void setCaution(BOOL val = TRUE) { mCaution = val; }
- // If mUnique==TRUE only one copy of this message should exist
- void setUnique(BOOL val = TRUE) { mUnique = val; }
+ void setCaution(bool val = true) { mCaution = val; }
+ // If mUnique==true only one copy of this message should exist
+ void setUnique(bool val = true) { mUnique = val; }
void setEditTextArgs(const LLSD& edit_args);
void onButtonPressed(const LLSD& data, S32 button);
@@ -75,7 +75,7 @@ private:
// No you can't kill it. It can only kill itself.
// Does it have a readable title label, or minimize or close buttons?
- BOOL hasTitleBar() const;
+ bool hasTitleBar() const;
private:
static LLControlGroup* sSettings;
@@ -94,8 +94,8 @@ private:
std::vector<ButtonData> mButtonData;
S32 mDefaultOption;
- BOOL mCaution;
- BOOL mUnique;
+ bool mCaution;
+ bool mUnique;
LLUIString mLabel;
LLFrameTimer mDefaultBtnTimer;
// For Dialogs that take a line as text as input: