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

Public Attributes

const float border {0.f}
 
const float KerningFactor {0.02f}
 
const float height_scale_factor {0.63f}
 
const Colour editableLabelTextColour {0xffb2b2b2}
 
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 + border, 81.f + border, 86.f, 15.f)}
 

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

◆ border

const float krotos::KwidgetGUI_MacroSlider::Layout::border {0.f}

◆ editableLabelTextColour

const Colour krotos::KwidgetGUI_MacroSlider::Layout::editableLabelTextColour {0xffb2b2b2}

◆ enclosingRectangle

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

◆ height_scale_factor

const float krotos::KwidgetGUI_MacroSlider::Layout::height_scale_factor {0.63f}

◆ KerningFactor

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

◆ textRectangle

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

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