mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Font: Deprecate old Font constructors
This commit is contained in:
parent
2ed9b84070
commit
4f2c287f9b
95 changed files with 428 additions and 209 deletions
|
|
@ -1582,10 +1582,10 @@ public:
|
|||
g.fillRect (rectChoice);
|
||||
|
||||
g.setColour (Colours::white);
|
||||
g.setFont (Font (20.0f).italicised().withExtraKerningFactor (0.1f));
|
||||
g.setFont (Font (FontOptions (20.0f)).italicised().withExtraKerningFactor (0.1f));
|
||||
g.drawFittedText ("DSP MODULE DEMO", rectTop.reduced (10, 0), Justification::centredLeft, 1);
|
||||
|
||||
g.setFont (Font (14.0f));
|
||||
g.setFont (FontOptions (14.0f));
|
||||
String strText = "IR length (reverb): " + String (proc.getCurrentIRSize()) + " samples";
|
||||
g.drawFittedText (strText, rectBottom.reduced (10, 0), Justification::centredRight, 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue