//==============================================================================
// GUI Look and Feel functions
void SignalProcessorAudioProcessorEditor::setupSquareLookAndFeelColours (LookAndFeel& laf)
{
    const Colour baseColour (Colours::red);
    
    laf.setColour (Slider::thumbColourId, Colour::greyLevel (0.95f));
    laf.setColour (Slider::textBoxOutlineColourId, Colours::transparentWhite);
    laf.setColour (Slider::rotarySliderFillColourId, baseColour);
    laf.setColour (Slider::rotarySliderOutlineColourId, Colours::white);
    laf.setColour (Slider::trackColourId, Colours::white);
    laf.setColour (Slider::textBoxTextColourId, Colours::white);
    
    laf.setColour (TextButton::buttonColourId, Colours::white);
    laf.setColour (TextButton::textColourOffId, baseColour);
    laf.setColour (TextButton::buttonOnColourId, laf.findColour (TextButton::textColourOffId));
    laf.setColour (TextButton::textColourOnId, laf.findColour (TextButton::buttonColourId));
    laf.setColour (ToggleButton::textColourId, Colours::white);
    
    laf.setColour (Label::textColourId, Colours::white);
    
    laf.setColour (ComboBox::textColourId, Colours::white);
    laf.setColour (ComboBox::backgroundColourId, baseColour);
    laf.setColour (ComboBox::buttonColourId, Colours::black);
    laf.setColour (ComboBox::outlineColourId, Colours::transparentWhite);
    
    laf.setColour(TooltipWindow::textColourId, Colours::black);
    laf.setColour(TooltipWindow::backgroundColourId, Colour::fromRGB(192, 0, 0));

}
Esempio n. 2
0
    void setupCustomLookAndFeelColours (LookAndFeel& laf)
    {
        laf.setColour (Slider::thumbColourId, Colour::greyLevel (0.95f));
        laf.setColour (Slider::textBoxOutlineColourId, Colours::transparentWhite);
        laf.setColour (Slider::rotarySliderFillColourId, Colour (0xff00b5f6));
        laf.setColour (Slider::rotarySliderOutlineColourId, Colours::white);

        laf.setColour (TextButton::buttonColourId, Colours::white);
        laf.setColour (TextButton::textColourOffId, Colour (0xff00b5f6));

        laf.setColour (TextButton::buttonOnColourId, laf.findColour (TextButton::textColourOffId));
        laf.setColour (TextButton::textColourOnId, laf.findColour (TextButton::buttonColourId));
    }
Esempio n. 3
0
    void setupSquareLookAndFeelColours (LookAndFeel& laf)
    {
        const Colour baseColour (Colours::red);
        laf.setColour (Slider::thumbColourId, Colour::greyLevel (0.95f));
        laf.setColour (Slider::textBoxOutlineColourId, Colours::transparentWhite);
        laf.setColour (Slider::rotarySliderFillColourId, baseColour);
        laf.setColour (Slider::rotarySliderOutlineColourId, Colours::white);
        laf.setColour (Slider::trackColourId, Colours::black);

        laf.setColour (TextButton::buttonColourId, Colours::white);
        laf.setColour (TextButton::textColourOffId, baseColour);

        laf.setColour (TextButton::buttonOnColourId, laf.findColour (TextButton::textColourOffId));
        laf.setColour (TextButton::textColourOnId, laf.findColour (TextButton::buttonColourId));
    }
Esempio n. 4
0
void AppearanceSettings::applyToLookAndFeel (LookAndFeel& lf) const
{
    for (int i = 0; i < AppearanceColours::numColours; ++i)
    {
        Colour col;
        if (getColour (AppearanceColours::colours[i].name, col))
        {
            if (AppearanceColours::colours[i].mustBeOpaque)
                col = Colours::white.overlaidWith (col);

            if (! AppearanceColours::colours[i].applyToEditorOnly)
                lf.setColour (AppearanceColours::colours[i].colourID, col);
        }
    }

    lf.setColour (ScrollBar::thumbColourId, lf.findColour (mainBackgroundColourId).contrasting().withAlpha (0.13f));
}
Esempio n. 5
0
void AppearanceSettings::applyToLookAndFeel (LookAndFeel& lf) const
{
    for (int i = 0; i < AppearanceColours::numColours; ++i)
    {
        Colour col;
        if (getColour (AppearanceColours::colours[i].name, col))
        {
            if (AppearanceColours::colours[i].mustBeOpaque)
                col = Colours::white.overlaidWith (col);

            if (! AppearanceColours::colours[i].applyToEditorOnly)
                lf.setColour (AppearanceColours::colours[i].colourID, col);
        }
    }

    lf.setColour (ScrollBar::thumbColourId,
                  IntrojucerLookAndFeel::getScrollbarColourForBackground (lf.findColour (mainBackgroundColourId)));
}
Esempio n. 6
0
void setupCustomLookAndFeelColours (LookAndFeel& laf)
{
	//laf.setColour (Slider::thumbColourId, Colour::greyLevel (0.95f));
	laf.setColour (Slider::textBoxOutlineColourId, Colours::black);
	laf.setColour(Slider::textBoxBackgroundColourId,Colour((0x00ffb5f6)));
	laf.setColour (Slider::rotarySliderFillColourId, Colours::darkorange);
	//laf.setColour (Slider::rotarySliderOutlineColourId, Colours::white);
    laf.setColour(Slider::thumbColourId, Colours::brown);

	laf.setColour (TextButton::buttonColourId, Colours::white);
    laf.setColour(TextButton::buttonOnColourId, laf.findColour(TextButton::textColourOffId));
    //laf.setColour (TextButton::textColourOnId, laf.findColour (TextButton::buttonColourId));
	//laf.setColour (TextButton::textColourOffId, Colour (0xff00b5f6));

    laf.setColour(GroupComponent::textColourId, Colour(0xff000000));

    //laf.setColour(Label::backgroundColourId, Colour(0x33ffffff));
};