Skip to content
Snippets Groups Projects
  1. Apr 05, 2013
    • jsiegle's avatar
      Run astyle to make code format more consistent · ea8c1c90
      jsiegle authored
      To run this in the future, install astyle (sudo apt-get install astyle),
      then enter the following from the top-level project directory:
      
      astyle --options=astyle.options --recursive "./Source/*.cpp" "./Source/*.h"
      
      This will convert tabs to 4 spaces and ensure that brackets are on
      their own lines.
      ea8c1c90
  2. Apr 03, 2013
    • aacuevas's avatar
      Windows.h include not needed with juce 2 · 3f56af92
      aacuevas authored
      With new jucer, windows.h is not only unnecesary, but can cause conflicts with some definitions.
      Also, OpenGL.h includes disabled, as it's no longer needed and it, by itself, needs windows.h
      3f56af92
  3. Mar 29, 2013
    • Josh Siegle's avatar
      Switch to manual font loading · e176ce1d
      Josh Siegle authored
      For some reason, "getCustomTypefaceForFont" wasn't being called on OS X.
      It probably has something to do with platform-specific code for loading
      fonts. Now, in cases where custom fonts are needed, loading requires
      4 lines instead of 1. Kind of a pain, so hopefully this is a temporary
      solution until we can figure out what's different about Macs.
      e176ce1d
  4. Mar 25, 2013
  5. Mar 22, 2013
  6. Mar 21, 2013
  7. Mar 20, 2013
  8. Mar 12, 2013
  9. Feb 12, 2013
  10. Feb 06, 2013
  11. Feb 01, 2013
  12. Jan 28, 2013
    • Ryan Maloney's avatar
      Saving Parameters · 58c8797d
      Ryan Maloney authored
      Uses the parameters array to create XML data for parameter settings on
      each channel when saving.
      
      This only works for processors that use the parameters array, though I
      updated LFP and Signal Generator to update that in parallel (LFP seems
      to have an unrelated bug in dealing with channels that is causing some
      problems). Eventually, all parameters should be used in the parameters
      array, since it opens up a lot of possible holes when using default
      values (they need to be specified twice), and once loading is
      implemented. I've fixed some of the problems with parameters, so this
      should be easier to do.
      
      As part of this, I also fixed the implementation of
      addParameterEditors. The old way of implementing a custom parameter
      editor was to rewrite the virtual function, but because it was called
      in the constructor, this didn't work (constructors use the type of the
      parent). Instead, all editors now also pass a bool
      "useDefaultParameterEditors" which is used by addParameterEditors() to
      determine whether to do anything. I think this is the best way to do
      it. It's initialized to default as true, though I had some trouble with
      it implicitly taking the argument and so had to add true to most of the
      editor functions (which is probably good practice anyway).
      
      I also fixed some of the functions for generic processor to get
      parameter index and parameter name.
      
      Obviously, this is of considerable less use without functions for
      loading parameters, but I figured it'd be better to make available for
      testing with just the loading in case the changes to Parameters broke
      anything I missed.
      58c8797d
  13. Dec 27, 2012
  14. Dec 26, 2012
  15. Nov 26, 2012
  16. Nov 24, 2012
  17. Nov 23, 2012
    • Adam Mokhtari's avatar
      Added embedded typeface handling to CustomLookAndFeel · 65582386
      Adam Mokhtari authored
      Added typeface initialization to CustomLookAndFeel, and implemented
      getTypefaceForFont().
      
      Fonts can now be created using a more centralized method, by calling the
      Font(String("Typeface Name"), fontHeight, Font::style) constructor.  Names for
      the typefaces ("Default Light", "Paragraph") should be regarded as tentative.
      
      There's also simpler code to do the same thing that should be uncommented after
      the 2.0 update (it uses HashMap, which is not currently in our library code,
      even though it's in the 1.53 docs.)
      65582386
  18. Nov 20, 2012
  19. Nov 19, 2012
  20. Nov 17, 2012
Loading