diff options
author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-04-29 07:43:28 +0300 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-04-29 07:56:09 +0300 |
commit | 1b68f71348ecf3983b76b40d7940da8377f049b7 (patch) | |
tree | 2974eddaef130a067c26033d60a59fc790365b3d /indra/newview/lltoolselectland.h | |
parent | af4ea94efc1999f3b19fd8d643d0331f0b77e265 (diff) |
#824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed
Diffstat (limited to 'indra/newview/lltoolselectland.h')
-rw-r--r-- | indra/newview/lltoolselectland.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/indra/newview/lltoolselectland.h b/indra/newview/lltoolselectland.h index 88bc4e2e3d..553211f7a0 100644 --- a/indra/newview/lltoolselectland.h +++ b/indra/newview/lltoolselectland.h @@ -1,25 +1,25 @@ -/** +/** * @file lltoolselectland.h * @brief LLToolSelectLand class header file * * $LicenseInfo:firstyear=2002&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; * version 2.1 of the License only. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. - * + * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * + * * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA * $/LicenseInfo$ */ @@ -33,43 +33,43 @@ class LLParcelSelection; class LLToolSelectLand -: public LLTool, public LLSingleton<LLToolSelectLand> +: public LLTool, public LLSingleton<LLToolSelectLand> { - LLSINGLETON(LLToolSelectLand); - virtual ~LLToolSelectLand(); + LLSINGLETON(LLToolSelectLand); + virtual ~LLToolSelectLand(); public: - /*virtual*/ BOOL handleMouseDown(S32 x, S32 y, MASK mask) override; - /*virtual*/ BOOL handleDoubleClick(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 render() override; // draw the select rectangle - /*virtual*/ BOOL isAlwaysRendered() override { return TRUE; } + /*virtual*/ BOOL handleMouseDown(S32 x, S32 y, MASK mask) override; + /*virtual*/ BOOL handleDoubleClick(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 render() override; // draw the select rectangle + /*virtual*/ BOOL isAlwaysRendered() override { return TRUE; } - /*virtual*/ void handleSelect() override; - /*virtual*/ void handleDeselect() override; + /*virtual*/ void handleSelect() override; + /*virtual*/ void handleDeselect() override; protected: - BOOL outsideSlop(S32 x, S32 y, S32 start_x, S32 start_y); - void roundXY(LLVector3d& vec); + BOOL outsideSlop(S32 x, S32 y, S32 start_x, S32 start_y); + void roundXY(LLVector3d& vec); protected: - LLVector3d mDragStartGlobal; // global coords - LLVector3d mDragEndGlobal; // global coords - BOOL mDragEndValid; // is drag end a valid point in the world? + LLVector3d mDragStartGlobal; // global coords + LLVector3d mDragEndGlobal; // global coords + BOOL mDragEndValid; // is drag end a valid point in the world? - S32 mDragStartX; // screen coords, from left - S32 mDragStartY; // screen coords, from bottom + S32 mDragStartX; // screen coords, from left + S32 mDragStartY; // screen coords, from bottom - S32 mDragEndX; - S32 mDragEndY; + S32 mDragEndX; + S32 mDragEndY; - BOOL mMouseOutsideSlop; // has mouse ever gone outside slop region? + BOOL mMouseOutsideSlop; // has mouse ever gone outside slop region? - LLVector3d mWestSouthBottom; // global coords, from drag - LLVector3d mEastNorthTop; // global coords, from drag + LLVector3d mWestSouthBottom; // global coords, from drag + LLVector3d mEastNorthTop; // global coords, from drag - LLSafeHandle<LLParcelSelection> mSelection; // hold on to a parcel selection + LLSafeHandle<LLParcelSelection> mSelection; // hold on to a parcel selection }; |