77 Commits (ece4205d3d82fe18072defb70aab76ce6dad3aa0)

Author SHA1 Message Date
  Julian Storer 377b9ff2c4 Added a couple of useful constructors to some stream classes. Replaced some old static functions with anonymous namespaces. 14 years ago
  Julian Storer 4e1c66b02e Added an alpha setting to Components with Component::setAlpha(). Removed Component::fadeOutComponent method and instead refactored the ComponentAnimator class to provide fading in and out of the alpha level. Added a method Desktop::getAnimator() that provides a global instance of a ComponentAnimator so that there's no need to create your own. 14 years ago
  Julian Storer e387132522 Changes to XML parsing so that leading space inside text elements does not get trimmed. 14 years ago
  Julian Storer 907a9aaffe Tidied up a bunch of listener classes, making them child classes - e.g. ButtonListener becomes Button::Listener. Did this for ComboBox, Button, CameraDevice, Label, ScrollBar, Slider, TextEditor, TableHeaderComponent. (There are typedefs to make sure old code still works, though I might remove those in the future). 15 years ago
  Julian Storer 9f0c91196f Added method Image::getClippedImage(), which allows the use of images that refer to subsections of another image. This means that the the parameters to a couple of Graphics methods no longer need a clipping rectangle. Also dded a static Image::null object and another constructor for Image::BitmapData. 15 years ago
  Julian Storer e3d97820d1 New methods for Path, Line, ValueTree. Changed the Graphics::fillCheckerBoard parameters to take a Rectangle object. Fixed Component::centreWithSize to handle multi-monitor setups. 15 years ago
  Julian Storer b2e0b43960 Big rewrite to the internals of modal components, with a new class ModalComponentManager. This now lets you use modal components asynchronously, providing an object which will receive a callback when they are dismissed, rather than using a blocking event loop. ComboBoxes and some other components now show their popups asynchronously. 15 years ago
  Julian Storer 0c27487eca Minor fixes for MouseEvent, posix mutexes, FillType. 15 years ago
  Julian Storer 24673283eb Major change to the way the Image class works, making it use value semantics and internally shared data (see the forum notes for more info on this). Also minor changes to win32 browser plugin object ref counting and linux millisecond timers. 15 years ago
  Julian Storer 8ff6737261 Major changes to the way Drawables are converted to ValueTrees (with more changes still to come in this area). Important fix to DirectoryIterator. Minor fix for ASIO. Jucer development. 15 years ago
  Julian Storer 9d00c15b67 Stage 1 of a redesign of Drawables - instead of a DrawableComposite storing a tranform for each child, each type of drawable now stores its own transform, and these are represented as remapped points instead of affine transforms. Plus, lots of minor tweaks and jucer development. 15 years ago
  Julian Storer b46e94cffd New class StringPool. Removed the class var::identifier from its parent class, and renamed it "Identifier" - I've left a typedef in var to allow old code to still work, but I'll remove this at some point, so please switch to using the new classname directly. Jucer development. 15 years ago
  Julian Storer ed97872c1a Tidied up some filenames, cleaned up some code. Removed VoidArray class (just use Array<void*> instead) 15 years ago
  Julian Storer 1751beed57 Code clean-ups. Jucer development. 15 years ago
  Julian Storer b9443c8ba3 Cleaned up some compiler warnings. Jucer development. 15 years ago
  Julian Storer 7ed446b5fd Tweak to TextInputTarget. Code clean-ups. Jucer development. 15 years ago
  Julian Storer 27506c2120 Copyright notice update. 15 years ago
  Julian Storer c85d54b1cb Minor tweaks. Jucer development. 15 years ago
  Julian Storer e663b1a04c Small fix for tab-key focus movement. Added default property option to ValueTree. RTAS change for mac shutdown problems. Rearranged Atomic methods. Jucer development. 15 years ago
  jules af73276aea Minor clean-ups. 15 years ago
  Julian Storer d4435ca8b8 Minor clean-ups. Jucer development. 15 years ago
  Julian Storer cc5f0a50b9 Internal changes to ResizableBorderComponent to expose a Zone class. 15 years ago
  Julian Storer 8afb26072f Minor updates to ValueTree, SelectedItemSet, zlib symbols, Jucer. 15 years ago
  Julian Storer 66643e85ac Minor string changes. 15 years ago
  Julian Storer 841a6665bd Minor string literal tidy-ups. 15 years ago
  Julian Storer f316faaa04 Change posix juce_readFile to always return >= 0. Sorted out a casting error in carbon AU plugins. Tidied up a bunch of win32 warnings. 15 years ago
  Julian Storer 81b2e7818d Couple of minor mouse-pointer fixes. 15 years ago
  Julian Storer 4ed63991e2 Work-arounds for compiling with VC6. 15 years ago
  Julian Storer 19c332a144 Minor plugin code fix + clean-ups. 15 years ago
  Julian Storer 1e1e4ae848 Removed the ComponentDeletionWatcher class - use Component::SafePointer or Component::BailOutChecker instead. 15 years ago
  Julian Storer 28518aa834 Tweaked some component methods. Added function call types for some operators for compatibility with RTAS build. 15 years ago
  Julian Storer 2676bb02f2 Added ListenerList class and changed some components to use it for their listener dispatching. Sorted out bug in popup menus and win32 mouse wheel. 15 years ago
  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. 15 years ago
  Julian Storer bc5a7a6b7e Updated VC6 project. Removed some unsafe templated casts from MemoryBlock and HeapBlock. 15 years ago
  Julian Storer 84a8695561 Moved cursor update and unbounded mouse movement handling code into MouseInputSource. 15 years ago
  Julian Storer 9657241c10 Internal refactoring of mouse-event classes, as the first step towards multi-touch support. 15 years ago
  Julian Storer 08eb852103 Minor code clean-ups. 15 years ago
  Julian Storer 8820020213 Added support for extended character input on the mac. Added a few methods to Rectangle and Range. 15 years ago
  Julian Storer d8e16ccc06 Converted some internal ComponentPeer methods to use Point and Rectangle rather than raw ints. 15 years ago
  Julian Storer 06c63c63aa Changed some methods that were using (x, y) parameters to use Point objects instead. 15 years ago
  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. 15 years ago
  Julian Storer fe4a37ef49 Added a sort method to the TreeView class. 15 years ago
  Julian Storer 22ecd45505 Code clean-ups. 15 years ago
  Julian Storer 63d3d8a77e New class: NamedValueSet, which is a simple container for named var objects. Removed the clunky get/setComponentProperty methods and replaced them a single method Component::getProperties(), which returns a NamedValueSet for that component - if you've used component properties in your code you might need to change your syntax, but this is a cleaner solution, and using var objects for the data is more powerful than the old, string-based implementation. Also fixed a Mac image rendering bug. 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). 15 years ago
  Julian Storer 97035bb3a1 Removed the (rather pointless) granularity value from the array objects. Converted a few macros into functions and other misc code clean-ups. 15 years ago
  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. 15 years ago
  Julian Storer a2183daee5 VC6 compatibility updates 15 years ago
  Julian Storer 80753f4c03 Lots of minor changes to prevent warnings. Small fixes to Path, AudioThumbnail, ValueTree, OutputStreams. Tweaks to convert Drawables to/from ValueTrees. New method to write XML to a stream. 15 years ago
  Julian Storer 03b54862c5 Fixed a type in AudioSampleBuffer::copyFrom. Added a LookAndFeel::getMouseCursorFor method. Added a parameter to MidiMessage::isNoteOff 15 years ago