1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-07 04:10:08 +00:00

Removed the PositionedRectangle class (this has been superseded by the RelativeRectangle class. If you still need PositionedRectangle in your code, just grab a copy of the class from the last revision and put it directly into your codebase). Changed the BorderSize class to be templated like Point, Line, Rectangle, etc - if you've used a BorderSize anywhere, just replace "BorderSize" with "BorderSize<int>" to get it compiling again. Updated Graphics::drawDashedLine to take a Line object.

This commit is contained in:
Julian Storer 2011-01-13 12:55:26 +00:00
parent 837f4c8d81
commit e7f4dac9f9
54 changed files with 914 additions and 1808 deletions

View file

@ -1468,13 +1468,13 @@ void TextEditor::setIndents (const int newLeftIndent,
topIndent = newTopIndent;
}
void TextEditor::setBorder (const BorderSize& border)
void TextEditor::setBorder (const BorderSize<int>& border)
{
borderSize = border;
resized();
}
const BorderSize TextEditor::getBorder() const
const BorderSize<int> TextEditor::getBorder() const
{
return borderSize;
}