This LookAndFeel subclass implements the juce style from around 2008-12. More...
Static Public Member Functions | |
| 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 juce::LookAndFeel | |
| static LookAndFeel & | getDefaultLookAndFeel () 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. | |
This LookAndFeel subclass implements the juce style from around 2008-12.
| juce::LookAndFeel_V2::LookAndFeel_V2 | ( | ) |
|
override |
|
overridevirtual |
Implements juce::Button::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3, and juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::Button::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Draws the text for a TextButton.
Implements juce::Button::LookAndFeelMethods.
|
overridevirtual |
Implements juce::Button::LookAndFeelMethods.
|
overridevirtual |
Draws the contents of a standard ToggleButton.
Implements juce::Button::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::Button::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::Button::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::Button::LookAndFeelMethods.
|
overridevirtual |
Implements juce::AlertWindow::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::AlertWindow::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::AlertWindow::LookAndFeelMethods.
|
overridevirtual |
Implements juce::AlertWindow::LookAndFeelMethods.
|
overridevirtual |
Implements juce::AlertWindow::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Override this function to supply a custom font for the alert window title.
This default implementation will use a boldened and slightly larger version of the alert window message font.
Implements juce::AlertWindow::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Override this function to supply a custom font for the alert window message.
This default implementation will use the default font with height set to 15.0f.
Implements juce::AlertWindow::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::AlertWindow::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Draws a progress bar.
If the progress value is less than 0 or greater than 1.0, this should draw a spinning bar that fills the whole space (i.e. to say that the app is still busy but the progress isn't known). It can use the current time as a basis for playing an animation.
To determine which style of progress-bar to draw call getResolvedStyle().
(Used by progress bars in AlertWindow).
Implements juce::ProgressBar::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Draws a small image that spins to indicate that something's happening.
This method should use the current time to animate itself, so just keep repainting it every so often.
Implements juce::LookAndFeel.
|
overridevirtual |
Implements juce::ProgressBar::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Returns the default style a progress bar should use if one hasn't been set.
Implements juce::ProgressBar::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::ScrollBar::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3.
|
overridevirtual |
Draws one of the buttons on a scrollbar.
| g | the context to draw into |
| scrollbar | the bar itself |
| width | the width of the button |
| height | the height of the button |
| buttonDirection | the direction of the button, where 0 = up, 1 = right, 2 = down, 3 = left |
| isScrollbarVertical | true if it's a vertical bar, false if horizontal |
| isMouseOverButton | whether the mouse is currently over the button (also true if it's held down) |
| isButtonDown | whether the mouse button's held down |
Implements juce::ScrollBar::LookAndFeelMethods.
|
overridevirtual |
Draws the thumb area of a scrollbar.
| g | the context to draw into |
| scrollbar | the bar itself |
| x | the x position of the left edge of the thumb area to draw in |
| y | the y position of the top edge of the thumb area to draw in |
| width | the width of the thumb area to draw in |
| height | the height of the thumb area to draw in |
| isScrollbarVertical | true if it's a vertical bar, false if horizontal |
| thumbStartPosition | for vertical bars, the y coordinate of the top of the thumb, or its x position for horizontal bars |
| thumbSize | for vertical bars, the height of the thumb, or its width for horizontal bars. This may be 0 if the thumb shouldn't be drawn. |
| isMouseOver | whether the mouse is over the thumb area, also true if the mouse is currently dragging the thumb |
| isMouseDown | whether the mouse is currently dragging the scrollbar |
Implements juce::ScrollBar::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3, and juce::LookAndFeel_V4.
|
overridevirtual |
Returns the component effect to use for a scrollbar.
Implements juce::ScrollBar::LookAndFeelMethods.
Returns the minimum length in pixels to use for a scrollbar thumb.
Implements juce::ScrollBar::LookAndFeelMethods.
|
overridevirtual |
Returns the default thickness to use for a scrollbar.
Implements juce::ScrollBar::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
Returns the length in pixels to use for a scrollbar button.
Implements juce::ScrollBar::LookAndFeelMethods.
Returns a tick shape for use in yes/no boxes, etc.
Implements juce::LookAndFeel.
Reimplemented in juce::LookAndFeel_V3, and juce::LookAndFeel_V4.
Returns a cross shape for use in yes/no boxes, etc.
Implements juce::LookAndFeel.
Reimplemented in juce::LookAndFeel_V3, and juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::TreeView::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3.
Implements juce::TreeView::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3.
Implements juce::TreeView::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3.
|
overridevirtual |
Implements juce::TextEditor::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::TextEditor::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3, and juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::TextEditor::LookAndFeelMethods.
Implements juce::FileBrowserComponent::LookAndFeelMethods.
Implements juce::FileBrowserComponent::LookAndFeelMethods.
|
overridevirtual |
Implements juce::FileBrowserComponent::LookAndFeelMethods.
|
overridevirtual |
Implements juce::FileBrowserComponent::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::FileBrowserComponent::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::FileBrowserComponent::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Override this method to draw a speech-bubble pointing at a specific location on the screen.
Implements juce::BubbleComponent::LookAndFeelMethods.
|
overridevirtual |
Override this method to set effects, such as a drop-shadow, on a BubbleComponent.
This will be called whenever a BubbleComponent is constructed or its look-and-feel changes.
If you need to trigger this callback to update an effect, call sendLookAndFeelChange() on the component.
Implements juce::BubbleComponent::LookAndFeelMethods.
|
overridevirtual |
Fills the background of a popup menu component.
Reimplemented from juce::PopupMenu::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3.
|
overridevirtual |
Fills the background of a popup menu component.
Implements juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Draws one of the items in a popup menu.
Reimplemented from juce::PopupMenu::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Draws one of the items in a popup menu.
Implements juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Reimplemented from juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Implements juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Returns the size and style of font to use in popup menus.
Implements juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Reimplemented from juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Implements juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Finds the best size for an item in a popup menu.
Reimplemented from juce::PopupMenu::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Finds the best size for an item in a popup menu.
Implements juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Implements juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Implements juce::PopupMenu::LookAndFeelMethods.
Implements juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Implements juce::PopupMenu::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4, and juce::LookAndFeel_V3.
|
overridevirtual |
Implements juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Implements juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Implements juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Implements juce::PopupMenu::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Return true if you want your popup menus to scale with the target component's AffineTransform or scale factor.
Implements juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Reimplemented from juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Implements juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Implement this to draw some custom decoration between the columns of the popup menu.
getPopupMenuColumnSeparatorWidthWithOptions must return a positive value in order to display the separator.
Implements juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Return the amount of space that should be left between popup menu columns.
Implements juce::PopupMenu::LookAndFeelMethods.
|
overridevirtual |
Implements juce::ComboBox::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4, and juce::LookAndFeel_V3.
Implements juce::ComboBox::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
Implements juce::ComboBox::LookAndFeelMethods.
Implements juce::ComboBox::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::ComboBox::LookAndFeelMethods.
|
overridevirtual |
Implements juce::ComboBox::LookAndFeelMethods.
Implements juce::Label::LookAndFeelMethods.
Implements juce::Label::LookAndFeelMethods.
|
overridevirtual |
Implements juce::Label::LookAndFeelMethods.
|
overridevirtual |
Implements juce::Slider::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3, and juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::Slider::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3.
|
overridevirtual |
Implements juce::Slider::LookAndFeelMethods.
|
overridevirtual |
Implements juce::Slider::LookAndFeelMethods.
|
overridevirtual |
Implements juce::Slider::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
Implements juce::Slider::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
Implements juce::Slider::LookAndFeelMethods.
Implements juce::Slider::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::Slider::LookAndFeelMethods.
Implements juce::Slider::LookAndFeelMethods.
Implements juce::Slider::LookAndFeelMethods.
|
overridevirtual |
Implements juce::Slider::LookAndFeelMethods.
|
overridevirtual |
returns the bounds for a tooltip at the given screen coordinate, constrained within the given desktop area.
Implements juce::TooltipWindow::LookAndFeelMethods.
|
overridevirtual |
Implements juce::TooltipWindow::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::FilenameComponent::LookAndFeelMethods.
|
overridevirtual |
Implements juce::FilenameComponent::LookAndFeelMethods.
|
overridevirtual |
Implements juce::ConcertinaPanel::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3, and juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::ResizableWindow::LookAndFeelMethods.
|
overridevirtual |
Implements juce::ResizableWindow::LookAndFeelMethods.
|
overridevirtual |
Implements juce::ResizableWindow::LookAndFeelMethods.
|
overridevirtual |
Implements juce::ResizableWindow::LookAndFeelMethods.
|
overridevirtual |
Implements juce::DocumentWindow::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
Implements juce::DocumentWindow::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3, and juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::DocumentWindow::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Creates a drop-shadower for a given component, if required.
Implements juce::LookAndFeel.
|
overridevirtual |
Creates a focus outline for a given component, if required.
Implements juce::LookAndFeel.
|
overridevirtual |
Implements juce::StretchableLayoutResizerBar::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3, and juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::GroupComponent::LookAndFeelMethods.
|
overridevirtual |
Implements juce::TabbedButtonBar::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3.
Implements juce::TabbedButtonBar::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3.
|
overridevirtual |
Implements juce::TabbedButtonBar::LookAndFeelMethods.
|
overridevirtual |
Implements juce::TabbedButtonBar::LookAndFeelMethods.
|
overridevirtual |
Implements juce::TabbedButtonBar::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3.
|
overridevirtual |
Implements juce::TabbedButtonBar::LookAndFeelMethods.
|
overridevirtual |
Implements juce::TabbedButtonBar::LookAndFeelMethods.
|
overridevirtual |
Implements juce::TabbedButtonBar::LookAndFeelMethods.
|
overridevirtual |
Implements juce::TabbedButtonBar::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3.
|
overridevirtual |
Implements juce::TabbedButtonBar::LookAndFeelMethods.
|
overridevirtual |
Implements juce::TabbedButtonBar::LookAndFeelMethods.
|
overridevirtual |
Implements juce::TabbedButtonBar::LookAndFeelMethods.
|
overridevirtual |
Implements juce::ImageButton::LookAndFeelMethods.
|
overridevirtual |
Implements juce::TableHeaderComponent::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V3.
|
overridevirtual |
Implements juce::TableHeaderComponent::LookAndFeelMethods.
|
overridevirtual |
Implements juce::Toolbar::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
Implements juce::Toolbar::LookAndFeelMethods.
|
overridevirtual |
Implements juce::Toolbar::LookAndFeelMethods.
|
overridevirtual |
Implements juce::Toolbar::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::PropertyComponent::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::PropertyComponent::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::PropertyComponent::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::PropertyComponent::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::PropertyComponent::LookAndFeelMethods.
|
overridevirtual |
Implements juce::CallOutBox::LookAndFeelMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::CallOutBox::LookAndFeelMethods.
|
overridevirtual |
Implements juce::CallOutBox::LookAndFeelMethods.
|
overridevirtual |
Implements juce::ExtraLookAndFeelBaseClasses::AudioDeviceSelectorComponentMethods.
Reimplemented in juce::LookAndFeel_V4.
|
overridevirtual |
Implements juce::ExtraLookAndFeelBaseClasses::KeyMappingEditorComponentMethods.
Reimplemented in juce::LookAndFeel_V3.
Implements juce::SidePanel::LookAndFeelMethods.
|
overridevirtual |
Implements juce::SidePanel::LookAndFeelMethods.
Implements juce::SidePanel::LookAndFeelMethods.
|
static |
Draws a 3D raised (or indented) bevel using two colours.
The bevel is drawn inside the given rectangle, and greater bevel thicknesses extend inwards.
The top-left colour is used for the top- and left-hand edges of the bevel; the bottom-right colour is used for the bottom- and right-hand edges.
If useGradient is true, then the bevel fades out to make it look more curved and less angular. If sharpEdgeOnOutside is true, the outside of the bevel is sharp, and it fades towards the centre; if sharpEdgeOnOutside is false, then the centre edges are sharp and it fades towards the outside.
|
staticnoexcept |
Utility function to draw a shiny, glassy circle (for round LED-type buttons).
|
staticnoexcept |
|
staticnoexcept |
Utility function to draw a shiny, glassy oblong (for text buttons).