mirror of
https://codeberg.org/armin/rmx-19.git
synced 2026-10-11 16:51:55 +02:00
re-structure menu, darken UI
This commit is contained in:
parent
b03dc2e0c4
commit
4b44841049
16 changed files with 1217 additions and 304 deletions
|
|
@ -145,12 +145,13 @@ void RackEditor::paint (juce::Graphics& g)
|
|||
|
||||
void RackEditor::resized()
|
||||
{
|
||||
// UI-scale dropdown lives in real (unscaled) coordinates, bottom right.
|
||||
scaleBox.setBounds (getWidth() - 112, getHeight() - 30, 104, 20);
|
||||
|
||||
// everything else renders in base 656x248 space, scaled by an affine transform
|
||||
// everything renders in base 656×248 space, scaled by an affine transform
|
||||
const juce::AffineTransform tf = juce::AffineTransform::scale (uiScale);
|
||||
|
||||
// UI-scale dropdown now scales with the rest of the UI
|
||||
scaleBox.setTransform (tf);
|
||||
scaleBox.setBounds (baseW - 112, baseH - 30, 104, 20);
|
||||
|
||||
// LCD recessed module
|
||||
const juce::Rectangle<int> lcdArea (14, 24, 356, 168);
|
||||
display.setTransform (tf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue