Loading...
Searching...
No Matches
LookAndFeel_V3 Class Reference

The latest JUCE look-and-feel style, as introduced in 2013. More...

#include <juce_LookAndFeel_V3.h>

Inheritance diagram for LookAndFeel_V3:

Public Member Functions

 LookAndFeel_V3 ()
 
 ~LookAndFeel_V3 () override
 
void drawButtonBackground (Graphics &, Button &, const Colour &backgroundColour, bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override
 
void drawTableHeaderBackground (Graphics &, TableHeaderComponent &) override
 
void drawTreeviewPlusMinusBox (Graphics &, const Rectangle< float > &area, Colour backgroundColour, bool isOpen, bool isMouseOver) override
 
bool areLinesDrawnForTreeView (TreeView &) override
 
int getTreeViewIndentSize (TreeView &) override
 
ButtoncreateDocumentWindowButton (int buttonType) override
 
void drawComboBox (Graphics &, int width, int height, bool isButtonDown, int buttonX, int buttonY, int buttonW, int buttonH, ComboBox &box) override
 
void drawKeymapChangeButton (Graphics &, int width, int height, Button &button, const String &keyDescription) override
 
void drawPopupMenuBackground (Graphics &, int width, int height) override
 Fills the background of a popup menu component.
 
void drawMenuBarBackground (Graphics &, int width, int height, bool, MenuBarComponent &) override
 
int getTabButtonOverlap (int tabDepth) override
 
int getTabButtonSpaceAroundImage () override
 
void drawTabButton (TabBarButton &, Graphics &, bool isMouseOver, bool isMouseDown) override
 
void drawTabAreaBehindFrontButton (TabbedButtonBar &bar, Graphics &g, int w, int h) override
 
void drawTextEditorOutline (Graphics &, int width, int height, TextEditor &) override
 
void drawStretchableLayoutResizerBar (Graphics &, int w, int h, bool isVerticalBar, bool isMouseOver, bool isMouseDragging) override
 
bool areScrollbarButtonsVisible () override
 
void drawScrollbar (Graphics &, ScrollBar &, int x, int y, int width, int height, bool isScrollbarVertical, int thumbStartPosition, int thumbSize, bool isMouseOver, bool isMouseDown) override
 Draws the thumb area of a scrollbar.
 
void drawLinearSlider (Graphics &, int x, int y, int width, int height, float sliderPos, float minSliderPos, float maxSliderPos, Slider::SliderStyle, Slider &) override
 
void drawLinearSliderBackground (Graphics &, int x, int y, int width, int height, float sliderPos, float minSliderPos, float maxSliderPos, Slider::SliderStyle, Slider &) override
 
void drawConcertinaPanelHeader (Graphics &, const Rectangle< int > &area, bool isMouseOver, bool isMouseDown, ConcertinaPanel &, Component &) override
 
Path getTickShape (float height) override
 Returns a tick shape for use in yes/no boxes, etc.
 
Path getCrossShape (float height) override
 Returns a cross shape for use in yes/no boxes, etc.
 
- Public Member Functions inherited from LookAndFeel_V2
 LookAndFeel_V2 ()
 
 ~LookAndFeel_V2 () override
 
Font getTextButtonFont (TextButton &, int buttonHeight) override
 
void drawButtonText (Graphics &, TextButton &, bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override
 Draws the text for a TextButton.
 
int getTextButtonWidthToFitText (TextButton &, int buttonHeight) override
 
void drawToggleButton (Graphics &, ToggleButton &, bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override
 Draws the contents of a standard ToggleButton.
 
void changeToggleButtonWidthToFitText (ToggleButton &) override
 
void drawTickBox (Graphics &, Component &, float x, float y, float w, float h, bool ticked, bool isEnabled, bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override
 
void drawDrawableButton (Graphics &, DrawableButton &, bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override
 
AlertWindowcreateAlertWindow (const String &title, const String &message, const String &button1, const String &button2, const String &button3, MessageBoxIconType iconType, int numButtons, Component *associatedComponent) override
 
void drawAlertBox (Graphics &, AlertWindow &, const Rectangle< int > &textArea, TextLayout &) override
 
int getAlertBoxWindowFlags () override
 
Array< int > getWidthsForTextButtons (AlertWindow &, const Array< TextButton * > &) override
 
int getAlertWindowButtonHeight () override
 
Font getAlertWindowTitleFont () override
 Override this function to supply a custom font for the alert window title.
 
Font getAlertWindowMessageFont () override
 Override this function to supply a custom font for the alert window message.
 
Font getAlertWindowFont () override
 
void drawProgressBar (Graphics &, ProgressBar &, int width, int height, double progress, const String &textToShow) override
 Draws a progress bar.
 
void drawSpinningWaitAnimation (Graphics &, const Colour &colour, int x, int y, int w, int h) override
 Draws a small image that spins to indicate that something's happening.
 
bool isProgressBarOpaque (ProgressBar &) override
 
ProgressBar::Style getDefaultProgressBarStyle (const ProgressBar &) override
 Returns the default style a progress bar should use if one hasn't been set.
 
void drawScrollbarButton (Graphics &, ScrollBar &, int width, int height, int buttonDirection, bool isScrollbarVertical, bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override
 Draws one of the buttons on a scrollbar.
 
ImageEffectFiltergetScrollbarEffect () override
 Returns the component effect to use for a scrollbar.
 
int getMinimumScrollbarThumbSize (ScrollBar &) override
 Returns the minimum length in pixels to use for a scrollbar thumb.
 
int getDefaultScrollbarWidth () override
 Returns the default thickness to use for a scrollbar.
 
int getScrollbarButtonSize (ScrollBar &) override
 Returns the length in pixels to use for a scrollbar button.
 
void fillTextEditorBackground (Graphics &, int width, int height, TextEditor &) override
 
CaretComponentcreateCaretComponent (Component *keyFocusOwner) override
 
const DrawablegetDefaultFolderImage () override
 
const DrawablegetDefaultDocumentFileImage () override
 
AttributedString createFileChooserHeaderText (const String &title, const String &instructions) override
 
void drawFileBrowserRow (Graphics &, int width, int height, const File &file, const String &filename, Image *icon, const String &fileSizeDescription, const String &fileTimeDescription, bool isDirectory, bool isItemSelected, int itemIndex, DirectoryContentsDisplayComponent &) override
 
ButtoncreateFileBrowserGoUpButton () override
 
void layoutFileBrowserComponent (FileBrowserComponent &, DirectoryContentsDisplayComponent *, FilePreviewComponent *, ComboBox *currentPathBox, TextEditor *filenameBox, Button *goUpButton) override
 
void drawBubble (Graphics &, BubbleComponent &, const Point< float > &tip, const Rectangle< float > &body) override
 Override this method to draw a speech-bubble pointing at a specific location on the screen.
 
void setComponentEffectForBubbleComponent (BubbleComponent &bubbleComponent) override
 Override this method to set effects, such as a drop-shadow, on a BubbleComponent.
 
void drawLasso (Graphics &, Component &) override
 
void drawPopupMenuBackgroundWithOptions (Graphics &, int width, int height, const PopupMenu::Options &) override
 Fills the background of a popup menu component.
 
void drawPopupMenuItem (Graphics &, const Rectangle< int > &area, bool isSeparator, bool isActive, bool isHighlighted, bool isTicked, bool hasSubMenu, const String &text, const String &shortcutKeyText, const Drawable *icon, const Colour *textColour) override
 Draws one of the items in a popup menu.
 
void drawPopupMenuItemWithOptions (Graphics &, const Rectangle< int > &area, bool isHighlighted, const PopupMenu::Item &item, const PopupMenu::Options &) override
 Draws one of the items in a popup menu.
 
void drawPopupMenuSectionHeader (Graphics &, const Rectangle< int > &area, const String &sectionName) override
 
void drawPopupMenuSectionHeaderWithOptions (Graphics &, const Rectangle< int > &area, const String &sectionName, const PopupMenu::Options &) override
 
Font getPopupMenuFont () override
 Returns the size and style of font to use in popup menus.
 
void drawPopupMenuUpDownArrow (Graphics &, int width, int height, bool isScrollUpArrow) override
 
void drawPopupMenuUpDownArrowWithOptions (Graphics &, int width, int height, bool isScrollUpArrow, const PopupMenu::Options &) override
 
void getIdealPopupMenuItemSize (const String &text, bool isSeparator, int standardMenuItemHeight, int &idealWidth, int &idealHeight) override
 Finds the best size for an item in a popup menu.
 
void getIdealPopupMenuItemSizeWithOptions (const String &text, bool isSeparator, int standardMenuItemHeight, int &idealWidth, int &idealHeight, const PopupMenu::Options &) override
 Finds the best size for an item in a popup menu.
 
int getMenuWindowFlags () override
 
void preparePopupMenuWindow (Component &) override
 
int getMenuBarItemWidth (MenuBarComponent &, int itemIndex, const String &itemText) override
 
Font getMenuBarFont (MenuBarComponent &, int itemIndex, const String &itemText) override
 
int getDefaultMenuBarHeight () override
 
void drawMenuBarItem (Graphics &, int width, int height, int itemIndex, const String &itemText, bool isMouseOverItem, bool isMenuOpen, bool isMouseOverBar, MenuBarComponent &) override
 
ComponentgetParentComponentForMenuOptions (const PopupMenu::Options &options) override
 
bool shouldPopupMenuScaleWithTargetComponent (const PopupMenu::Options &options) override
 Return true if you want your popup menus to scale with the target component's AffineTransform or scale factor.
 
int getPopupMenuBorderSize () override
 
int getPopupMenuBorderSizeWithOptions (const PopupMenu::Options &) override
 
void drawPopupMenuColumnSeparatorWithOptions (Graphics &g, const Rectangle< int > &bounds, const PopupMenu::Options &) override
 Implement this to draw some custom decoration between the columns of the popup menu.
 
int getPopupMenuColumnSeparatorWidthWithOptions (const PopupMenu::Options &) override
 Return the amount of space that should be left between popup menu columns.
 
Font getComboBoxFont (ComboBox &) override
 
LabelcreateComboBoxTextBox (ComboBox &) override
 
void positionComboBoxText (ComboBox &, Label &) override
 
PopupMenu::Options getOptionsForComboBoxPopupMenu (ComboBox &, Label &) override
 
void drawComboBoxTextWhenNothingSelected (Graphics &, ComboBox &, Label &) override
 
void drawLabel (Graphics &, Label &) override
 
Font getLabelFont (Label &) override
 
BorderSize< int > getLabelBorderSize (Label &) override
 
void drawLinearSliderOutline (Graphics &, int x, int y, int width, int height, Slider::SliderStyle, Slider &) override
 
void drawLinearSliderThumb (Graphics &, int x, int y, int width, int height, float sliderPos, float minSliderPos, float maxSliderPos, Slider::SliderStyle, Slider &) override
 
void drawRotarySlider (Graphics &, int x, int y, int width, int height, float sliderPosProportional, float rotaryStartAngle, float rotaryEndAngle, Slider &) override
 
int getSliderThumbRadius (Slider &) override
 
ButtoncreateSliderButton (Slider &, bool isIncrement) override
 
LabelcreateSliderTextBox (Slider &) override
 
ImageEffectFiltergetSliderEffect (Slider &) override
 
Font getSliderPopupFont (Slider &) override
 
int getSliderPopupPlacement (Slider &) override
 
Slider::SliderLayout getSliderLayout (Slider &) override
 
Rectangle< int > getTooltipBounds (const String &tipText, Point< int > screenPos, Rectangle< int > parentArea) override
 returns the bounds for a tooltip at the given screen coordinate, constrained within the given desktop area.
 
void drawTooltip (Graphics &, const String &text, int width, int height) override
 
ButtoncreateFilenameComponentBrowseButton (const String &text) override
 
void layoutFilenameComponent (FilenameComponent &, ComboBox *filenameBox, Button *browseButton) override
 
void drawCornerResizer (Graphics &, int w, int h, bool isMouseOver, bool isMouseDragging) override
 
void drawResizableFrame (Graphics &, int w, int h, const BorderSize< int > &) override
 
void fillResizableWindowBackground (Graphics &, int w, int h, const BorderSize< int > &, ResizableWindow &) override
 
void drawResizableWindowBorder (Graphics &, int w, int h, const BorderSize< int > &border, ResizableWindow &) override
 
void drawDocumentWindowTitleBar (DocumentWindow &, Graphics &, int w, int h, int titleSpaceX, int titleSpaceW, const Image *icon, bool drawTitleTextOnLeft) override
 
void positionDocumentWindowButtons (DocumentWindow &, int titleBarX, int titleBarY, int titleBarW, int titleBarH, Button *minimiseButton, Button *maximiseButton, Button *closeButton, bool positionTitleBarButtonsOnLeft) override
 
std::unique_ptr< DropShadowercreateDropShadowerForComponent (Component &) override
 Creates a drop-shadower for a given component, if required.
 
std::unique_ptr< FocusOutlinecreateFocusOutlineForComponent (Component &) override
 Creates a focus outline for a given component, if required.
 
void drawGroupComponentOutline (Graphics &, int w, int h, const String &text, const Justification &, GroupComponent &) override
 
int getTabButtonBestWidth (TabBarButton &, int tabDepth) override
 
Rectangle< int > getTabButtonExtraComponentBounds (const TabBarButton &, Rectangle< int > &textArea, Component &extraComp) override
 
Font getTabButtonFont (TabBarButton &, float height) override
 
void drawTabButtonText (TabBarButton &, Graphics &, bool isMouseOver, bool isMouseDown) override
 
void drawTabbedButtonBarBackground (TabbedButtonBar &, Graphics &) override
 
void createTabButtonShape (TabBarButton &, Path &, bool isMouseOver, bool isMouseDown) override
 
void fillTabButtonShape (TabBarButton &, Graphics &, const Path &, bool isMouseOver, bool isMouseDown) override
 
ButtoncreateTabBarExtrasButton () override
 
void drawImageButton (Graphics &, Image *, int imageX, int imageY, int imageW, int imageH, const Colour &overlayColour, float imageOpacity, ImageButton &) override
 
void drawTableHeaderColumn (Graphics &, TableHeaderComponent &, const String &columnName, int columnId, int width, int height, bool isMouseOver, bool isMouseDown, int columnFlags) override
 
void paintToolbarBackground (Graphics &, int width, int height, Toolbar &) override
 
ButtoncreateToolbarMissingItemsButton (Toolbar &) override
 
void paintToolbarButtonBackground (Graphics &, int width, int height, bool isMouseOver, bool isMouseDown, ToolbarItemComponent &) override
 
void paintToolbarButtonLabel (Graphics &, int x, int y, int width, int height, const String &text, ToolbarItemComponent &) override
 
void drawPropertyPanelSectionHeader (Graphics &, const String &name, bool isOpen, int width, int height) override
 
void drawPropertyComponentBackground (Graphics &, int width, int height, PropertyComponent &) override
 
void drawPropertyComponentLabel (Graphics &, int width, int height, PropertyComponent &) override
 
Rectangle< int > getPropertyComponentContentPosition (PropertyComponent &) override
 
int getPropertyPanelSectionHeaderHeight (const String &sectionTitle) override
 
void drawCallOutBoxBackground (CallOutBox &, Graphics &, const Path &path, Image &cachedImage) override
 
int getCallOutBoxBorderSize (const CallOutBox &) override
 
float getCallOutBoxCornerSize (const CallOutBox &) override
 
void drawLevelMeter (Graphics &, int width, int height, float level) override
 
Font getSidePanelTitleFont (SidePanel &) override
 
Justification getSidePanelTitleJustification (SidePanel &) override
 
Path getSidePanelDismissButtonShape (SidePanel &) override
 
- Public Member Functions inherited from LookAndFeel
 LookAndFeel ()
 Creates the default JUCE look and feel.
 
 ~LookAndFeel () override
 Destructor.
 
Colour findColour (int colourId) const noexcept
 Looks for a colour that has been registered with the given colour ID number.
 
void setColour (int colourId, Colour colour) noexcept
 Registers a colour to be used for a particular purpose.
 
bool isColourSpecified (int colourId) const noexcept
 Returns true if the specified colour ID has been explicitly set using the setColour() method.
 
virtual Typeface::Ptr getTypefaceForFont (const Font &)
 Returns the typeface that should be used for a given font.
 
virtual TypefaceMetricsKind getDefaultMetricsKind () const
 Widgets can call this to find out the kind of metrics they should use when creating their own fonts.
 
FontOptions withDefaultMetrics (FontOptions opt) const
 Returns a copy of the FontOptions with the LookAndFeel's default metrics kind set.
 
void setDefaultSansSerifTypeface (Typeface::Ptr newDefaultTypeface)
 Allows you to supply a default typeface that will be returned as the default sans-serif font.
 
void setDefaultSansSerifTypefaceName (const String &newName)
 Allows you to change the default sans-serif font.
 
void setUsingNativeAlertWindows (bool shouldUseNativeAlerts)
 Sets whether native alert windows (if available) or standard JUCE AlertWindows drawn with AlertWindow::LookAndFeelMethods will be used.
 
bool isUsingNativeAlertWindows ()
 Returns true if native alert windows will be used (if available).
 
virtual MouseCursor getMouseCursorFor (Component &)
 Override this to get the chance to swap a component's mouse cursor for a customised one.
 
virtual std::unique_ptr< LowLevelGraphicsContextcreateGraphicsContext (const Image &imageToRenderOn, Point< int > origin, const RectangleList< int > &initialClip)
 Creates a new graphics context object.
 
virtual void playAlertSound ()
 Plays the system's default 'beep' noise, to alert the user about something very important.
 
- Public Member Functions inherited from ScrollBar::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from Button::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from ImageButton::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from TextEditor::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from FileBrowserComponent::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from TreeView::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from BubbleComponent::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from AlertWindow::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from PopupMenu::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from ComboBox::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from Label::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from Slider::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from ResizableWindow::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from DocumentWindow::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from TooltipWindow::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from TabbedButtonBar::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from PropertyComponent::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from FilenameComponent::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from GroupComponent::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from TableHeaderComponent::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from CallOutBox::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from Toolbar::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from ConcertinaPanel::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from ProgressBar::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from StretchableLayoutResizerBar::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 
- Public Member Functions inherited from ExtraLookAndFeelBaseClasses::KeyMappingEditorComponentMethods
virtual ~KeyMappingEditorComponentMethods ()=default
 
- Public Member Functions inherited from ExtraLookAndFeelBaseClasses::AudioDeviceSelectorComponentMethods
virtual ~AudioDeviceSelectorComponentMethods ()=default
 
- Public Member Functions inherited from ExtraLookAndFeelBaseClasses::LassoComponentMethods
virtual ~LassoComponentMethods ()=default
 
- Public Member Functions inherited from SidePanel::LookAndFeelMethods
virtual ~LookAndFeelMethods ()=default
 

Static Public Member Functions

static void createTabTextLayout (const TabBarButton &button, float length, float depth, Colour colour, TextLayout &)
 
- Static Public Member Functions inherited from LookAndFeel_V2
static void drawBevel (Graphics &, int x, int y, int width, int height, int bevelThickness, const Colour &topLeftColour=Colours::white, const Colour &bottomRightColour=Colours::black, bool useGradient=true, bool sharpEdgeOnOutside=true)
 Draws a 3D raised (or indented) bevel using two colours.
 
static void drawGlassSphere (Graphics &, float x, float y, float diameter, const Colour &, float outlineThickness) noexcept
 Utility function to draw a shiny, glassy circle (for round LED-type buttons).
 
static void drawGlassPointer (Graphics &, float x, float y, float diameter, const Colour &, float outlineThickness, int direction) noexcept
 
static void drawGlassLozenge (Graphics &, float x, float y, float width, float height, const Colour &, float outlineThickness, float cornerSize, bool flatOnLeft, bool flatOnRight, bool flatOnTop, bool flatOnBottom) noexcept
 Utility function to draw a shiny, glassy oblong (for text buttons).
 
- Static Public Member Functions inherited from LookAndFeel
static LookAndFeelgetDefaultLookAndFeel () noexcept
 Returns the current default look-and-feel for a component to use when it hasn't got one explicitly set.
 
static void setDefaultLookAndFeel (LookAndFeel *newDefaultLookAndFeel) noexcept
 Changes the default look-and-feel.
 

Detailed Description

The latest JUCE look-and-feel style, as introduced in 2013.

See also
LookAndFeel, LookAndFeel_V1, LookAndFeel_V2

Constructor & Destructor Documentation

◆ LookAndFeel_V3()

LookAndFeel_V3::LookAndFeel_V3 ( )

◆ ~LookAndFeel_V3()

LookAndFeel_V3::~LookAndFeel_V3 ( )
override

Member Function Documentation

◆ drawButtonBackground()

void LookAndFeel_V3::drawButtonBackground ( Graphics & ,
Button & ,
const Colour & backgroundColour,
bool shouldDrawButtonAsHighlighted,
bool shouldDrawButtonAsDown )
overridevirtual

Reimplemented from LookAndFeel_V2.

Reimplemented in LookAndFeel_V4.

◆ drawTableHeaderBackground()

void LookAndFeel_V3::drawTableHeaderBackground ( Graphics & ,
TableHeaderComponent &  )
overridevirtual

Reimplemented from LookAndFeel_V2.

◆ drawTreeviewPlusMinusBox()

void LookAndFeel_V3::drawTreeviewPlusMinusBox ( Graphics & ,
const Rectangle< float > & area,
Colour backgroundColour,
bool isOpen,
bool isMouseOver )
overridevirtual

Reimplemented from LookAndFeel_V2.

◆ areLinesDrawnForTreeView()

bool LookAndFeel_V3::areLinesDrawnForTreeView ( TreeView & )
overridevirtual

Reimplemented from LookAndFeel_V2.

◆ getTreeViewIndentSize()

int LookAndFeel_V3::getTreeViewIndentSize ( TreeView & )
overridevirtual

Reimplemented from LookAndFeel_V2.

◆ createDocumentWindowButton()

Button * LookAndFeel_V3::createDocumentWindowButton ( int buttonType)
overridevirtual

Reimplemented from LookAndFeel_V2.

Reimplemented in LookAndFeel_V4.

◆ drawComboBox()

void LookAndFeel_V3::drawComboBox ( Graphics & ,
int width,
int height,
bool isButtonDown,
int buttonX,
int buttonY,
int buttonW,
int buttonH,
ComboBox & box )
overridevirtual

Reimplemented from LookAndFeel_V2.

Reimplemented in LookAndFeel_V4.

◆ drawKeymapChangeButton()

void LookAndFeel_V3::drawKeymapChangeButton ( Graphics & ,
int width,
int height,
Button & button,
const String & keyDescription )
overridevirtual

Reimplemented from LookAndFeel_V2.

◆ drawPopupMenuBackground()

void LookAndFeel_V3::drawPopupMenuBackground ( Graphics & ,
int width,
int height )
overridevirtual

Fills the background of a popup menu component.

Reimplemented from LookAndFeel_V2.

◆ drawMenuBarBackground()

void LookAndFeel_V3::drawMenuBarBackground ( Graphics & ,
int width,
int height,
bool ,
MenuBarComponent &  )
overridevirtual

Reimplemented from LookAndFeel_V2.

Reimplemented in LookAndFeel_V4.

◆ getTabButtonOverlap()

int LookAndFeel_V3::getTabButtonOverlap ( int tabDepth)
overridevirtual

Reimplemented from LookAndFeel_V2.

◆ getTabButtonSpaceAroundImage()

int LookAndFeel_V3::getTabButtonSpaceAroundImage ( )
overridevirtual

Reimplemented from LookAndFeel_V2.

◆ drawTabButton()

void LookAndFeel_V3::drawTabButton ( TabBarButton & ,
Graphics & ,
bool isMouseOver,
bool isMouseDown )
overridevirtual

Reimplemented from LookAndFeel_V2.

◆ drawTabAreaBehindFrontButton()

void LookAndFeel_V3::drawTabAreaBehindFrontButton ( TabbedButtonBar & bar,
Graphics & g,
int w,
int h )
overridevirtual

Reimplemented from LookAndFeel_V2.

◆ drawTextEditorOutline()

void LookAndFeel_V3::drawTextEditorOutline ( Graphics & ,
int width,
int height,
TextEditor &  )
overridevirtual

Reimplemented from LookAndFeel_V2.

Reimplemented in LookAndFeel_V4.

◆ drawStretchableLayoutResizerBar()

void LookAndFeel_V3::drawStretchableLayoutResizerBar ( Graphics & ,
int w,
int h,
bool isVerticalBar,
bool isMouseOver,
bool isMouseDragging )
overridevirtual

Reimplemented from LookAndFeel_V2.

Reimplemented in LookAndFeel_V4.

◆ areScrollbarButtonsVisible()

bool LookAndFeel_V3::areScrollbarButtonsVisible ( )
overridevirtual

Reimplemented from LookAndFeel_V2.

◆ drawScrollbar()

void LookAndFeel_V3::drawScrollbar ( Graphics & g,
ScrollBar & scrollbar,
int x,
int y,
int width,
int height,
bool isScrollbarVertical,
int thumbStartPosition,
int thumbSize,
bool isMouseOver,
bool isMouseDown )
overridevirtual

Draws the thumb area of a scrollbar.

Parameters
gthe context to draw into
scrollbarthe bar itself
xthe x position of the left edge of the thumb area to draw in
ythe y position of the top edge of the thumb area to draw in
widththe width of the thumb area to draw in
heightthe height of the thumb area to draw in
isScrollbarVerticaltrue if it's a vertical bar, false if horizontal
thumbStartPositionfor vertical bars, the y coordinate of the top of the thumb, or its x position for horizontal bars
thumbSizefor vertical bars, the height of the thumb, or its width for horizontal bars. This may be 0 if the thumb shouldn't be drawn.
isMouseOverwhether the mouse is over the thumb area, also true if the mouse is currently dragging the thumb
isMouseDownwhether the mouse is currently dragging the scrollbar

Reimplemented from LookAndFeel_V2.

Reimplemented in LookAndFeel_V4.

◆ drawLinearSlider()

void LookAndFeel_V3::drawLinearSlider ( Graphics & ,
int x,
int y,
int width,
int height,
float sliderPos,
float minSliderPos,
float maxSliderPos,
Slider::SliderStyle ,
Slider &  )
overridevirtual

Reimplemented from LookAndFeel_V2.

Reimplemented in LookAndFeel_V4.

◆ drawLinearSliderBackground()

void LookAndFeel_V3::drawLinearSliderBackground ( Graphics & ,
int x,
int y,
int width,
int height,
float sliderPos,
float minSliderPos,
float maxSliderPos,
Slider::SliderStyle ,
Slider &  )
overridevirtual

Reimplemented from LookAndFeel_V2.

◆ drawConcertinaPanelHeader()

void LookAndFeel_V3::drawConcertinaPanelHeader ( Graphics & ,
const Rectangle< int > & area,
bool isMouseOver,
bool isMouseDown,
ConcertinaPanel & ,
Component &  )
overridevirtual

Reimplemented from LookAndFeel_V2.

Reimplemented in LookAndFeel_V4.

◆ getTickShape()

Path LookAndFeel_V3::getTickShape ( float height)
overridevirtual

Returns a tick shape for use in yes/no boxes, etc.

Reimplemented from LookAndFeel_V2.

Reimplemented in LookAndFeel_V4.

◆ getCrossShape()

Path LookAndFeel_V3::getCrossShape ( float height)
overridevirtual

Returns a cross shape for use in yes/no boxes, etc.

Reimplemented from LookAndFeel_V2.

Reimplemented in LookAndFeel_V4.

◆ createTabTextLayout()

static void LookAndFeel_V3::createTabTextLayout ( const TabBarButton & button,
float length,
float depth,
Colour colour,
TextLayout &  )
static

The documentation for this class was generated from the following file:
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram