1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-04 03:40:07 +00:00

Couple of minor tweaks, and a fix for menu bars.

This commit is contained in:
Julian Storer 2010-10-08 20:35:04 +01:00
parent d508109296
commit acbfe6c645
10 changed files with 82 additions and 36 deletions

View file

@ -136,6 +136,11 @@ void TextLayout::clear()
totalLines = 0;
}
bool TextLayout::isEmpty() const
{
return tokens.size() == 0;
}
void TextLayout::appendText (const String& text, const Font& font)
{
const juce_wchar* t = text;