29#if JUCE_MAC || DOXYGEN
The base class for all JUCE user-interface objects.
A graphics context, used for drawing a component or image.
A Mac-specific class that can create and embed an NSView inside itself.
std::unique_ptr< AccessibilityHandler > createAccessibilityHandler() override
Override this method to return a custom AccessibilityHandler for this component.
NSViewComponent()
Create an initially-empty container.
void paint(Graphics &) override
Components can override this method to draw their content.
~NSViewComponent() override
Destructor.
void resizeToFitView()
Resizes this component to fit the view that it contains.
void * getView() const
Returns the current NSView.
void alphaChanged() override
Called when setAlpha() is used to change the alpha value of this component.
void setView(void *nsView)
Assigns an NSView to this peer.
void resizeViewToFit()
Resizes the NSView to match the bounds of this component.
A smart-pointer class which points to a reference-counted object.
A base class which provides methods for reference-counting.