openshot-audio  0.1.6
Public Member Functions | Static Public Attributes | List of all members
DrawableText::ValueTreeWrapper Class Reference

#include <juce_DrawableText.h>

Inheritance diagram for DrawableText::ValueTreeWrapper:
Drawable::ValueTreeWrapperBase

Public Member Functions

 ValueTreeWrapper (const ValueTree &state)
 
String getText () const
 
void setText (const String &newText, UndoManager *undoManager)
 
Value getTextValue (UndoManager *undoManager)
 
Colour getColour () const
 
void setColour (Colour newColour, UndoManager *undoManager)
 
Justification getJustification () const
 
void setJustification (Justification newJustification, UndoManager *undoManager)
 
Font getFont () const
 
void setFont (const Font &newFont, UndoManager *undoManager)
 
Value getFontValue (UndoManager *undoManager)
 
RelativeParallelogram getBoundingBox () const
 
void setBoundingBox (const RelativeParallelogram &newBounds, UndoManager *undoManager)
 
RelativeCoordinate getFontHeight () const
 
void setFontHeight (const RelativeCoordinate &newHeight, UndoManager *undoManager)
 
RelativeCoordinate getFontHorizontalScale () const
 
void setFontHorizontalScale (const RelativeCoordinate &newScale, UndoManager *undoManager)
 
- Public Member Functions inherited from Drawable::ValueTreeWrapperBase
 ValueTreeWrapperBase (const ValueTree &state)
 
ValueTreegetState () noexcept
 
String getID () const
 
void setID (const String &newID)
 

Static Public Attributes

static const Identifier text
 
static const Identifier colour
 
static const Identifier font
 
static const Identifier justification
 
static const Identifier topLeft
 
static const Identifier topRight
 
static const Identifier bottomLeft
 
static const Identifier fontHeight
 
static const Identifier fontHScale
 

Additional Inherited Members

- Public Attributes inherited from Drawable::ValueTreeWrapperBase
ValueTree state
 

Detailed Description

Internally-used class for wrapping a DrawableText's state into a ValueTree.

Constructor & Destructor Documentation

DrawableText::ValueTreeWrapper::ValueTreeWrapper ( const ValueTree state)

Member Function Documentation

RelativeParallelogram DrawableText::ValueTreeWrapper::getBoundingBox ( ) const
Colour DrawableText::ValueTreeWrapper::getColour ( ) const
Font DrawableText::ValueTreeWrapper::getFont ( ) const
RelativeCoordinate DrawableText::ValueTreeWrapper::getFontHeight ( ) const
RelativeCoordinate DrawableText::ValueTreeWrapper::getFontHorizontalScale ( ) const
Value DrawableText::ValueTreeWrapper::getFontValue ( UndoManager undoManager)
Justification DrawableText::ValueTreeWrapper::getJustification ( ) const
String DrawableText::ValueTreeWrapper::getText ( ) const
Value DrawableText::ValueTreeWrapper::getTextValue ( UndoManager undoManager)
void DrawableText::ValueTreeWrapper::setBoundingBox ( const RelativeParallelogram newBounds,
UndoManager undoManager 
)
void DrawableText::ValueTreeWrapper::setColour ( Colour  newColour,
UndoManager undoManager 
)
void DrawableText::ValueTreeWrapper::setFont ( const Font newFont,
UndoManager undoManager 
)
void DrawableText::ValueTreeWrapper::setFontHeight ( const RelativeCoordinate newHeight,
UndoManager undoManager 
)
void DrawableText::ValueTreeWrapper::setFontHorizontalScale ( const RelativeCoordinate newScale,
UndoManager undoManager 
)
void DrawableText::ValueTreeWrapper::setJustification ( Justification  newJustification,
UndoManager undoManager 
)
void DrawableText::ValueTreeWrapper::setText ( const String newText,
UndoManager undoManager 
)

Member Data Documentation

const Identifier DrawableText::ValueTreeWrapper::bottomLeft
static
const Identifier DrawableText::ValueTreeWrapper::colour
static
const Identifier DrawableText::ValueTreeWrapper::font
static
const Identifier DrawableText::ValueTreeWrapper::fontHeight
static
const Identifier DrawableText::ValueTreeWrapper::fontHScale
static
const Identifier DrawableText::ValueTreeWrapper::justification
static
const Identifier DrawableText::ValueTreeWrapper::text
static
const Identifier DrawableText::ValueTreeWrapper::topLeft
static
const Identifier DrawableText::ValueTreeWrapper::topRight
static

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