JUCE Designer
 All Classes Functions Variables
LookAndFeelCustom Class Reference

The original Juce look-and-feel. More...

Inheritance diagram for LookAndFeelCustom:

Public Member Functions

 LookAndFeelCustom ()
 Creates the default JUCE look and feel.
 
virtual ~LookAndFeelCustom ()
 Destructor.
 
virtual void drawRotarySlider (Graphics &g, int x, int y, int width, int height, float sliderPosProportional, float rotaryStartAngle, float rotaryEndAngle, Slider &slider)
 
virtual void drawButtonBackground (Graphics &g, Button &button, const Colour &backgroundColour, bool isMouseOverButton, bool isButtonDown)
 Draws the lozenge-shaped background for a standard button.
 
virtual void drawToggleButton (Graphics &g, ToggleButton &button, bool isMouseOverButton, bool isButtonDown)
 Draws the contents of a standard ToggleButton.
 
virtual void drawTickBox (Graphics &g, Component &component, float x, float y, float w, float h, bool ticked, bool isEnabled, bool isMouseOverButton, bool isButtonDown)
 
virtual void drawProgressBar (Graphics &g, ProgressBar &progressBar, int width, int height, double progress, const String &textToShow)
 
virtual void drawScrollbarButton (Graphics &g, ScrollBar &scrollbar, int width, int height, int buttonDirection, bool isScrollbarVertical, bool isMouseOverButton, bool isButtonDown)
 
virtual void drawScrollbar (Graphics &g, ScrollBar &scrollbar, int x, int y, int width, int height, bool isScrollbarVertical, int thumbStartPosition, int thumbSize, bool isMouseOver, bool isMouseDown)
 
virtual ImageEffectFilter * getScrollbarEffect ()
 
virtual void drawTextEditorOutline (Graphics &g, int width, int height, TextEditor &textEditor)
 
virtual void drawPopupMenuBackground (Graphics &g, int width, int height)
 Fills the background of a popup menu component.
 
virtual void drawMenuBarBackground (Graphics &g, int width, int height, bool isMouseOverBar, MenuBarComponent &menuBar)
 
virtual void drawComboBox (Graphics &g, int width, int height, bool isButtonDown, int buttonX, int buttonY, int buttonW, int buttonH, ComboBox &box)
 
virtual Font getComboBoxFont (ComboBox &box)
 
virtual void drawLinearSlider (Graphics &g, int x, int y, int width, int height, float sliderPos, float minSliderPos, float maxSliderPos, const Slider::SliderStyle style, Slider &slider)
 
virtual int getSliderThumbRadius (Slider &slider)
 
virtual Button * createSliderButton (bool isIncrement)
 
virtual ImageEffectFilter * getSliderEffect ()
 
virtual void drawCornerResizer (Graphics &g, int w, int h, bool isMouseOver, bool isMouseDragging)
 
virtual Button * createDocumentWindowButton (int buttonType)
 
virtual void positionDocumentWindowButtons (DocumentWindow &window, int titleBarX, int titleBarY, int titleBarW, int titleBarH, Button *minimiseButton, Button *maximiseButton, Button *closeButton, bool positionTitleBarButtonsOnLeft)
 

Static Public Member Functions

static LookAndFeelCustomgetInstance ()
 

Detailed Description

The original Juce look-and-feel.

Definition at line 21 of file LookAndFeelCustom.h.

Constructor & Destructor Documentation

LookAndFeelCustom::LookAndFeelCustom ( )

Creates the default JUCE look and feel.

Definition at line 26 of file LookAndFeelCustom.cpp.

LookAndFeelCustom::~LookAndFeelCustom ( )
virtual

Destructor.

Definition at line 45 of file LookAndFeelCustom.cpp.

Member Function Documentation

void LookAndFeelCustom::drawButtonBackground ( Graphics &  g,
Button &  button,
const Colour &  backgroundColour,
bool  isMouseOverButton,
bool  isButtonDown 
)
virtual

Draws the lozenge-shaped background for a standard button.

Definition at line 89 of file LookAndFeelCustom.cpp.

void LookAndFeelCustom::drawPopupMenuBackground ( Graphics &  g,
int  width,
int  height 
)
virtual

Fills the background of a popup menu component.

Definition at line 346 of file LookAndFeelCustom.cpp.

void LookAndFeelCustom::drawToggleButton ( Graphics &  g,
ToggleButton &  button,
bool  isMouseOverButton,
bool  isButtonDown 
)
virtual

Draws the contents of a standard ToggleButton.

Definition at line 160 of file LookAndFeelCustom.cpp.


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