JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Public Types | Static Public Member Functions | List of all members
juce::detail::ComponentHelpers Struct Reference

Classes

class  ModalComponentManagerChangeNotifier
 

Public Types

using SH = ScalingHelpers
 

Static Public Member Functions

static Identifier getColourPropertyID (int colourID)
 
static bool hitTest (Component &comp, Point< float > localPoint)
 
template<typename PointOrRect >
static PointOrRect rawPeerPositionToLocal (const Component &comp, PointOrRect pos) noexcept
 
template<typename PointOrRect >
static PointOrRect localPositionToRawPeerPos (const Component &comp, PointOrRect pos) noexcept
 
template<typename PointOrRect >
static PointOrRect convertFromParentSpace (const Component &comp, const PointOrRect pointInParentSpace)
 
template<typename PointOrRect >
static PointOrRect convertToParentSpace (const Component &comp, const PointOrRect pointInLocalSpace)
 
template<typename PointOrRect >
static PointOrRect convertFromDistantParentSpace (const Component *parent, const Component &target, PointOrRect coordInParent)
 
template<typename PointOrRect >
static PointOrRect convertCoordinate (const Component *target, const Component *source, PointOrRect p)
 
static bool clipObscuredRegions (const Component &comp, Graphics &g, const Rectangle< int > clipRect, Point< int > delta)
 
static Rectangle< intgetParentOrMainMonitorBounds (const Component &comp)
 
static void releaseAllCachedImageResources (Component &c)
 
static bool modalWouldBlockComponent (const Component &maybeBlocked, Component *modal)
 
template<typename Function >
static void sendMouseEventToComponentsThatAreBlockedByModal (Component &modal, Function &&function)
 

Detailed Description

Definition at line 32 of file juce_ComponentHelpers.h.

Member Typedef Documentation

◆ SH

Definition at line 34 of file juce_ComponentHelpers.h.

Member Function Documentation

◆ clipObscuredRegions()

static bool juce::detail::ComponentHelpers::clipObscuredRegions ( const Component comp,
Graphics g,
const Rectangle< int clipRect,
Point< int delta 
)
static

Definition at line 185 of file juce_ComponentHelpers.h.

◆ convertCoordinate()

template<typename PointOrRect >
static PointOrRect juce::detail::ComponentHelpers::convertCoordinate ( const Component target,
const Component source,
PointOrRect  p 
)
static

Definition at line 153 of file juce_ComponentHelpers.h.

◆ convertFromDistantParentSpace()

template<typename PointOrRect >
static PointOrRect juce::detail::ComponentHelpers::convertFromDistantParentSpace ( const Component parent,
const Component target,
PointOrRect  coordInParent 
)
static

Definition at line 139 of file juce_ComponentHelpers.h.

◆ convertFromParentSpace()

template<typename PointOrRect >
static PointOrRect juce::detail::ComponentHelpers::convertFromParentSpace ( const Component comp,
const PointOrRect  pointInParentSpace 
)
static

Definition at line 94 of file juce_ComponentHelpers.h.

◆ convertToParentSpace()

template<typename PointOrRect >
static PointOrRect juce::detail::ComponentHelpers::convertToParentSpace ( const Component comp,
const PointOrRect  pointInLocalSpace 
)
static

Definition at line 115 of file juce_ComponentHelpers.h.

◆ getColourPropertyID()

static Identifier juce::detail::ComponentHelpers::getColourPropertyID ( int  colourID)
static

Definition at line 43 of file juce_ComponentHelpers.h.

◆ getParentOrMainMonitorBounds()

static Rectangle< int > juce::detail::ComponentHelpers::getParentOrMainMonitorBounds ( const Component comp)
static

Definition at line 219 of file juce_ComponentHelpers.h.

◆ hitTest()

static bool juce::detail::ComponentHelpers::hitTest ( Component comp,
Point< float localPoint 
)
static

Definition at line 66 of file juce_ComponentHelpers.h.

◆ localPositionToRawPeerPos()

template<typename PointOrRect >
static PointOrRect juce::detail::ComponentHelpers::localPositionToRawPeerPos ( const Component comp,
PointOrRect  pos 
)
staticnoexcept

Definition at line 85 of file juce_ComponentHelpers.h.

◆ modalWouldBlockComponent()

static bool juce::detail::ComponentHelpers::modalWouldBlockComponent ( const Component maybeBlocked,
Component modal 
)
static

Definition at line 237 of file juce_ComponentHelpers.h.

◆ rawPeerPositionToLocal()

template<typename PointOrRect >
static PointOrRect juce::detail::ComponentHelpers::rawPeerPositionToLocal ( const Component comp,
PointOrRect  pos 
)
staticnoexcept

Definition at line 75 of file juce_ComponentHelpers.h.

◆ releaseAllCachedImageResources()

static void juce::detail::ComponentHelpers::releaseAllCachedImageResources ( Component c)
static

Definition at line 227 of file juce_ComponentHelpers.h.

◆ sendMouseEventToComponentsThatAreBlockedByModal()

template<typename Function >
static void juce::detail::ComponentHelpers::sendMouseEventToComponentsThatAreBlockedByModal ( Component modal,
Function &&  function 
)
static

Definition at line 246 of file juce_ComponentHelpers.h.


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