Login / Register 0 items | $0.00 New @ KVR
JUCE

Raw Material Software updates Juce to v1.44

Raw Material Software has updated Juce to version 1.44.

Changes:

  • Added a method Desktop::setScreenSaverEnabled(), which lets you prevent the screen-saver from being activated - handy if your app is doing some kind of presentation (only implemented on Windows/Mac - anyone know how to do this on linux?).
  • New Mac-only class: AppleRemoteDevice, which lets you grab and listen for events from your Apple remote control. (Only works if you build for 10.3 or above).
  • Tweaks to get it working under Wine.
  • Change to the keyPressed() and keyStateChanged() callbacks in Component and KeyListener. These used to be void, but they now return a bool to indicate whether the key event was needed or not. Any existing code you've got will break in the compiler, so just change it to return true if the key was used, or false to allow the event to be passed up to the next component in the chain. (This change is a better architecture than before, and was also needed so that plugins can allow unused key events to be passed on to the host application)
  • Swapped the look and feel classes around, so that the basic LookAndFeel class is now what used to be the "shiny" one. The ShinyLookAndFeel class has been removed, and for that old fashioned look, I've added an OldSchoolLookAndFeel that you can use if you need the original L+F. This means that any custom looks that you were using may need to change their base class.
  • Changed the MouseEvent structure so that it now contains a pointer to the event component and also the original component.
  • Added a PopupMenu::dismissAllActiveMenus() method.
  • Added the JUCE_LOG_ASSERTIONS flag, which can automatically log assertion failures, even in release builds.
  • New classes DirectoryContentsDisplayComponent and FileTreeComponent, allow a view of a directory as either a list or treeview. I've added a demo of the FileTreeComponent to the treeviews section of the Juce Demo. There's also now an option in the FileBrowserComponent constructor to use a treeview.
  • Small change to the strictness of the way TreeViews handle their root items. Be careful now to never delete a tree's root item until either the treeview has been deleted, or until you've removed the root from the tree using setRootItem (0). Not doing this can now cause a crash in the tree's destructor, where it expects the root to still be valid.
  • Added some virtual methods to TextEditor to allow customisation of its popup menu.
  • Added a Component::setExplicitFocusOrder() method for specifying the order in which components have their focus traversed, and added Jucer support for setting this value.
  • Made slider skew factor editable in the jucer
  • Added a background thread to the MidiOutput class, so it can be given a batch of midi events and will dispatch them itself based on their timestamps.
  • Added MultiDocumentPanel::createNewDocumentWindow() method to allow creation of custom document windows in a MultiDocumentPanel
  • Added a Thread::getCurrentThread() method
  • Added an option to MessageManagerLock that can check for thread termination, to avoid deadlocks.
  • New method: PropertySet::setFallbackPropertySet()
  • Some simplifications to ApplicationProperties, because of problems it was causing when there were read-only common property files.
Discussion

Discussion

Discussion: Active

Please log in to join the discussion

Related news...