Skip to content
Snippets Groups Projects
  1. 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
  2. Mar 25, 2013
  3. Mar 22, 2013
  4. Mar 21, 2013
  5. Mar 20, 2013
  6. Mar 12, 2013
  7. Feb 12, 2013
  8. Feb 06, 2013
  9. Feb 01, 2013
  10. 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
  11. Dec 27, 2012
  12. Dec 26, 2012
  13. Nov 26, 2012
  14. Nov 24, 2012
  15. 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
  16. Nov 20, 2012
  17. Nov 19, 2012
  18. Nov 17, 2012
  19. Nov 16, 2012
    • Adam Mokhtari's avatar
      Fixed EditorViewport crash on keypresses · 2ef4ec75
      Adam Mokhtari authored
      Before, EditorViewport would start accessing arrays on keypresses (specifically
      the arrow keys) even when there were no editors.  This adds an extra check to
      prevent this.
      2ef4ec75
  20. Nov 12, 2012
Loading