Browse Source

Couple of minor linux + android fixes.

tags/2021-05-28
jules 13 years ago
parent
commit
aabc0dbe6e
4 changed files with 6 additions and 10 deletions
  1. +1
    -1
      modules/juce_graphics/native/juce_android_Fonts.cpp
  2. +1
    -1
      modules/juce_graphics/native/juce_linux_Fonts.cpp
  3. +2
    -4
      modules/juce_gui_extra/native/juce_android_WebBrowserComponent.cpp
  4. +2
    -4
      modules/juce_gui_extra/native/juce_linux_WebBrowserComponent.cpp

+ 1
- 1
modules/juce_graphics/native/juce_android_Fonts.cpp View File

@@ -219,7 +219,7 @@ Typeface::Ptr Typeface::createSystemTypefaceFor (const Font& font)
return new AndroidTypeface (font);
}
bool GlyphLayout::createNativeLayout (const AttributedString&)
bool TextLayout::createNativeLayout (const AttributedString&)
{
return false;
}

+ 1
- 1
modules/juce_graphics/native/juce_linux_Fonts.cpp View File

@@ -543,7 +543,7 @@ Typeface::Ptr Font::getDefaultTypefaceForFont (const Font& font)
return Typeface::createSystemTypefaceFor (f);
}
bool GlyphLayout::createNativeLayout (const AttributedString&)
bool TextLayout::createNativeLayout (const AttributedString&)
{
return false;
}

+ 2
- 4
modules/juce_gui_extra/native/juce_android_WebBrowserComponent.cpp View File

@@ -109,7 +109,5 @@ void WebBrowserComponent::visibilityChanged()
checkWindowAssociation();
}
bool WebBrowserComponent::pageAboutToLoad (const String& url)
{
return true;
}
bool WebBrowserComponent::pageAboutToLoad (const String&) { return true; }
void WebBrowserComponent::pageFinishedLoading (const String&) {}

+ 2
- 4
modules/juce_gui_extra/native/juce_linux_WebBrowserComponent.cpp View File

@@ -114,7 +114,5 @@ void WebBrowserComponent::visibilityChanged()
checkWindowAssociation();
}
bool WebBrowserComponent::pageAboutToLoad (const String& url)
{
return true;
}
bool WebBrowserComponent::pageAboutToLoad (const String&) { return true; }
void WebBrowserComponent::pageFinishedLoading (const String&) {}

Loading…
Cancel
Save