mirror of
https://codeberg.org/armin/chromaflock.git
synced 2026-09-01 04:10:47 +02:00
Tighten layout: reduce gaps, shrink header, reposition logo, rename newlogo→logo
This commit is contained in:
parent
37f3881355
commit
4acca46260
6 changed files with 64 additions and 45 deletions
|
|
@ -7,9 +7,12 @@
|
|||
|
||||
class KnobLookAndFeel : public juce::LookAndFeel_V4 {
|
||||
public:
|
||||
KnobLookAndFeel();
|
||||
void drawRotarySlider(juce::Graphics& g, int x, int y, int width, int height,
|
||||
float sliderPos, float rotaryStartAngle,
|
||||
float rotaryEndAngle, juce::Slider& slider) override;
|
||||
private:
|
||||
juce::Image knobOverlay;
|
||||
};
|
||||
|
||||
class ComboBoxLookAndFeel : public juce::LookAndFeel_V4 {
|
||||
|
|
@ -249,7 +252,7 @@ private:
|
|||
MainContentComponent content;
|
||||
float currentScale = 1.0f;
|
||||
static constexpr int baseWidth = 1660;
|
||||
static constexpr int baseHeight = 1100;
|
||||
static constexpr int baseHeight = 1028;
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(ChromaFlockEditor)
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue