61 template <
typename... ItemColours>
64 static_assert (
sizeof... (coloursToUse) ==
numColours,
"Must supply one colour for each UIColour item");
103 static ColourScheme getDarkColourScheme();
104 static ColourScheme getMidnightColourScheme();
105 static ColourScheme getGreyColourScheme();
106 static ColourScheme getLightColourScheme();
109 Button* createDocumentWindowButton (
int)
override;
117 bool shouldDrawButtonAsHighlighted,
bool shouldDrawButtonAsDown)
override;
120 bool shouldDrawButtonAsHighlighted,
bool shouldDrawButtonAsDown)
override;
122 float x,
float y,
float w,
float h,
123 bool ticked,
bool isEnabled,
124 bool shouldDrawButtonAsHighlighted,
bool shouldDrawButtonAsDown)
override;
126 void changeToggleButtonWidthToFitText (
ToggleButton&)
override;
134 int numButtons,
Component* associatedComponent)
override;
137 int getAlertWindowButtonHeight()
override;
138 Font getAlertWindowTitleFont()
override;
139 Font getAlertWindowMessageFont()
override;
140 Font getAlertWindowFont()
override;
147 int getDefaultScrollbarWidth()
override;
149 int thumbStartPosition,
int thumbSize,
bool isMouseOver,
bool isMouseDown)
override;
160 Button* createFileBrowserGoUpButton()
override;
167 Button* goUpButton)
override;
171 const String& fileSizeDescription,
const String& fileTimeDescription,
172 bool isDirectory,
bool isItemSelected,
int itemIndex,
177 bool isSeparator,
bool isActive,
bool isHighlighted,
bool isTicked,
bool hasSubMenu,
181 void getIdealPopupMenuItemSize (
const String&
text,
bool isSeparator,
int standardMenuItemHeight,
182 int& idealWidth,
int& idealHeight)
override;
187 int itemIndex,
const String& itemText,
188 bool isMouseOverItem,
bool isMenuOpen,
bool isMouseOverBar,
193 int buttonX,
int buttonY,
int buttonW,
int buttonH,
199 int getSliderThumbRadius (
Slider&)
override;
202 float sliderPos,
float minSliderPos,
float maxSliderPos,
206 float sliderPosProportional,
float rotaryStartAngle,
207 float rotaryEndAngle,
Slider&)
override;
209 void drawPointer (
Graphics&,
float x,
float y,
float diameter,
210 const Colour&,
int direction)
noexcept;
219 bool isMouseOver,
bool isMouseDown,
223 void drawLevelMeter (
Graphics&,
int,
int,
float)
override;
241 void drawStretchableLayoutResizerBar (
Graphics&,
int,
int,
bool,
bool,
bool)
override;
251 void initialiseColours();
#define noexcept
Definition DistrhoDefines.h:72
static void message(int level, const char *fmt,...)
Definition adplugdb.cpp:120
Definition juce_AlertWindow.h:45
Definition juce_CallOutBox.h:61
Definition juce_Colour.h:38
Definition juce_ComboBox.h:49
Definition juce_Component.h:36
Definition juce_ConcertinaPanel.h:40
Definition juce_DirectoryContentsDisplayComponent.h:38
Definition juce_DocumentWindow.h:55
Definition juce_Drawable.h:38
Definition juce_FileBrowserComponent.h:45
Definition juce_File.h:45
Definition juce_FilePreviewComponent.h:44
Definition juce_Font.h:42
Definition juce_GraphicsContext.h:45
Definition juce_Image.h:58
Definition juce_Label.h:41
LookAndFeel_V3()
Definition juce_LookAndFeel_V3.cpp:29
Definition juce_LookAndFeel_V4.h:43
ColourScheme(ItemColours... coloursToUse)
Definition juce_LookAndFeel_V4.h:62
Colour getUIColour(UIColour colourToGet) const noexcept
Definition juce_LookAndFeel_V4.cpp:29
UIColour
Definition juce_LookAndFeel_V4.h:47
@ defaultText
Definition juce_LookAndFeel_V4.h:52
@ highlightedText
Definition juce_LookAndFeel_V4.h:54
@ numColours
Definition juce_LookAndFeel_V4.h:58
@ outline
Definition juce_LookAndFeel_V4.h:51
@ widgetBackground
Definition juce_LookAndFeel_V4.h:49
@ highlightedFill
Definition juce_LookAndFeel_V4.h:55
@ windowBackground
Definition juce_LookAndFeel_V4.h:48
@ defaultFill
Definition juce_LookAndFeel_V4.h:53
@ menuBackground
Definition juce_LookAndFeel_V4.h:50
@ menuText
Definition juce_LookAndFeel_V4.h:56
ColourScheme(const ColourScheme &)=default
Colour palette[numColours]
Definition juce_LookAndFeel_V4.h:86
void setUIColour(UIColour colourToSet, Colour newColour) noexcept
Definition juce_LookAndFeel_V4.cpp:38
ColourScheme currentColourScheme
Definition juce_LookAndFeel_V4.h:252
bool isProgressBarOpaque(ProgressBar &) override
Definition juce_LookAndFeel_V4.h:144
void setColourScheme(ColourScheme)
Definition juce_LookAndFeel_V4.cpp:74
ColourScheme & getCurrentColourScheme() noexcept
Definition juce_LookAndFeel_V4.h:101
LookAndFeel_V4()
Definition juce_LookAndFeel_V4.cpp:61
Definition juce_Path.h:65
Definition juce_ProgressBar.h:51
Definition juce_PropertyComponent.h:49
Definition juce_Rectangle.h:67
Definition juce_Slider.h:54
SliderStyle
Definition juce_Slider.h:62
Definition juce_String.h:53
Definition juce_TextButton.h:39
Definition juce_TextEditor.h:43
Definition juce_TextLayout.h:41
UINT_D64 w
Definition inflate.c:942
int y
Definition inflate.c:1588
register unsigned i
Definition inflate.c:1575
unsigned x[BMAX+1]
Definition inflate.c:1586
static char filename[]
Definition features.c:5
static const char * title
Definition pugl.h:1747
static const char * name
Definition pugl.h:1582
static int int height
Definition pugl.h:1594
static int width
Definition pugl.h:1593
#define JUCE_API
Definition juce_StandardHeader.h:152
Definition carla_juce.cpp:31
MessageBoxIconType
Definition juce_MessageBoxOptions.h:31
const char * text
Definition swell-functions.h:167
return c
Definition crypt.c:175
uch h[RAND_HEAD_LEN]
Definition crypt.c:459
struct zdirent * file
Definition win32.c:1500