75 void drawRotarySlider(Graphics& g,
int x,
int y,
int width,
int height,
float sliderPos,
float rotaryStartAngle,
76 float rotaryEndAngle, juce::Slider& slider)
override;
89 bool ,
bool )
override
93 void drawButtonText(Graphics&, TextButton&,
bool shouldDrawButtonAsHighlighted,
94 bool shouldDrawButtonAsDown)
override;
126 const juce::Rectangle<float>
enclosingSquare{juce::Rectangle<float>(0.f, 0.f, 86.f, 86.f)};
129 const juce::Rectangle<float>
textRectangle{juce::Rectangle<float>(0.f, 81.f, 86.f, 15.f)};
132 const juce::Point<float>
arcCenter{juce::Point<float>(43.f, 43.f)};
133 const juce::Point<float>
thumbEnd{juce::Point<float>(0.f, -37.5f)};
134 const juce::Point<float>
thumbStart{juce::Point<float>(0.f, -17.5f)};
155 const uint32 windowBackground = juce::Colour(48, 63, 70).getARGB();
156 const uint32 widgetBackground = juce::Colour(31, 41, 46).getARGB();
157 const uint32 menuBackground = juce::Colour(48, 63, 70).getARGB();
158 const uint32 outline = juce::Colour(42, 55, 61).getARGB();
159 const uint32 defaultText = juce::Colour(255, 255, 255).getARGB();
160 const uint32 defaultFill = juce::Colour(71, 96, 107).getARGB();
161 const uint32 highlightedText = juce::Colour(255, 255, 255).getARGB();
162 const uint32 highlightedFill = juce::Colour(255, 255, 0).getARGB();
163 const uint32 menuText = juce::Colour(255, 255, 255).getARGB();
165 return {windowBackground, widgetBackground, menuBackground, outline, defaultText,
166 defaultFill, highlightedText, highlightedFill, menuText};
Definition Krotos_LookAndFeel.h:12
struct krotos::Krotos_LookAndFeel::Layout layout
ColourScheme getKrotosDefaultColourScheme()
Definition Krotos_LookAndFeel.h:153
void drawRotarySlider(Graphics &g, int x, int y, int width, int height, float sliderPos, float rotaryStartAngle, float rotaryEndAngle, juce::Slider &slider) override
Definition Krotos_LookAndFeel.cpp:88
Krotos_LookAndFeel()
Definition Krotos_LookAndFeel.cpp:14
Definition AirAbsorptionFilter.cpp:2
Definition Krotos_LookAndFeel.h:103
const juce::Rectangle< float > enclosingSquareTrack
Definition Krotos_LookAndFeel.h:127
const float endRadians
Definition Krotos_LookAndFeel.h:113
const float thumbWidth
Definition Krotos_LookAndFeel.h:120
const float trackAlphaOuterDefault
Definition Krotos_LookAndFeel.h:143
const juce::Point< float > thumbStart
Definition Krotos_LookAndFeel.h:134
const juce::Rectangle< float > enclosingSquare
Definition Krotos_LookAndFeel.h:126
const float enabledAlphaEnabled
Definition Krotos_LookAndFeel.h:145
const int maxTextLines
Definition Krotos_LookAndFeel.h:121
const Colour textColour
Definition Krotos_LookAndFeel.h:140
const float sliderValueMax
Definition Krotos_LookAndFeel.h:119
const juce::Rectangle< float > textRectangle
Definition Krotos_LookAndFeel.h:129
const Colour trackColourOuter
Definition Krotos_LookAndFeel.h:138
const float trackAlphaOuterClicked
Definition Krotos_LookAndFeel.h:144
const float enabledAlphaDisabled
Definition Krotos_LookAndFeel.h:146
const juce::Rectangle< float > enclosingRectangle
Definition Krotos_LookAndFeel.h:128
const Colour trackColourInner
Definition Krotos_LookAndFeel.h:137
const float KerningFactor
Definition Krotos_LookAndFeel.h:123
const juce::Point< float > arcCenter
Definition Krotos_LookAndFeel.h:132
const Colour thumbColour
Definition Krotos_LookAndFeel.h:139
const float trackArcInnerProportion
Definition Krotos_LookAndFeel.h:117
const float mouseOverAlphaDefault
Definition Krotos_LookAndFeel.h:148
const float sliderValueMin
Definition Krotos_LookAndFeel.h:118
const juce::Point< float > thumbEnd
Definition Krotos_LookAndFeel.h:133
const float outlineArcInnerProportion
Definition Krotos_LookAndFeel.h:116
const float startRadians
Definition Krotos_LookAndFeel.h:112
const int numDecimalPlaces
Definition Krotos_LookAndFeel.h:122
const float mouseOverAlphaOver
Definition Krotos_LookAndFeel.h:149
Definition Krotos_LookAndFeel.h:22
static const Identifier AlertHeightID
Definition Krotos_LookAndFeel.h:24
static const Identifier AlertWidthID
Definition Krotos_LookAndFeel.h:23
Definition Krotos_LookAndFeel.h:29
static const Identifier RoundedCornerID
Specify which corners to round on a component.
Definition Krotos_LookAndFeel.h:38
RoundedCorner
Definition Krotos_LookAndFeel.h:40
@ BottomRight
Definition Krotos_LookAndFeel.h:46
@ Top
Definition Krotos_LookAndFeel.h:42
@ TopRight
Definition Krotos_LookAndFeel.h:44
@ All
Definition Krotos_LookAndFeel.h:47
@ BottomLeft
Definition Krotos_LookAndFeel.h:45
@ Bottom
Definition Krotos_LookAndFeel.h:41
@ None
Definition Krotos_LookAndFeel.h:48
@ TopLeft
Definition Krotos_LookAndFeel.h:43
static const Identifier IconPositionID
Where to place the icon. This determines how the text is offset.
Definition Krotos_LookAndFeel.h:58
static const Identifier UseCustomIcon
Hide the default dropdown arrow icon, leaving an empty spot to draw a custom icon.
Definition Krotos_LookAndFeel.h:54
static const Identifier DisableHover
Disable Mouse Hover affecting drawing over buttons, etc.
Definition Krotos_LookAndFeel.h:33
static const Identifier FontSize
The size of the font in the ComboBox label.
Definition Krotos_LookAndFeel.h:68
IconPosition
Definition Krotos_LookAndFeel.h:60
@ Right
Definition Krotos_LookAndFeel.h:61
@ NoIcon
Definition Krotos_LookAndFeel.h:63
@ Left
Definition Krotos_LookAndFeel.h:62
Definition Krotos_LookAndFeel.h:20