Get line start and end marker colors in dialogue mode from options

Originally committed to SVN as r5687.
This commit is contained in:
Thomas Goyne 2011-09-30 20:40:44 +00:00
parent c4544839e9
commit d5c4a9bec6

View file

@ -198,9 +198,9 @@ void AudioMarkerDialogueTiming::SetPosition(int64_t new_position)
if (other)
{
/// @todo Make this depend on configuration
wxPen style_left = wxPen(*wxRED, 2);
wxPen style_right = wxPen(*wxBLUE, 2);
wxPen style_left(wxColour(OPT_GET("Colour/Audio Display/Line boundary Start")->GetColour()), 2);
wxPen style_right(wxColour(OPT_GET("Colour/Audio Display/Line boundary End")->GetColour()), 2);
if (position < other->position)
{
feet = Feet_Right;