DocumentWindow::LookAndFeelMethods Struct Referenceabstract

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

Inheritance diagram for DocumentWindow::LookAndFeelMethods:

Public Member Functions

virtual ~LookAndFeelMethods ()
 
virtual void drawDocumentWindowTitleBar (DocumentWindow &, Graphics &, int w, int h, int titleSpaceX, int titleSpaceW, const Image *icon, bool drawTitleTextOnLeft)=0
 
virtual ButtoncreateDocumentWindowButton (int buttonType)=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 ( )
virtual

References paint().

Member Function Documentation

◆ 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.

◆ createDocumentWindowButton()

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

◆ 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: