Merge branch 'deltecent-rdairplay-pie'

This commit is contained in:
Fred Gleason 2018-11-02 11:10:00 -04:00
commit 7f394f4e32
3 changed files with 8 additions and 2 deletions

View File

@ -17964,3 +17964,7 @@
2018-11-02 David Klann <dklann@linux.com>
* Added a 'Log Machines' section to the 'Rivendell Macro Language'
chapter of the Operations Guide.
2018-11-02 Patrick Linstruth <patrick@deltecent.com>
* Fixed the 'off air' color in the Pie Widget in rdairplay(1).
* Added information regarding the OnAir Flag to the Operations
Guide.

View File

@ -161,13 +161,15 @@
widget counts down the final few seconds of each event. The length
of time it counts down, along with whether it counts to the start
of the next transition or the absolute end of the event are both
configurable in RDADmin. The color of the band that grows as the
configurable in RDAdmin. The color of the band that grows as the
countdown progresses (shown in GREEN in the illustration) will
change color
to indicate if the currently playing event is the last event before
a log stopdown. If it is the last, it will be RED, if not, GREEN.
A BLUE band and countdown will also appear to indicate the event's
talk time (if talk time markers have been set in the underlying cart).
If the On-Air flag has been set to ON, the area around the
pie widget will be RED.
</para>
</sect2>
<sect2 xml:id="sect.rdairplay.the_next_stop_counter">

View File

@ -254,7 +254,7 @@ void PieCounter::paintEvent(QPaintEvent *e)
ring_angle = 0;
if(pie_onair||pie_pixmap.isNull()) {
p->fillRect(0,0,PIE_COUNTER_BBOX,PIE_COUNTER_BBOX,PIE_ONAIR_OFF_COLOR);
p->fillRect(0,0,PIE_COUNTER_BBOX,PIE_COUNTER_BBOX,PIE_ONAIR_COLOR);
}
else {
p->drawPixmap(-PIE_X_PADDING,-PIE_Y_PADDING,pie_pixmap);