Font handling, and an audio device-related crash fix. #17
open-ephys merged 10 commits into open-ephys:master from akmokhtari:master
Dec 17, 2012
Commits on 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.
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.
Commits on Nov 21, 2012
Commits on Nov 22, 2012
Commits on Nov 23, 2012
Nov 23, 2012
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.)
Commits on Nov 24, 2012
Commits on Nov 29, 2012
Commits on Dec 16, 2012