JUCE  v5.1.1-3-g1a0b28c73
JUCE API
DocumentWindow::LookAndFeelMethods Struct Referenceabstract

This abstract base class is implemented by LookAndFeel classes to provide window drawing functionality. More...

#include <juce_DocumentWindow.h>

Inheritance diagram for DocumentWindow::LookAndFeelMethods:

Public Member Functions

virtual ~LookAndFeelMethods ()
 
virtual ButtoncreateDocumentWindowButton (int buttonType)=0
 
virtual void drawDocumentWindowTitleBar (DocumentWindow &, Graphics &, int w, int h, int titleSpaceX, int titleSpaceW, const Image *icon, bool drawTitleTextOnLeft)=0
 
virtual void positionDocumentWindowButtons (DocumentWindow &, int titleBarX, int titleBarY, int titleBarW, int titleBarH, Button *minimiseButton, Button *maximiseButton, Button *closeButton, bool positionTitleBarButtonsOnLeft)=0
 

Detailed Description

This abstract base class is implemented by LookAndFeel classes to provide window drawing functionality.

Constructor & Destructor Documentation

◆ ~LookAndFeelMethods()

virtual DocumentWindow::LookAndFeelMethods::~LookAndFeelMethods ( )
inlinevirtual

Member Function Documentation

◆ createDocumentWindowButton()

virtual Button* DocumentWindow::LookAndFeelMethods::createDocumentWindowButton ( int  buttonType)
pure virtual

◆ drawDocumentWindowTitleBar()

virtual void DocumentWindow::LookAndFeelMethods::drawDocumentWindowTitleBar ( DocumentWindow ,
Graphics ,
int  w,
int  h,
int  titleSpaceX,
int  titleSpaceW,
const Image icon,
bool  drawTitleTextOnLeft 
)
pure virtual

Implemented in LookAndFeel_V2, and LookAndFeel_V4.

◆ positionDocumentWindowButtons()

virtual void DocumentWindow::LookAndFeelMethods::positionDocumentWindowButtons ( DocumentWindow ,
int  titleBarX,
int  titleBarY,
int  titleBarW,
int  titleBarH,
Button minimiseButton,
Button maximiseButton,
Button closeButton,
bool  positionTitleBarButtonsOnLeft 
)
pure virtual

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