From bbc05adb17087fc54a96b2fcc440db8542f008ac Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 7 Jun 2021 16:51:36 +0100 Subject: [PATCH] Docs: Updated Viewport scrollbar docs --- modules/juce_gui_basics/layout/juce_Viewport.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_gui_basics/layout/juce_Viewport.h b/modules/juce_gui_basics/layout/juce_Viewport.h index c91f337cb0..9738517f33 100644 --- a/modules/juce_gui_basics/layout/juce_Viewport.h +++ b/modules/juce_gui_basics/layout/juce_Viewport.h @@ -248,12 +248,12 @@ public: */ void setSingleStepSizes (int stepX, int stepY); - /** Returns a pointer to the scrollbar component being used. + /** Returns a reference to the scrollbar component being used. Handy if you need to customise the bar somehow. */ ScrollBar& getVerticalScrollBar() noexcept { return *verticalScrollBar; } - /** Returns a pointer to the scrollbar component being used. + /** Returns a reference to the scrollbar component being used. Handy if you need to customise the bar somehow. */ ScrollBar& getHorizontalScrollBar() noexcept { return *horizontalScrollBar; }