openshot-audio  0.1.7
Public Member Functions | Public Attributes | List of all members
TextEditor::UniformTextSection Class Reference

Public Member Functions

 UniformTextSection (const String &text, const Font &f, Colour col, juce_wchar passwordChar)
 
 UniformTextSection (const UniformTextSection &other)
 
void append (UniformTextSection &other, const juce_wchar passwordChar)
 
UniformTextSectionsplit (const int indexToBreakAt, const juce_wchar passwordChar)
 
void appendAllText (MemoryOutputStream &mo) const
 
void appendSubstring (MemoryOutputStream &mo, const Range< int > range) const
 
int getTotalLength () const noexcept
 
void setFont (const Font &newFont, const juce_wchar passwordChar)
 

Public Attributes

Font font
 
Colour colour
 
OwnedArray< TextAtomatoms
 

Constructor & Destructor Documentation

◆ UniformTextSection() [1/2]

TextEditor::UniformTextSection::UniformTextSection ( const String text,
const Font f,
Colour  col,
juce_wchar  passwordChar 
)
inline

◆ UniformTextSection() [2/2]

TextEditor::UniformTextSection::UniformTextSection ( const UniformTextSection other)
inline

Member Function Documentation

◆ append()

void TextEditor::UniformTextSection::append ( UniformTextSection other,
const juce_wchar  passwordChar 
)
inline

◆ appendAllText()

void TextEditor::UniformTextSection::appendAllText ( MemoryOutputStream mo) const
inline

◆ appendSubstring()

void TextEditor::UniformTextSection::appendSubstring ( MemoryOutputStream mo,
const Range< int >  range 
) const
inline

◆ getTotalLength()

int TextEditor::UniformTextSection::getTotalLength ( ) const
inlinenoexcept

◆ setFont()

void TextEditor::UniformTextSection::setFont ( const Font newFont,
const juce_wchar  passwordChar 
)
inline

◆ split()

UniformTextSection* TextEditor::UniformTextSection::split ( const int  indexToBreakAt,
const juce_wchar  passwordChar 
)
inline

Member Data Documentation

◆ atoms

OwnedArray<TextAtom> TextEditor::UniformTextSection::atoms

◆ colour

Colour TextEditor::UniformTextSection::colour

◆ font

Font TextEditor::UniformTextSection::font

The documentation for this class was generated from the following file: