JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::NSViewFrameWatcher Class Reference

#include <juce_mac_NSViewFrameWatcher.h>

Inheritance diagram for juce::NSViewFrameWatcher:
Collaboration diagram for juce::NSViewFrameWatcher:

Public Member Functions

 NSViewFrameWatcher (NSView *viewToWatch, std::function< void()> viewResizedIn)
 
 ~NSViewFrameWatcher () override
 

Private Member Functions

void frameChanged () override
 
id makeCallbackForView (NSView *view)
 

Private Attributes

id callback
 
std::function< void()> viewResized
 

Constructor & Destructor Documentation

◆ NSViewFrameWatcher()

juce::NSViewFrameWatcher::NSViewFrameWatcher ( NSView *  viewToWatch,
std::function< void()>  viewResizedIn 
)
inline

◆ ~NSViewFrameWatcher()

juce::NSViewFrameWatcher::~NSViewFrameWatcher ( )
inlineoverride

References callback.

Member Function Documentation

◆ frameChanged()

void juce::NSViewFrameWatcher::frameChanged ( )
inlineoverrideprivatevirtual

Implements juce::NSViewCallbackInterface.

References viewResized.

◆ makeCallbackForView()

Member Data Documentation

◆ callback

id juce::NSViewFrameWatcher::callback
private

Referenced by ~NSViewFrameWatcher().

◆ viewResized

std::function<void()> juce::NSViewFrameWatcher::viewResized
private

Referenced by frameChanged().


The documentation for this class was generated from the following file: