24 Commits (eb646f8c4282bed752ec2d207e15150ecfd333db)

Author SHA1 Message Date
  jules eb646f8c42 Deprecated some old bool notification mode parameters, and replaced them with NotificationType values in the ComboBox and Button classes. 12 years ago
  jules c5b4e48b80 Updated some headers and URLs. 12 years ago
  jules c75a7300f5 Added some 'override' modifiers to overridden methods. 12 years ago
  jules 01e3e4c40c Fixed some coverity warnings. 12 years ago
  jules ddc1524742 Updated headers in demo project files. 12 years ago
  jules 5ed768e953 New enum: NotificationType, to indicate whether to send a change message or not (and whether it should be async). Updates to ListBox, TreeView and Slider methods to use this type instead of bools. 12 years ago
  jules 53784490b2 Minor fixes and clean-ups. 12 years ago
  jules 9a24aa8a20 Minor clean-ups. 12 years ago
  jules 8e0d120421 Small fix for the demo on iOS. 12 years ago
  jules d7cea05104 Added a new struct DialogWindow::LaunchOptions, to provide a better mechanism than the existing static methods for launching dialog boxes. I've left the old static methods in there but will probably deprecate them at some point in the future. Also added a couple of methods to OptionalOwnedPointer. 12 years ago
  jules ffbf1cd5c4 Gave DrawableButton a bit of a spring-cleaning: got rid of its non-standard setBackgroundColours() method, and instead gave it some colour IDs for setting its colours, like other components do. 12 years ago
  jules b4fe06fb81 CallOutBox: changed parameters to allow better positioning, and improved layout algorithm. 12 years ago
  jules bddebf3433 Added a couple of reduced/expanded methods to Rectangle. 12 years ago
  jules 40fd93e32e Fixed a typo in the widgets demo. 13 years ago
  jules dc9e0cb9bb Added some new versions of Graphics::drawText and drawFittedText that take Rectangle parameters. 13 years ago
  jules 3ddc6dd43d New class: DropShadow, and a complete refactoring of the way shadows are rendered. The DropShadowEffect and DropShadower classes now take a DropShadow object to describe their shadow parameters, instead of the raw numbers. 13 years ago
  jules 591ce2a396 Added TabBarButton::setExtraComponent() method to allow custom components to be inserted into tabs. This involved a big refactoring and clean-up of all the tab drawing methods in the LookAndFeel class. Also (slightly) cleaned up some of the crappy old code in the WidgetsDemo while I was adding a demo for this. 13 years ago
  jules f5d72f1406 Removed the style parameter from Graphics::setFont(), because if the current font doesn't support that style, it'll give the wrong results. If this breaks your code, just wrap your arguments in a Font constructor, e.g. g.setFont (Font (mySize, myStyle)); 13 years ago
  jules cb169b251d Altered BubbleMessageComponent to take an AttributedString rather than a plain String, for more control over its layout. 13 years ago
  Julian Storer c908bc5b84 Fixed a couple of introjucer problems. Reorganised some native code. 14 years ago
  Julian Storer 60e3ff8f5a Android development and modal loop elimination. 14 years ago
  Julian Storer 8fd76650c4 RTAS ppq fix. New class OptionalScopedPointer. Deprecated the ResizableWindow::setContentComponent() method, replacing it with setContentOwned() and setContentNonOwned(), which provide a way to specify the component's ownership when it is added. 14 years ago
  Julian Storer 2d10b0b43d Changes and additions to provide alternatives to modal-loop functionality (Android can't run modal loops). New class ModalCallbackFunction providing quick objects for making callbacks to static functions. Changes to remove modal loops from most of the internal library classes. Added new methods to PopupMenu to provide easier async callbacks, and also a cleaner way of specifying options when showing a menu. Fix for PNG decoding of corrupted image files. 14 years ago
  Julian Storer 1d215fa865 Renamed the juce demo folder from "juce demo" to "JuceDemo". Annoyingly, this is necessary because the Android build tools can't handle paths containing spaces (!) 14 years ago
  Julian Storer 1b05a7d46d New classes CharPointer_UTF8, CharPointer_UTF16, CharPointer_UTF32, complete refactoring of CharacterFunctions class and updates to the internals of String methods. Removal of String::operator+= (unsigned int) because of clashes with wide-char types that use unsigned int. Made core classes compatible with Android. Minor fixes to ListBox and AudioDeviceManager. 14 years ago
  Julian Storer efd1e4c88a Viewport positioning fix. Changed parameters of Viewport::visibleAreaChanged(). Small plugin header fix. 14 years ago
  Julian Storer 7becff2aa4 Reorganised some of the juce source tree folders. Added a new JUCE_DEPRECATED macro, and tested it by renaming Button::addButtonListener to Button::addListener for consistency with other widgets. Added Samplitude to the AudioHostType class. Fixed window maximising in win32. 14 years ago
  Julian Storer 4e52fac18e Fixed a linux time issue. Removed a blank line from the jucer's .sln file generator. Cleaned up some jucer code. 14 years ago
  Julian Storer 952b8c3940 Updated ComponentDragger to handle transformed components (this required a change to its parameters). Tidied up some classes with the JUCE_DECLARE_NON_COPYABLE macro. Changed some 3rd-party include statements to use angle-bracket quotes. 14 years ago
  Julian Storer a5cf4030f5 New class LeakedObjectDetector, and JUCE_LEAK_DETECTOR macros for spotting leakages in a neat, cross-platform way. Used these to replace all the old juce_UseDebuggingNewOperator stuff in all the classes. Also some drawable and component transform fixes. 14 years ago
  Julian Storer 645637ab09 Added some assertions, fixed a win32 mouse mouse cursor problem, tweaked PopupMenu::showAt(). 14 years ago
  Julian Storer 2c2a11dee9 Added the ability to apply affine transforms to components - Component::setTransform(). Added a slider to the widgets demo to show this in action. Changed Component::reallyContains() to take a rectangle instead of raw coordinates. 14 years ago
  Julian Storer 4cfdcb69fd Updated the ChangeBroadcaster class - sendChangeMessage() now has no parameters, and ChangeListener::changeListenerCallback() no longer provides a void*, it provides the ChangeBroadcaster* that triggered the callback. Also deleted the ChangeListenerList class, as it didn't offer anything that ChangeBroadcaster doesn't do. Changed the new jucer to expand preprocessor tokens in the header search path string. 14 years ago
  Julian Storer c108e00da0 Internal code modernisation. 14 years ago
  Julian Storer 0a1f3857ae Couple of minor fixes and clean-ups to various components. 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 ea16741b3d Tweaks to the win32 camera capture code to reduce CPU load. 14 years ago
  Julian Storer 5c49cdba8a Improved the coding standards used in the juce demo project. 14 years ago
  Julian Storer d508109296 Refactored midi input code to allow unlimited syex length + partial sysex callbacks on win32. Fixed a few problems with menu bars, Quicktime, AudioUnits. Modernised some old win32 file chooser code. Tweaked some window border rendering. 14 years ago
  Julian Storer 216d258ceb Added workarounds for a truly moronic VC2005 compiler bug. Very, very annoyed at having to spend hours and compromise my coding style geting this to build properly... 15 years ago
  Julian Storer c20daf9740 Fixed a mac initialisation problem. 15 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 ffd93c0343 Cleaned up some compiler warings in the demo. Minor Viewport tweak. 15 years ago
  Julian Storer 1f21a94753 New class: CallOutBox, which produces a nice popup box - see the juce demo/widgets/buttons/"click to change colour" button for an example. SVG fix. 15 years ago
  Julian Storer 00b082caf6 New arrowhead and polygon methods for Path and PathStrokeType. Tweaked a few Path methods to take Line and Point objects instead of loose coordinate parameters. Various new geometric methods and more refactoring of Drawables. Misc fixes for CoreGraphics, AudioFormat. 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 1baaa016bd Tidied up some linux messaging code. Fixed a couple of small graphic bugs. 15 years ago
  Julian Storer f8f02568b3 Removed IntegerElementComparator and FloatElementComparator, replacing them with DefaultElementComparator, which does the same job. Added method Array::addUsingDefaultSort(). 15 years ago
  Julian Storer 66643e85ac Minor string changes. 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