mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-04 03:40:07 +00:00
Removed the (rather pointless) granularity value from the array objects. Converted a few macros into functions and other misc code clean-ups.
This commit is contained in:
parent
c368805559
commit
97035bb3a1
69 changed files with 218 additions and 369 deletions
|
|
@ -93,22 +93,21 @@ public:
|
|||
|
||||
//==============================================================================
|
||||
TextLayout::TextLayout() throw()
|
||||
: tokens (64),
|
||||
totalLines (0)
|
||||
: totalLines (0)
|
||||
{
|
||||
tokens.ensureStorageAllocated (64);
|
||||
}
|
||||
|
||||
TextLayout::TextLayout (const String& text,
|
||||
const Font& font) throw()
|
||||
: tokens (64),
|
||||
totalLines (0)
|
||||
: totalLines (0)
|
||||
{
|
||||
tokens.ensureStorageAllocated (64);
|
||||
appendText (text, font);
|
||||
}
|
||||
|
||||
TextLayout::TextLayout (const TextLayout& other) throw()
|
||||
: tokens (64),
|
||||
totalLines (0)
|
||||
: totalLines (0)
|
||||
{
|
||||
*this = other;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue