diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-07-27 15:17:57 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-07-28 08:24:59 +0800 |
commit | 96a81b5ecbe3bffb582ded930752c0523df5e80a (patch) | |
tree | a87a0bd09fd980562e88150dbfea3819d28d9f12 /indra/newview/lltoolbrush.h | |
parent | 06e8f0c443c1ba7858d000c6d695b7e988e02053 (diff) | |
parent | ed73208eb96b862b97fa285036edea1e792ca3c6 (diff) |
Merge remote-tracking branch 'secondlife/release/2024.06-atlasaurus' into 2024.06-atlasaurus
Diffstat (limited to 'indra/newview/lltoolbrush.h')
-rw-r--r-- | indra/newview/lltoolbrush.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/indra/newview/lltoolbrush.h b/indra/newview/lltoolbrush.h index 4dc70d8a5e..28cad912e5 100644 --- a/indra/newview/lltoolbrush.h +++ b/indra/newview/lltoolbrush.h @@ -49,15 +49,15 @@ class LLToolBrushLand : public LLTool, public LLEditMenuHandler, public LLSingle public: // x,y in window coords, 0,0 = left,bot - virtual BOOL handleMouseDown( S32 x, S32 y, MASK mask ) override; - virtual BOOL handleMouseUp( S32 x, S32 y, MASK mask ) override; - virtual BOOL handleHover( S32 x, S32 y, MASK mask ) override; + virtual bool handleMouseDown( S32 x, S32 y, MASK mask ) override; + virtual bool handleMouseUp( S32 x, S32 y, MASK mask ) override; + virtual bool handleHover( S32 x, S32 y, MASK mask ) override; virtual void handleSelect() override; virtual void handleDeselect() override; // isAlwaysRendered() - return true if this is a tool that should // always be rendered regardless of selection. - virtual BOOL isAlwaysRendered() override { return TRUE; } + virtual bool isAlwaysRendered() override { return true; } // Draw the area that will be affected. virtual void render() override; @@ -69,7 +69,7 @@ public: void modifyLandInSelectionGlobal(); virtual void undo() override; - virtual BOOL canUndo() const override { return TRUE; } + virtual bool canUndo() const override { return true; } protected: void brush( void ); @@ -95,8 +95,8 @@ protected: S32 mMouseX; S32 mMouseY; F32 mBrushSize; - BOOL mGotHover; - BOOL mBrushSelected; + bool mGotHover; + bool mBrushSelected; // Order doesn't matter and we do check for existance of regions, so use a set region_list_t mLastAffectedRegions; |