JUCE
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Static Public Attributes
DrawableImage::ValueTreeWrapper Class Reference

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

Inherits Drawable::ValueTreeWrapperBase.

List of all members.

Public Member Functions

 ValueTreeWrapper (const ValueTree &state)
var getImageIdentifier () const
void setImageIdentifier (const var &newIdentifier, UndoManager *undoManager)
Value getImageIdentifierValue (UndoManager *undoManager)
float getOpacity () const
void setOpacity (float newOpacity, UndoManager *undoManager)
Value getOpacityValue (UndoManager *undoManager)
Colour getOverlayColour () const
void setOverlayColour (const Colour &newColour, UndoManager *undoManager)
Value getOverlayColourValue (UndoManager *undoManager)
RelativeParallelogram getBoundingBox () const
void setBoundingBox (const RelativeParallelogram &newBounds, UndoManager *undoManager)

Static Public Attributes

static const Identifier opacity
static const Identifier overlay
static const Identifier image
static const Identifier topLeft
static const Identifier topRight
static const Identifier bottomLeft

Detailed Description

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


Constructor & Destructor Documentation


Member Function Documentation

void DrawableImage::ValueTreeWrapper::setImageIdentifier ( const var newIdentifier,
UndoManager undoManager 
)
void DrawableImage::ValueTreeWrapper::setOpacity ( float  newOpacity,
UndoManager undoManager 
)
void DrawableImage::ValueTreeWrapper::setOverlayColour ( const Colour newColour,
UndoManager undoManager 
)

Member Data Documentation


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