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

The Point and Rectangle classes are now templated, so can be used for either float or int co-ordinates. This means that wherever you've used these classes, you'll need to replace them with Rectangle<int> or Point<float> in your code. A couple of methods in Path have changed to take advantage of the new ability.

This commit is contained in:
Julian Storer 2010-02-07 00:52:30 +00:00
parent 31a102008d
commit 7bc24ae42a
153 changed files with 2258 additions and 2753 deletions

View file

@ -163,7 +163,7 @@ void FileChooser::showPlatformDialog (Array<File>& results,
{
// use a modal window as the parent for this dialog box
// to block input from other app windows
const Rectangle mainMon (Desktop::getInstance().getMainMonitorArea());
const Rectangle<int> mainMon (Desktop::getInstance().getMainMonitorArea());
Component w (String::empty);
w.setBounds (mainMon.getX() + mainMon.getWidth() / 4,