open-ephys/GUI — pull request #17 by akmokhtari (2012-12-17 00:38:43+00:00)
Title: Font handling, and an audio device-related crash fix.

The 2.0 update isn't here, sadly, but here are a few (hopefully useful) changes:

- Error handling for getting the audio device. If you've got (for example) a browser open, it might hog control of the audio source, causing the program to crash. This implements a retry/quit dialog so that users can at least get an idea of what the problem is.

- Added serialized cpmono fonts, and set CustomLookAndFeel up to handle them. You can now use Font("Paragraph Font", fontSize, Font::fontStyle) to create fonts. I admit that it's not clear to me whether people will like this abstraction, so perhaps it should be modified again so that you can use the typeface names directly: Font("CPMono Bold", fontSize, Font::fontStyle).

- Removed some obsolete macros.