|
| LookAndFeel_V4 () |
| Creates a LookAndFeel_V4 object with a default colour scheme. More...
|
|
| LookAndFeel_V4 (ColourScheme) |
| Creates a LookAndFeel_V4 object with a given colour scheme. More...
|
|
| ~LookAndFeel_V4 () override |
| Destructor. More...
|
|
void | setColourScheme (ColourScheme) |
|
ColourScheme & | getCurrentColourScheme () noexcept |
|
Button * | createDocumentWindowButton (int) override |
|
void | positionDocumentWindowButtons (DocumentWindow &, int, int, int, int, Button *, Button *, Button *, bool) override |
|
void | drawDocumentWindowTitleBar (DocumentWindow &, Graphics &, int, int, int, int, const Image *, bool) override |
|
Font | getTextButtonFont (TextButton &, int buttonHeight) override |
|
void | drawButtonBackground (Graphics &, Button &, const Colour &backgroundColour, bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override |
|
void | drawToggleButton (Graphics &, ToggleButton &, bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override |
| Draws the contents of a standard ToggleButton. More...
|
|
void | drawTickBox (Graphics &, Component &, float x, float y, float w, float h, bool ticked, bool isEnabled, bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override |
|
void | changeToggleButtonWidthToFitText (ToggleButton &) override |
|
AlertWindow * | createAlertWindow (const String &title, const String &message, const String &button1, const String &button2, const String &button3, AlertWindow::AlertIconType iconType, int numButtons, Component *associatedComponent) override |
|
void | drawAlertBox (Graphics &, AlertWindow &, const Rectangle< int > &textArea, TextLayout &) override |
|
int | getAlertWindowButtonHeight () override |
|
Font | getAlertWindowTitleFont () override |
| Override this function to supply a custom font for the alert window title. More...
|
|
Font | getAlertWindowMessageFont () override |
| Override this function to supply a custom font for the alert window message. More...
|
|
Font | getAlertWindowFont () override |
|
void | drawProgressBar (Graphics &, ProgressBar &, int width, int height, double progress, const String &textToShow) override |
| Draws a progress bar. More...
|
|
bool | isProgressBarOpaque (ProgressBar &) override |
|
int | getDefaultScrollbarWidth () override |
| Returns the default thickness to use for a scrollbar. More...
|
|
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. More...
|
|
Path | getTickShape (float height) override |
| Returns a tick shape for use in yes/no boxes, etc. More...
|
|
Path | getCrossShape (float height) override |
| Returns a cross shape for use in yes/no boxes, etc. More...
|
|
void | fillTextEditorBackground (Graphics &, int width, int height, TextEditor &) override |
|
void | drawTextEditorOutline (Graphics &, int width, int height, TextEditor &) override |
|
Button * | createFileBrowserGoUpButton () override |
|
void | layoutFileBrowserComponent (FileBrowserComponent &, DirectoryContentsDisplayComponent *, FilePreviewComponent *, ComboBox *currentPathBox, TextEditor *filenameBox, Button *goUpButton) 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 |
|
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. More...
|
|
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. More...
|
|
void | drawMenuBarBackground (Graphics &, int width, int height, bool isMouseOverBar, MenuBarComponent &) override |
|
void | drawMenuBarItem (Graphics &, int width, int height, int itemIndex, const String &itemText, bool isMouseOverItem, bool isMenuOpen, bool isMouseOverBar, MenuBarComponent &) override |
|
void | drawComboBox (Graphics &, int width, int height, bool isButtonDown, int buttonX, int buttonY, int buttonW, int buttonH, ComboBox &) override |
|
Font | getComboBoxFont (ComboBox &) override |
|
void | positionComboBoxText (ComboBox &, Label &) override |
|
int | getSliderThumbRadius (Slider &) override |
|
void | drawLinearSlider (Graphics &, int x, int y, int width, int height, float sliderPos, float minSliderPos, float maxSliderPos, const Slider::SliderStyle, Slider &) override |
|
void | drawRotarySlider (Graphics &, int x, int y, int width, int height, float sliderPosProportional, float rotaryStartAngle, float rotaryEndAngle, Slider &) override |
|
void | drawPointer (Graphics &, float x, float y, float diameter, const Colour &, int direction) noexcept |
|
Label * | createSliderTextBox (Slider &) override |
|
void | drawTooltip (Graphics &, const String &text, int width, int height) override |
|
void | drawConcertinaPanelHeader (Graphics &, const Rectangle< int > &area, bool isMouseOver, bool isMouseDown, ConcertinaPanel &, Component &panel) override |
|
void | drawLevelMeter (Graphics &, int, int, float) override |
|
void | paintToolbarBackground (Graphics &, int width, int height, Toolbar &) 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 |
|
void | drawCallOutBoxBackground (CallOutBox &, Graphics &, const Path &, Image &) override |
|
void | drawStretchableLayoutResizerBar (Graphics &, int, int, bool, bool, bool) override |
|
Public Member Functions inherited from LookAndFeel_V3 |
| LookAndFeel_V3 () |
|
| ~LookAndFeel_V3 () 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 |
|
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. More...
|
|
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 |
|
bool | areScrollbarButtonsVisible () override |
|
void | drawLinearSliderBackground (Graphics &, int x, int y, int width, int height, float sliderPos, float minSliderPos, float maxSliderPos, const Slider::SliderStyle, Slider &) override |
|
Public Member Functions inherited from LookAndFeel_V2 |
| LookAndFeel_V2 () |
|
| ~LookAndFeel_V2 () override |
|
void | drawButtonText (Graphics &, TextButton &, bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override |
| Draws the text for a TextButton. More...
|
|
int | getTextButtonWidthToFitText (TextButton &, int buttonHeight) override |
|
void | drawDrawableButton (Graphics &, DrawableButton &, bool shouldDrawButtonAsHighlighted, bool shouldDrawButtonAsDown) override |
|
int | getAlertBoxWindowFlags () override |
|
Array< int > | getWidthsForTextButtons (AlertWindow &, const Array< TextButton *> &) override |
|
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. More...
|
|
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. More...
|
|
ImageEffectFilter * | getScrollbarEffect () override |
| Returns the component effect to use for a scrollbar. More...
|
|
int | getMinimumScrollbarThumbSize (ScrollBar &) override |
| Returns the minimum length in pixels to use for a scrollbar thumb. More...
|
|
int | getScrollbarButtonSize (ScrollBar &) override |
| Returns the length in pixels to use for a scrollbar button. More...
|
|
CaretComponent * | createCaretComponent (Component *keyFocusOwner) override |
|
const Drawable * | getDefaultFolderImage () override |
|
const Drawable * | getDefaultDocumentFileImage () override |
|
AttributedString | createFileChooserHeaderText (const String &title, const String &instructions) override |
|
void | drawBubble (Graphics &, BubbleComponent &, const Point< float > &tip, const Rectangle< float > &body) override |
|
void | drawLasso (Graphics &, Component &) override |
|
void | drawPopupMenuSectionHeader (Graphics &, const Rectangle< int > &area, const String §ionName) override |
|
Font | getPopupMenuFont () override |
| Returns the size and style of font to use in popup menus. More...
|
|
void | drawPopupMenuUpDownArrow (Graphics &, int width, int height, bool isScrollUpArrow) override |
|
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 |
|
Component * | getParentComponentForMenuOptions (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. More...
|
|
int | getPopupMenuBorderSize () override |
|
Label * | createComboBoxTextBox (ComboBox &) 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 | drawLinearSliderThumb (Graphics &, int x, int y, int width, int height, float sliderPos, float minSliderPos, float maxSliderPos, const Slider::SliderStyle, Slider &) override |
|
Button * | createSliderButton (Slider &, bool isIncrement) override |
|
ImageEffectFilter * | getSliderEffect (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. More...
|
|
Button * | createFilenameComponentBrowseButton (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 |
|
DropShadower * | createDropShadowerForComponent (Component *) override |
|
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 |
|
Button * | createTabBarExtrasButton () 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 |
|
Button * | createToolbarMissingItemsButton (Toolbar &) override |
|
void | paintToolbarButtonBackground (Graphics &, int width, int height, bool isMouseOver, bool isMouseDown, ToolbarItemComponent &) override |
|
int | getPropertyPanelSectionHeaderHeight (const String §ionTitle) override |
|
int | getCallOutBoxBorderSize (const CallOutBox &) override |
|
float | getCallOutBoxCornerSize (const CallOutBox &) 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. More...
|
|
| ~LookAndFeel () override |
| Destructor. More...
|
|
Colour | findColour (int colourId) const noexcept |
| Looks for a colour that has been registered with the given colour ID number. More...
|
|
void | setColour (int colourId, Colour colour) noexcept |
| Registers a colour to be used for a particular purpose. More...
|
|
bool | isColourSpecified (int colourId) const noexcept |
| Returns true if the specified colour ID has been explicitly set using the setColour() method. More...
|
|
virtual Typeface::Ptr | getTypefaceForFont (const Font &) |
| Returns the typeface that should be used for a given font. More...
|
|
void | setDefaultSansSerifTypeface (Typeface::Ptr newDefaultTypeface) |
| Allows you to supply a default typeface that will be returned as the default sans-serif font. More...
|
|
void | setDefaultSansSerifTypefaceName (const String &newName) |
| Allows you to change the default sans-serif font. More...
|
|
virtual MouseCursor | getMouseCursorFor (Component &) |
| Override this to get the chance to swap a component's mouse cursor for a customised one. More...
|
|
virtual std::unique_ptr< LowLevelGraphicsContext > | createGraphicsContext (const Image &imageToRenderOn, Point< int > origin, const RectangleList< int > &initialClip) |
| Creates a new graphics context object. More...
|
|
void | setUsingNativeAlertWindows (bool shouldUseNativeAlerts) |
|
bool | isUsingNativeAlertWindows () |
|
virtual void | playAlertSound () |
| Plays the system's default 'beep' noise, to alert the user about something very important. More...
|
|
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 |
|