Browse Source

tags/2021-05-28
jules 18 years ago
parent
commit
08bd48c8c7
2 changed files with 5 additions and 2 deletions
  1. +3
    -2
      build/linux/platform_specific_code/juce_linux_Fonts.cpp
  2. +2
    -0
      extras/juce demo/src/MainDemoWindow.cpp

+ 3
- 2
build/linux/platform_specific_code/juce_linux_Fonts.cpp View File

@@ -41,6 +41,7 @@
BEGIN_JUCE_NAMESPACE
#include "../../../src/juce_appframework/gui/graphics/fonts/juce_Font.h"
#include "../../../src/juce_core/basics/juce_Singleton.h"
#include "../../../src/juce_core/io/streams/juce_MemoryInputStream.h"
#include "../../../src/juce_core/io/files/juce_DirectoryIterator.h"
#include "../../../src/juce_core/text/juce_XmlDocument.h"
@@ -524,7 +525,7 @@ public:
sansSerif.add (faces[i]->getFamilyName());
}
juce_DeclareSingleton_SingleThreaded_Minimal (FreeTypeInterface);
juce_DeclareSingleton_SingleThreaded_Minimal (FreeTypeInterface)
private:
//==============================================================================
@@ -535,7 +536,7 @@ private:
OwnedArray<FreeTypeFontFace> faces;
};
juce_ImplementSingleton_SingleThreaded (FreeTypeInterface);
juce_ImplementSingleton_SingleThreaded (FreeTypeInterface)
//==============================================================================


+ 2
- 0
extras/juce demo/src/MainDemoWindow.cpp View File

@@ -55,6 +55,8 @@ public:
textBox->setMultiLine (true, false);
textBox->setReturnKeyStartsNewLine (true);
setAlwaysOnTop (true);
setResizable (true, true); // we'll choose a corner-resizer component for this window,
// as a contrast to the resizable border on the main window
}


Loading…
Cancel
Save