mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-03 03:30:06 +00:00
Cleaned up some obscure compiler warnings and added some JSON unit tests.
This commit is contained in:
parent
796247483a
commit
2009753eac
41 changed files with 298 additions and 178 deletions
|
|
@ -87,12 +87,12 @@ void DrawableRectangle::rebuildPath()
|
|||
}
|
||||
}
|
||||
|
||||
bool DrawableRectangle::registerCoordinates (RelativeCoordinatePositionerBase& positioner)
|
||||
bool DrawableRectangle::registerCoordinates (RelativeCoordinatePositionerBase& pos)
|
||||
{
|
||||
bool ok = positioner.addPoint (bounds.topLeft);
|
||||
ok = positioner.addPoint (bounds.topRight) && ok;
|
||||
ok = positioner.addPoint (bounds.bottomLeft) && ok;
|
||||
return positioner.addPoint (cornerSize) && ok;
|
||||
bool ok = pos.addPoint (bounds.topLeft);
|
||||
ok = pos.addPoint (bounds.topRight) && ok;
|
||||
ok = pos.addPoint (bounds.bottomLeft) && ok;
|
||||
return pos.addPoint (cornerSize) && ok;
|
||||
}
|
||||
|
||||
void DrawableRectangle::recalculateCoordinates (Expression::Scope* scope)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue