LMMS
Loading...
Searching...
No Matches
juce::HWNDComponent::Pimpl Class Reference
Inheritance diagram for juce::HWNDComponent::Pimpl:
juce::ComponentMovementWatcher juce::ComponentListener

Public Member Functions

 Pimpl (HWND h, Component &comp)
 ~Pimpl () override
void componentMovedOrResized (bool wasMoved, bool wasResized) override
void componentPeerChanged () override
void componentVisibilityChanged () override
void componentBroughtToFront (Component &comp) override
Rectangle< intgetHWNDBounds () const
void componentMovedOrResized (Component &, bool wasMoved, bool wasResized) override
void componentVisibilityChanged (Component &) override
Public Member Functions inherited from juce::ComponentMovementWatcher
 ComponentMovementWatcher (Component *componentToWatch)
 ~ComponentMovementWatcher () override
ComponentgetComponent () const noexcept
void componentParentHierarchyChanged (Component &) override
void componentBeingDeleted (Component &) override
Public Member Functions inherited from juce::ComponentListener
virtual ~ComponentListener ()=default
virtual void componentChildrenChanged (Component &component)
virtual void componentNameChanged (Component &component)
virtual void componentEnablementChanged (Component &component)

Public Attributes

HWND hwnd

Private Member Functions

void addToParent ()
void removeFromParent ()

Private Attributes

Componentowner
ComponentPeercurrentPeer = nullptr

Constructor & Destructor Documentation

◆ Pimpl()

juce::HWNDComponent::Pimpl::Pimpl ( HWND h,
Component & comp )
inline

◆ ~Pimpl()

juce::HWNDComponent::Pimpl::~Pimpl ( )
inlineoverride

Member Function Documentation

◆ addToParent()

void juce::HWNDComponent::Pimpl::addToParent ( )
inlineprivate

◆ componentBroughtToFront()

void juce::HWNDComponent::Pimpl::componentBroughtToFront ( Component & component)
inlineoverridevirtual

Called when the component is brought to the top of the z-order.

Parameters
componentthe component that was moved
See also
Component::toFront, Component::broughtToFront

Reimplemented from juce::ComponentListener.

◆ componentMovedOrResized() [1/2]

void juce::HWNDComponent::Pimpl::componentMovedOrResized ( bool wasMoved,
bool wasResized )
inlineoverridevirtual

This callback happens when the component that is being watched is moved relative to its top-level peer window, or when it is resized.

Implements juce::ComponentMovementWatcher.

◆ componentMovedOrResized() [2/2]

void juce::ComponentMovementWatcher::componentMovedOrResized ( Component & component,
bool wasMoved,
bool wasResized )
overridevirtual

Called when the component's position or size changes.

Parameters
componentthe component that was moved or resized
wasMovedtrue if the component's top-left corner has just moved
wasResizedtrue if the component's width or height has just changed
See also
Component::setBounds, Component::resized, Component::moved

Reimplemented from juce::ComponentMovementWatcher.

◆ componentPeerChanged()

void juce::HWNDComponent::Pimpl::componentPeerChanged ( )
inlineoverridevirtual

This callback happens when the component's top-level peer is changed.

Implements juce::ComponentMovementWatcher.

◆ componentVisibilityChanged() [1/2]

void juce::HWNDComponent::Pimpl::componentVisibilityChanged ( )
inlineoverridevirtual

This callback happens when the component's visibility state changes, possibly due to one of its parents being made visible or invisible.

Implements juce::ComponentMovementWatcher.

◆ componentVisibilityChanged() [2/2]

void juce::ComponentMovementWatcher::componentVisibilityChanged ( Component & component)
overridevirtual

Called when the component is made visible or invisible.

Parameters
componentthe component that changed
See also
Component::setVisible

Reimplemented from juce::ComponentMovementWatcher.

◆ getHWNDBounds()

Rectangle< int > juce::HWNDComponent::Pimpl::getHWNDBounds ( ) const
inline

◆ removeFromParent()

void juce::HWNDComponent::Pimpl::removeFromParent ( )
inlineprivate

Member Data Documentation

◆ currentPeer

ComponentPeer* juce::HWNDComponent::Pimpl::currentPeer = nullptr
private

◆ hwnd

HWND juce::HWNDComponent::Pimpl::hwnd

◆ owner

Component& juce::HWNDComponent::Pimpl::owner
private

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