diff options
author | Ansariel Hiller <Ansariel@users.noreply.github.com> | 2024-10-02 22:51:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-02 23:51:10 +0300 |
commit | 4d92e15a79f697917c4a2ba67e03742d488e2a9d (patch) | |
tree | c3ba5662e3969d6af63e3bafe1fa28b6cb1a9a4f /indra/llui/llresizehandle.h | |
parent | 13b91ad30633cb50275b1ca4a25522da23107e34 (diff) |
Clean up LLUI and fix/add suggestions from VS (#2746)
Diffstat (limited to 'indra/llui/llresizehandle.h')
-rw-r--r-- | indra/llui/llresizehandle.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/llui/llresizehandle.h b/indra/llui/llresizehandle.h index 9cc4123544..caec33405c 100644 --- a/indra/llui/llresizehandle.h +++ b/indra/llui/llresizehandle.h @@ -50,10 +50,10 @@ protected: LLResizeHandle(const LLResizeHandle::Params&); friend class LLUICtrlFactory; public: - virtual void draw(); - virtual bool handleHover(S32 x, S32 y, MASK mask); - virtual bool handleMouseDown(S32 x, S32 y, MASK mask); - virtual bool handleMouseUp(S32 x, S32 y, MASK mask); + void draw() override; + bool handleHover(S32 x, S32 y, MASK mask) override; + bool handleMouseDown(S32 x, S32 y, MASK mask) override; + bool handleMouseUp(S32 x, S32 y, MASK mask) override; void setResizeLimits( S32 min_width, S32 min_height ) { mMinWidth = min_width; mMinHeight = min_height; } @@ -71,8 +71,8 @@ private: const ECorner mCorner; }; -const S32 RESIZE_HANDLE_HEIGHT = 11; -const S32 RESIZE_HANDLE_WIDTH = 11; +constexpr S32 RESIZE_HANDLE_HEIGHT = 11; +constexpr S32 RESIZE_HANDLE_WIDTH = 11; #endif // LL_RESIZEHANDLE_H |