~ubuntu-branches/ubuntu/wily/aegisub/wily-proposed

« back to all changes in this revision

Viewing changes to src/audio_colorscheme.cpp

  • Committer: Package Import Robot
  • Author(s): Sebastian Reichel, Pascal De Vuyst, Juan Picca, Sebastian Reichel
  • Date: 2015-08-04 21:40:50 UTC
  • mfrom: (5.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20150804214050-y2aghm9vdksoc8t7
Tags: 3.2.2+dfsg-1
[ Pascal De Vuyst ]
* Fix Typo in package description (Closes: #739219)

[ Juan Picca ]
* Add patch to fix reproducible build (Closes: #789728)

[ Sebastian Reichel ]
* New upstream release
 - remove vendor directory from orig tarball
* Update Debian Standards Version to 3.9.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
//
28
28
// Aegisub Project http://www.aegisub.org/
29
29
 
30
 
/// @file audio_colorscheme.cpp
31
 
/// @ingroup audio_ui
32
 
///
33
 
/// Manage colour schemes for the audio display
34
 
 
35
 
#include "config.h"
36
 
 
37
 
#include <algorithm>
38
 
 
39
30
#include "audio_colorscheme.h"
40
31
 
41
32
#include "audio_rendering_style.h"
55
46
                case AudioStyle_Inactive: opt_base += "Inactive/"; break;
56
47
                case AudioStyle_Selected: opt_base += "Selection/"; break;
57
48
                case AudioStyle_Primary:  opt_base += "Primary/"; break;
58
 
                default: throw agi::InternalError("Unknown audio rendering styling", nullptr);
 
49
                default: throw agi::InternalError("Unknown audio rendering styling");
59
50
        }
60
51
 
61
52
        double h_base  = OPT_GET(opt_base + "Hue Offset")->GetDouble();