mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-18 00:54:19 +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
|
|
@ -86,13 +86,13 @@ public:
|
|||
|
||||
editor.reset (new CodeEditorComponent (codeDocument, nullptr));
|
||||
addAndMakeVisible (editor.get());
|
||||
editor->setFont ({ Font::getDefaultMonospacedFontName(), 14.0f, Font::plain });
|
||||
editor->setFont (FontOptions { Font::getDefaultMonospacedFontName(), 14.0f, Font::plain });
|
||||
editor->setTabSize (4, true);
|
||||
|
||||
outputDisplay.setMultiLine (true);
|
||||
outputDisplay.setReadOnly (true);
|
||||
outputDisplay.setCaretVisible (false);
|
||||
outputDisplay.setFont ({ Font::getDefaultMonospacedFontName(), 14.0f, Font::plain });
|
||||
outputDisplay.setFont (FontOptions { Font::getDefaultMonospacedFontName(), 14.0f, Font::plain });
|
||||
addAndMakeVisible (outputDisplay);
|
||||
|
||||
codeDocument.addListener (this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue