Krotos Modules 3
Loading...
Searching...
No Matches
krotos::Krotos_LookAndFeel::Layout Struct Reference

#include <Krotos_LookAndFeel.h>

Public Attributes

const float startRadians {3.92699075f}
 
const float endRadians {8.63937950f}
 
const float outlineArcInnerProportion {82.f / 86.f}
 
const float trackArcInnerProportion {71.f / 77.f}
 
const float sliderValueMin {0.f}
 
const float sliderValueMax {1.f}
 
const float thumbWidth {2.f}
 
const int maxTextLines {1}
 
const int numDecimalPlaces {2}
 
const float KerningFactor {0.02f}
 
const juce::Rectangle< float > enclosingSquare {juce::Rectangle<float>(0.f, 0.f, 86.f, 86.f)}
 
const juce::Rectangle< float > enclosingSquareTrack {juce::Rectangle<float>(4.5f, 4.5f, 77.f, 77.f)}
 
const juce::Rectangle< float > enclosingRectangle {juce::Rectangle<float>(0.f, 0.f, 86.f, 96.f)}
 
const juce::Rectangle< float > textRectangle {juce::Rectangle<float>(0.f, 81.f, 86.f, 15.f)}
 
const juce::Point< float > arcCenter {juce::Point<float>(43.f, 43.f)}
 
const juce::Point< float > thumbEnd {juce::Point<float>(0.f, -37.5f)}
 
const juce::Point< float > thumbStart {juce::Point<float>(0.f, -17.5f)}
 
const Colour trackColourInner {0xff37C9DB}
 
const Colour trackColourOuter {0xffffffff}
 
const Colour thumbColour {0xffffffff}
 
const Colour textColour {0xffb2b2b2}
 
const float trackAlphaOuterDefault {0.2f}
 
const float trackAlphaOuterClicked {0.3f}
 
const float enabledAlphaEnabled {1.f}
 
const float enabledAlphaDisabled
 
const float mouseOverAlphaDefault {0.15f}
 
const float mouseOverAlphaOver {0.3f}
 

Detailed Description

Layout - a structure containing layout information for the child components in this component The magic numbers here were pulled from the Figma design document entitled "DEV HANDOFF_Nikolas" found here: https://www.figma.com/file/oUxYVT8MtWat1Vg37YdFNY/DEV-HANDOFF_Nikolas?node-id=576%3A22655

Member Data Documentation

◆ arcCenter

const juce::Point<float> krotos::Krotos_LookAndFeel::Layout::arcCenter {juce::Point<float>(43.f, 43.f)}

◆ enabledAlphaDisabled

const float krotos::Krotos_LookAndFeel::Layout::enabledAlphaDisabled
Initial value:
{
0.2f}

◆ enabledAlphaEnabled

const float krotos::Krotos_LookAndFeel::Layout::enabledAlphaEnabled {1.f}

◆ enclosingRectangle

const juce::Rectangle<float> krotos::Krotos_LookAndFeel::Layout::enclosingRectangle {juce::Rectangle<float>(0.f, 0.f, 86.f, 96.f)}

◆ enclosingSquare

const juce::Rectangle<float> krotos::Krotos_LookAndFeel::Layout::enclosingSquare {juce::Rectangle<float>(0.f, 0.f, 86.f, 86.f)}

◆ enclosingSquareTrack

const juce::Rectangle<float> krotos::Krotos_LookAndFeel::Layout::enclosingSquareTrack {juce::Rectangle<float>(4.5f, 4.5f, 77.f, 77.f)}

◆ endRadians

const float krotos::Krotos_LookAndFeel::Layout::endRadians {8.63937950f}

◆ KerningFactor

const float krotos::Krotos_LookAndFeel::Layout::KerningFactor {0.02f}

◆ maxTextLines

const int krotos::Krotos_LookAndFeel::Layout::maxTextLines {1}

◆ mouseOverAlphaDefault

const float krotos::Krotos_LookAndFeel::Layout::mouseOverAlphaDefault {0.15f}

◆ mouseOverAlphaOver

const float krotos::Krotos_LookAndFeel::Layout::mouseOverAlphaOver {0.3f}

◆ numDecimalPlaces

const int krotos::Krotos_LookAndFeel::Layout::numDecimalPlaces {2}

◆ outlineArcInnerProportion

const float krotos::Krotos_LookAndFeel::Layout::outlineArcInnerProportion {82.f / 86.f}

◆ sliderValueMax

const float krotos::Krotos_LookAndFeel::Layout::sliderValueMax {1.f}

◆ sliderValueMin

const float krotos::Krotos_LookAndFeel::Layout::sliderValueMin {0.f}

◆ startRadians

const float krotos::Krotos_LookAndFeel::Layout::startRadians {3.92699075f}

◆ textColour

const Colour krotos::Krotos_LookAndFeel::Layout::textColour {0xffb2b2b2}

◆ textRectangle

const juce::Rectangle<float> krotos::Krotos_LookAndFeel::Layout::textRectangle {juce::Rectangle<float>(0.f, 81.f, 86.f, 15.f)}

◆ thumbColour

const Colour krotos::Krotos_LookAndFeel::Layout::thumbColour {0xffffffff}

◆ thumbEnd

const juce::Point<float> krotos::Krotos_LookAndFeel::Layout::thumbEnd {juce::Point<float>(0.f, -37.5f)}

◆ thumbStart

const juce::Point<float> krotos::Krotos_LookAndFeel::Layout::thumbStart {juce::Point<float>(0.f, -17.5f)}

◆ thumbWidth

const float krotos::Krotos_LookAndFeel::Layout::thumbWidth {2.f}

◆ trackAlphaOuterClicked

const float krotos::Krotos_LookAndFeel::Layout::trackAlphaOuterClicked {0.3f}

◆ trackAlphaOuterDefault

const float krotos::Krotos_LookAndFeel::Layout::trackAlphaOuterDefault {0.2f}

◆ trackArcInnerProportion

const float krotos::Krotos_LookAndFeel::Layout::trackArcInnerProportion {71.f / 77.f}

◆ trackColourInner

const Colour krotos::Krotos_LookAndFeel::Layout::trackColourInner {0xff37C9DB}

◆ trackColourOuter

const Colour krotos::Krotos_LookAndFeel::Layout::trackColourOuter {0xffffffff}

The documentation for this struct was generated from the following file: