Minimalist dark look and feel with black background and white controls.
More...
#include <gin_ginlookandfeel.h>
|
| enum | ColourIds {
whiteColourId = 0x1500000
, blackColourId = 0x1500001
, displayColourId = 0x1500002
, backgroundColourId = 0x1500003
,
groupColourId = 0x1500004
, lightGroupColourId = 0x1500005
, grey30ColourId = 0x1500006
, grey45ColourId = 0x1500007
,
grey60ColourId = 0x1500008
, grey90ColourId = 0x1500009
, glass1ColourId = 0x150000a
, glass2ColourId = 0x150000b
,
matte1ColourId = 0x150000c
, matte2ColourId = 0x150000d
, title1ColourId = 0x150000e
, title2ColourId = 0x150000f
,
accentColourId = 0x1500010
, colourId1 = 0x8700001
, colourId2 = 0x8700002
, colourId3 = 0x8700003
,
colourId4 = 0x8700004
, colourId5 = 0x8700005
} |
|
| | GinLookAndFeel () |
| juce::Colour | defaultColour (int idx) |
| void | drawRotarySlider (juce::Graphics &, int x, int y, int width, int height, float sliderPosProportional, float rotaryStartAngle, float rotaryEndAngle, juce::Slider &) override |
| void | drawLinearSlider (juce::Graphics &, int x, int y, int width, int height, float sliderPos, float minSliderPos, float maxSliderPos, const juce::Slider::SliderStyle, juce::Slider &) override |
| void | drawButtonBackground (juce::Graphics &, juce::Button &, const juce::Colour &backgroundColour, bool isMouseOverButton, bool isButtonDown) override |
| void | drawButtonText (juce::Graphics &, juce::TextButton &, bool isMouseOverButton, bool isButtonDown) override |
| void | drawComboBox (juce::Graphics &, int width, int height, bool isButtonDown, int buttonX, int buttonY, int buttonW, int buttonH, juce::ComboBox &) override |
| void | positionComboBoxText (juce::ComboBox &, juce::Label &) override |
| void | drawTextEditorOutline (juce::Graphics &, int width, int height, juce::TextEditor &) override |
| int | getAlertWindowButtonHeight () override |
| void | drawCornerResizer (juce::Graphics &g, int w, int h, bool, bool) override |
Minimalist dark look and feel with black background and white controls.
GinLookAndFeel provides a clean, modern dark theme optimized for audio applications and development tools. It features a dark background with white/gray controls and text for reduced eye strain and professional appearance.
Key Features:
- Dark theme (black background, white text)
- Minimalist, flat design
- Customizable color palette via ColourIds
- Custom drawing for sliders, buttons, combo boxes
- Glass and matte gradient options
- Accent color support
The look and feel can be customized by setting various ColourIds either globally via LookAndFeel::setColour() or per-component via Component::setColour().
Usage:
LookAndFeel::setDefaultLookAndFeel(&laf);
@ accentColourId
Definition gin_ginlookandfeel.h:61
@ backgroundColourId
Definition gin_ginlookandfeel.h:48
- See also
- juce::LookAndFeel_V4
◆ ColourIds
| Enumerator |
|---|
| whiteColourId | |
| blackColourId | |
| displayColourId | |
| backgroundColourId | |
| groupColourId | |
| lightGroupColourId | |
| grey30ColourId | |
| grey45ColourId | |
| grey60ColourId | |
| grey90ColourId | |
| glass1ColourId | |
| glass2ColourId | |
| matte1ColourId | |
| matte2ColourId | |
| title1ColourId | |
| title2ColourId | |
| accentColourId | |
| colourId1 | |
| colourId2 | |
| colourId3 | |
| colourId4 | |
| colourId5 | |
◆ GinLookAndFeel()
| GinLookAndFeel::GinLookAndFeel |
( |
| ) |
|
◆ defaultColour()
| juce::Colour GinLookAndFeel::defaultColour |
( |
int | idx | ) |
|
◆ drawRotarySlider()
| void GinLookAndFeel::drawRotarySlider |
( |
juce::Graphics & | , |
|
|
int | x, |
|
|
int | y, |
|
|
int | width, |
|
|
int | height, |
|
|
float | sliderPosProportional, |
|
|
float | rotaryStartAngle, |
|
|
float | rotaryEndAngle, |
|
|
juce::Slider & | ) |
|
override |
◆ drawLinearSlider()
| void GinLookAndFeel::drawLinearSlider |
( |
juce::Graphics & | , |
|
|
int | x, |
|
|
int | y, |
|
|
int | width, |
|
|
int | height, |
|
|
float | sliderPos, |
|
|
float | minSliderPos, |
|
|
float | maxSliderPos, |
|
|
const juce::Slider::SliderStyle | , |
|
|
juce::Slider & | ) |
|
override |
◆ drawButtonBackground()
| void GinLookAndFeel::drawButtonBackground |
( |
juce::Graphics & | , |
|
|
juce::Button & | , |
|
|
const juce::Colour & | backgroundColour, |
|
|
bool | isMouseOverButton, |
|
|
bool | isButtonDown ) |
|
override |
◆ drawButtonText()
| void GinLookAndFeel::drawButtonText |
( |
juce::Graphics & | , |
|
|
juce::TextButton & | , |
|
|
bool | isMouseOverButton, |
|
|
bool | isButtonDown ) |
|
override |
◆ drawComboBox()
| void GinLookAndFeel::drawComboBox |
( |
juce::Graphics & | , |
|
|
int | width, |
|
|
int | height, |
|
|
bool | isButtonDown, |
|
|
int | buttonX, |
|
|
int | buttonY, |
|
|
int | buttonW, |
|
|
int | buttonH, |
|
|
juce::ComboBox & | ) |
|
override |
◆ positionComboBoxText()
| void GinLookAndFeel::positionComboBoxText |
( |
juce::ComboBox & | , |
|
|
juce::Label & | ) |
|
override |
◆ drawTextEditorOutline()
| void GinLookAndFeel::drawTextEditorOutline |
( |
juce::Graphics & | , |
|
|
int | width, |
|
|
int | height, |
|
|
juce::TextEditor & | ) |
|
override |
◆ getAlertWindowButtonHeight()
| int GinLookAndFeel::getAlertWindowButtonHeight |
( |
| ) |
|
|
override |
◆ drawCornerResizer()
| void GinLookAndFeel::drawCornerResizer |
( |
juce::Graphics & | g, |
|
|
int | w, |
|
|
int | h, |
|
|
bool | , |
|
|
bool | ) |
|
override |
The documentation for this class was generated from the following file: