Loading...
Searching...
No Matches
juce::FocusOutline::OutlineWindowProperties Struct Referenceabstract

Detailed Description

Defines the focus outline window properties.

Pass an instance of one of these to the FocusOutline constructor to control the bounds for the outline window and how it is drawn.

Public Member Functions

virtual ~OutlineWindowProperties ()=default
virtual Rectangle< int > getOutlineBounds (Component &focusedComponent)=0
 Return the bounds for the outline window in screen coordinates.
virtual void drawOutline (Graphics &, int width, int height)=0
 This method will be called to draw the focus outline.

Constructors and Destructors

◆ ~OutlineWindowProperties()

virtual juce::FocusOutline::OutlineWindowProperties::~OutlineWindowProperties ( )
virtualdefault

Member Functions

◆ getOutlineBounds()

virtual Rectangle< int > juce::FocusOutline::OutlineWindowProperties::getOutlineBounds ( Component & focusedComponent)
pure virtual

Return the bounds for the outline window in screen coordinates.

◆ drawOutline()

virtual void juce::FocusOutline::OutlineWindowProperties::drawOutline ( Graphics & ,
int width,
int height )
pure virtual

This method will be called to draw the focus outline.

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram