Gin
Public Types | Public Member Functions | List of all members
GinLookAndFeel Class Reference

The GinLookAndFeel. More...

Inheritance diagram for GinLookAndFeel:

Public Types

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
}
 

Public Member Functions

 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
 

Detailed Description

The GinLookAndFeel.

Black background with while text and controls. Very minimalist.

Member Enumeration Documentation

◆ ColourIds

Enumerator
whiteColourId 
blackColourId 
displayColourId 
backgroundColourId 
groupColourId 
lightGroupColourId 
grey30ColourId 
grey45ColourId 
grey60ColourId 
grey90ColourId 
glass1ColourId 
glass2ColourId 
matte1ColourId 
matte2ColourId 
title1ColourId 
title2ColourId 
accentColourId 
colourId1 
colourId2 
colourId3 
colourId4 
colourId5 

Constructor & Destructor Documentation

◆ GinLookAndFeel()

GinLookAndFeel::GinLookAndFeel ( )

Member Function Documentation

◆ 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: