|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
The latest JUCE look-and-feel style, as introduced in 2017. More...
#include "juce_LookAndFeel_V4.h"
Classes | |
| class | ColourScheme |
| A struct containing the set of colours to apply to the GUI. More... | |
Static Public Member Functions | |
| static ColourScheme | getDarkColourScheme () |
| static ColourScheme | getMidnightColourScheme () |
| static ColourScheme | getGreyColourScheme () |
| static ColourScheme | getLightColourScheme () |
Static Public Member Functions inherited from juce::LookAndFeel_V3 | |
| static void | createTabTextLayout (const TabBarButton &button, float length, float depth, Colour colour, TextLayout &) |
Static Public Member Functions inherited from juce::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 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. | |
The latest JUCE look-and-feel style, as introduced in 2017.
@tags{GUI}
Definition at line 36 of file juce_LookAndFeel_V4.h.
| juce::LookAndFeel_V4::LookAndFeel_V4 | ( | ) |
Creates a LookAndFeel_V4 object with a default colour scheme.
Definition at line 61 of file juce_LookAndFeel_V4.cpp.
| juce::LookAndFeel_V4::LookAndFeel_V4 | ( | ColourScheme | scheme | ) |
Creates a LookAndFeel_V4 object with a given colour scheme.
Definition at line 66 of file juce_LookAndFeel_V4.cpp.
|
override |
Destructor.
Definition at line 71 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 373 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 384 of file juce_LookAndFeel_V4.cpp.
Reimplemented from juce::LookAndFeel_V3.
Definition at line 153 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 713 of file juce_LookAndFeel_V4.cpp.
Reimplemented from juce::LookAndFeel_V2.
Definition at line 1131 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 405 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V3.
Definition at line 281 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 1300 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V3.
Definition at line 920 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V3.
Definition at line 1161 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 226 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 759 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 1179 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V3.
Definition at line 963 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V3.
Definition at line 880 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 895 of file juce_LookAndFeel_V4.cpp.
|
noexcept |
Definition at line 1114 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Draws one of the items in a popup menu.
Reimplemented from juce::LookAndFeel_V2.
Definition at line 772 of file juce_LookAndFeel_V4.cpp.
|
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).
Reimplemented from juce::LookAndFeel_V2.
Definition at line 484 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 1266 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 1272 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 1249 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 1064 of file juce_LookAndFeel_V4.cpp.
|
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 |
Reimplemented from juce::LookAndFeel_V3.
Definition at line 634 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V3.
Definition at line 1322 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V3.
Definition at line 692 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 353 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Draws the contents of a standard ToggleButton.
Reimplemented from juce::LookAndFeel_V2.
Definition at line 328 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 1145 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 676 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 478 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 481 of file juce_LookAndFeel_V4.cpp.
|
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.
Reimplemented from juce::LookAndFeel_V2.
Definition at line 480 of file juce_LookAndFeel_V4.cpp.
|
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.
Reimplemented from juce::LookAndFeel_V2.
Definition at line 479 of file juce_LookAndFeel_V4.cpp.
Reimplemented from juce::LookAndFeel_V2.
Definition at line 942 of file juce_LookAndFeel_V4.cpp.
Returns a cross shape for use in yes/no boxes, etc.
Reimplemented from juce::LookAndFeel_V3.
Definition at line 662 of file juce_LookAndFeel_V4.cpp.
|
noexcept |
Definition at line 101 of file juce_LookAndFeel_V4.h.
|
static |
Definition at line 80 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Returns the default style a progress bar should use if one hasn't been set.
Reimplemented from juce::LookAndFeel_V2.
Definition at line 500 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Returns the default thickness to use for a scrollbar.
Reimplemented from juce::LookAndFeel_V2.
Definition at line 629 of file juce_LookAndFeel_V4.cpp.
|
static |
Definition at line 94 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Finds the best size for an item in a popup menu.
Reimplemented from juce::LookAndFeel_V2.
Definition at line 860 of file juce_LookAndFeel_V4.cpp.
|
static |
Definition at line 101 of file juce_LookAndFeel_V4.cpp.
|
static |
Definition at line 87 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 1293 of file juce_LookAndFeel_V4.cpp.
Reimplemented from juce::LookAndFeel_V2.
Definition at line 957 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 276 of file juce_LookAndFeel_V4.cpp.
Returns a tick shape for use in yes/no boxes, etc.
Reimplemented from juce::LookAndFeel_V3.
Definition at line 650 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 144 of file juce_LookAndFeel_V4.h.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 729 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 1218 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 1230 of file juce_LookAndFeel_V4.cpp.
Reimplemented from juce::LookAndFeel_V2.
Definition at line 947 of file juce_LookAndFeel_V4.cpp.
|
overridevirtual |
Reimplemented from juce::LookAndFeel_V2.
Definition at line 194 of file juce_LookAndFeel_V4.cpp.
| void juce::LookAndFeel_V4::setColourScheme | ( | ColourScheme | newColourScheme | ) |
Definition at line 74 of file juce_LookAndFeel_V4.cpp.