Julian Storer
|
08eb852103
|
Minor code clean-ups.
|
15 years ago |
Julian Storer
|
b2e5ef2bd6
|
Minor code modernisations.
|
15 years ago |
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).
|
16 years ago |
Julian Storer
|
4ed1d791e5
|
New class HeapBlock, which provides a safe and object-oriented way to allocate heap space. I've used HeapBlocks to replace almost all uses of malloc/free throughout the codebase.
|
16 years ago |
Julian Storer
|
03b54862c5
|
Fixed a type in AudioSampleBuffer::copyFrom. Added a LookAndFeel::getMouseCursorFor method. Added a parameter to MidiMessage::isNoteOff
|
16 years ago |
jules
|
158a17f08a
|
(Added missing files from last check-in)
|
16 years ago |