1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00
Commit graph

6 commits

Author SHA1 Message Date
Julian Storer
5fecb8a353 Created a new class Component::SafePointer that keeps a pointer to a component and automatically nulls it if the component is deleted - this makes it a much more elegant replacement for the old ComponentDeletionWatcher class. Removed Component::getComponentUnderMouse(), which doesn't fit with multi-touch interfaces - for similar functionality, use the Desktop::getMouseInputSource() methods to find out what MouseInputSources are available, and ask them about the component they are over or dragging. 2010-02-25 22:33:44 +00:00
Julian Storer
06c63c63aa Changed some methods that were using (x, y) parameters to use Point objects instead. 2010-02-16 18:31:44 +00:00
Julian Storer
ba572201dd Changed the ComponentBoundsConstrainer to use Rectangles in its method parameters. Fixed some window repositioning problems with multiple monitors. 2010-02-09 18:39:52 +00:00
Julian Storer
7bc24ae42a 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. 2010-02-07 00:52:30 +00:00
Julian Storer
c22c06c80c New class: ScopedPointer, which auto-releases a pointer when it goes out of scope. I've used this extensively to replace a lot of pointer deletions with more RAII-style patterns. 2010-01-02 23:01:18 +00:00
jules
4d16424d9c Rearranged the layout of the source tree, giving it a slightly flatter directory structure. Also fixed a small bug with DragAndDropComponents that was stopping the toolbar customisation working properly. 2009-08-22 21:57:23 +00:00
Renamed from src/juce_appframework/gui/components/windows/juce_ResizableWindow.cpp (Browse further)