Julian Storer
|
27506c2120
|
Copyright notice update.
|
2010-04-23 09:37:13 +01:00 |
|
Julian Storer
|
c76e500574
|
Minor clean-ups.
|
2010-04-15 11:09:20 +01:00 |
|
Julian Storer
|
4ed63991e2
|
Work-arounds for compiling with VC6.
|
2010-03-11 11:37:40 +00:00 |
|
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
|
80afd8aee7
|
Compiler fixes for String and var. Fix for TextEditor redraw problems.
|
2010-02-24 11:27:57 +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
|
e61e8f6775
|
Changed some 'int's to 'size_t's, to improve 64-bit compatibility. Also changed jmin and jmax to use templates, so they can take any type. These changes might mean that you'll need to add some more explicit casts to get your existing code to compile, but this is actually a good thing - it brought to light a few dodgy implicit casts in my code, and may do the same in yours. Also added a function roundToInt(), which replaces roundDoubleToInt() and roundFloatToInt(), but takes any size of floating point number (I've left the old roundDoubleToInt() and roundFloatToInt() functions there for convenience, but will probably remove them in the future).
|
2010-01-14 14:49:25 +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 |
|