From 5f748bb7a07579a0d271a8a4ac51885184c4153d Mon Sep 17 00:00:00 2001 From: hogliux Date: Mon, 12 Sep 2016 12:05:52 +0100 Subject: [PATCH] Added a method to get the internal viewport of a PropertyPanel --- modules/juce_gui_basics/properties/juce_PropertyPanel.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/juce_gui_basics/properties/juce_PropertyPanel.h b/modules/juce_gui_basics/properties/juce_PropertyPanel.h index 43615b9501..aca85988e9 100644 --- a/modules/juce_gui_basics/properties/juce_PropertyPanel.h +++ b/modules/juce_gui_basics/properties/juce_PropertyPanel.h @@ -149,6 +149,10 @@ public: */ const String& getMessageWhenEmpty() const noexcept; + //============================================================================== + /** Returns the PropertyPanel's internal Viewport. */ + Viewport& getViewport() noexcept { return viewport; } + //============================================================================== /** @internal */ void paint (Graphics&) override;