Font handling, and an audio device-related crash fix. #17

merged 10 commits into from Dec 17, 2012
Commits on Nov 16, 2012
  1. Added serialized CPMono fonts

    akmokhtari committed Nov 16, 2012
  2. Implemented error handling for audio device initialization

    akmokhtari committed Nov 16, 2012
    If there was a problem initializing the AudioDeviceManager, we show an
    AlertWindow with Retry/Quit options.  Unfortunately, this doesn't fix the bug I
    was initially trying to fix, because sometimes initialize() returns OK while
    setting the AudioDeviceManager to null.
  3. Error handling for when an audio device isn't found

    akmokhtari committed Nov 16, 2012
    Sometimes initialize() returns no error string, but will not find an audio
    device, leaving aIOd == null.  This checks for that, and aborts the app with an
    informational dialog window if so.
  4. Fixed EditorViewport crash on keypresses

    akmokhtari committed Nov 16, 2012
    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.
Commits on Nov 21, 2012
Commits on Nov 22, 2012
Commits on Nov 23, 2012
  1. Added embedded typeface handling to CustomLookAndFeel

    akmokhtari committed Nov 23, 2012
    Added typeface initialization to CustomLookAndFeel, and implemented
    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.)
Commits on Nov 24, 2012
Commits on Nov 29, 2012
  1. Merge branch 'master' of

    akmokhtari committed Nov 29, 2012
Commits on Dec 16, 2012