ASPiK SDK
VSTGUI::IFocusDrawing Class Referenceabstract

Custom focus drawing interface. More...

#include <ifocusdrawing.h>

Inheritance diagram for VSTGUI::IFocusDrawing:
Mandelbrot::View VSTGUI::CControl Mandelbrot::ProgressIndicatorView VSTGUI::CAutoAnimation VSTGUI::CCheckBox VSTGUI::CKickButton VSTGUI::CKnob VSTGUI::CMovieBitmap VSTGUI::CMovieButton VSTGUI::COnOffButton VSTGUI::CParamDisplay VSTGUI::CRockerSwitch VSTGUI::CScrollbar VSTGUI::CSegmentButton VSTGUI::CSlider VSTGUI::CSpecialDigit VSTGUI::CSplashScreen VSTGUI::CSwitchBase VSTGUI::CTextButton VSTGUI::CVuMeter VSTGUI::LineStyleTestView VSTGUI::SpectrumView VSTGUI::WaveView

Public Member Functions

virtual bool drawFocusOnTop ()=0
 
virtual bool getFocusPath (CGraphicsPath &outPath)=0
 

Detailed Description

Custom focus drawing interface.

If focus drawing is enabled custom views can implement this interface to set a custom shape to be drawn if the view is the focus view.

See also
CFrame
CControl

Member Function Documentation

◆ drawFocusOnTop()

virtual bool VSTGUI::IFocusDrawing::drawFocusOnTop ( )
pure virtual

draw focus before view will be drawn or afterwards

Implemented in VSTGUI::CTextButton, VSTGUI::CControl, VSTGUI::CSegmentButton, VSTGUI::CKnob, and Mandelbrot::View.

◆ getFocusPath()

virtual bool VSTGUI::IFocusDrawing::getFocusPath ( CGraphicsPath outPath)
pure virtual

the graphics path will be drawn filled with the evenodd method and the color set in CFrame::setFocusColor()

Implemented in VSTGUI::CTextButton, VSTGUI::CControl, VSTGUI::CCheckBox, VSTGUI::CSegmentButton, VSTGUI::CParamDisplay, VSTGUI::CKnob, and Mandelbrot::View.


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