mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
The "Recording info" page of the skins that come with VDR now displays the name of the channel (if available) from which this recording was taken
This commit is contained in:
parent
1983983214
commit
01c44e8b2c
5
HISTORY
5
HISTORY
@ -7684,3 +7684,8 @@ Video Disk Recorder Revision History
|
|||||||
immediately.
|
immediately.
|
||||||
- When sorting recordings by name, folders are now always at the top of the list.
|
- When sorting recordings by name, folders are now always at the top of the list.
|
||||||
- Updated the Russian OSD texts (thanks to Oleg Roitburd).
|
- Updated the Russian OSD texts (thanks to Oleg Roitburd).
|
||||||
|
|
||||||
|
2013-03-03: Version 1.7.40
|
||||||
|
|
||||||
|
- The "Recording info" page of the skins that come with VDR now displays the name of
|
||||||
|
the channel (if available) from which this recording was taken.
|
||||||
|
@ -109,3 +109,8 @@ VDR Plugin 'skincurses' Revision History
|
|||||||
2013-01-12: Version 0.1.14
|
2013-01-12: Version 0.1.14
|
||||||
|
|
||||||
- Adapted Makefile to changes introduced in recent VDR versions.
|
- Adapted Makefile to changes introduced in recent VDR versions.
|
||||||
|
|
||||||
|
2013-03-03: Version 0.1.15
|
||||||
|
|
||||||
|
- The "Recording info" page now displays the name of the channel (if available)
|
||||||
|
from which this recording was taken.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: skincurses.c 2.11 2013/01/12 14:13:12 kls Exp $
|
* $Id: skincurses.c 2.12 2013/03/03 15:33:59 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ncurses.h>
|
#include <ncurses.h>
|
||||||
@ -12,7 +12,7 @@
|
|||||||
#include <vdr/skins.h>
|
#include <vdr/skins.h>
|
||||||
#include <vdr/videodir.h>
|
#include <vdr/videodir.h>
|
||||||
|
|
||||||
static const char *VERSION = "0.1.14";
|
static const char *VERSION = "0.1.15";
|
||||||
static const char *DESCRIPTION = trNOOP("A text only skin");
|
static const char *DESCRIPTION = trNOOP("A text only skin");
|
||||||
static const char *MAINMENUENTRY = NULL;
|
static const char *MAINMENUENTRY = NULL;
|
||||||
|
|
||||||
@ -447,8 +447,7 @@ void cSkinCursesDisplayMenu::SetRecording(const cRecording *Recording)
|
|||||||
const cRecordingInfo *Info = Recording->Info();
|
const cRecordingInfo *Info = Recording->Info();
|
||||||
int y = 2;
|
int y = 2;
|
||||||
cTextScroller ts;
|
cTextScroller ts;
|
||||||
char t[32];
|
cString t = cString::sprintf("%s %s %s", *DateString(Recording->Start()), *TimeString(Recording->Start()), Info->ChannelName() ? Info->ChannelName() : "");
|
||||||
snprintf(t, sizeof(t), "%s %s", *DateString(Recording->Start()), *TimeString(Recording->Start()));
|
|
||||||
ts.Set(osd, 0, y, ScOsdWidth, ScOsdHeight - y - 2, t, &Font, clrYellow, clrBackground);
|
ts.Set(osd, 0, y, ScOsdWidth, ScOsdHeight - y - 2, t, &Font, clrYellow, clrBackground);
|
||||||
y += ts.Height();
|
y += ts.Height();
|
||||||
if (Info->GetEvent()->ParentalRating()) {
|
if (Info->GetEvent()->ParentalRating()) {
|
||||||
|
6
config.h
6
config.h
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: config.h 2.69 2013/02/18 10:41:43 kls Exp $
|
* $Id: config.h 2.70 2013/03/03 15:38:17 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
@ -22,8 +22,8 @@
|
|||||||
|
|
||||||
// VDR's own version number:
|
// VDR's own version number:
|
||||||
|
|
||||||
#define VDRVERSION "1.7.39"
|
#define VDRVERSION "1.7.40"
|
||||||
#define VDRVERSNUM 10739 // Version * 10000 + Major * 100 + Minor
|
#define VDRVERSNUM 10740 // Version * 10000 + Major * 100 + Minor
|
||||||
|
|
||||||
// The plugin API's version number:
|
// The plugin API's version number:
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: skinclassic.c 2.9 2013/02/22 15:25:31 kls Exp $
|
* $Id: skinclassic.c 2.10 2013/03/03 15:26:09 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "skinclassic.h"
|
#include "skinclassic.h"
|
||||||
@ -391,8 +391,7 @@ void cSkinClassicDisplayMenu::SetRecording(const cRecording *Recording)
|
|||||||
const cFont *font = cFont::GetFont(fontOsd);
|
const cFont *font = cFont::GetFont(fontOsd);
|
||||||
int y = y2;
|
int y = y2;
|
||||||
cTextScroller ts;
|
cTextScroller ts;
|
||||||
char t[32];
|
cString t = cString::sprintf("%s %s %s", *DateString(Recording->Start()), *TimeString(Recording->Start()), Info->ChannelName() ? Info->ChannelName() : "");
|
||||||
snprintf(t, sizeof(t), "%s %s", *DateString(Recording->Start()), *TimeString(Recording->Start()));
|
|
||||||
ts.Set(osd, x1, y, x2 - x1, y3 - y, t, font, Theme.Color(clrMenuEventTime), Theme.Color(clrBackground));
|
ts.Set(osd, x1, y, x2 - x1, y3 - y, t, font, Theme.Color(clrMenuEventTime), Theme.Color(clrBackground));
|
||||||
y += ts.Height();
|
y += ts.Height();
|
||||||
if (Info->GetEvent()->ParentalRating()) {
|
if (Info->GetEvent()->ParentalRating()) {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: skinlcars.c 2.19 2013/02/15 15:08:02 kls Exp $
|
* $Id: skinlcars.c 2.20 2013/03/03 15:23:58 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures,
|
// "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures,
|
||||||
@ -1599,8 +1599,7 @@ void cSkinLCARSDisplayMenu::SetRecording(const cRecording *Recording)
|
|||||||
int xl = xi00;
|
int xl = xi00;
|
||||||
int y = yi00;
|
int y = yi00;
|
||||||
cTextScroller ts;
|
cTextScroller ts;
|
||||||
char t[32];
|
cString t = cString::sprintf("%s %s %s", *DateString(Recording->Start()), *TimeString(Recording->Start()), Info->ChannelName() ? Info->ChannelName() : "");
|
||||||
snprintf(t, sizeof(t), "%s %s", *DateString(Recording->Start()), *TimeString(Recording->Start()));
|
|
||||||
ts.Set(osd, xl, y, xi01 - xl, yi01 - y, t, font, Theme.Color(clrEventTime), Theme.Color(clrBackground));
|
ts.Set(osd, xl, y, xi01 - xl, yi01 - y, t, font, Theme.Color(clrEventTime), Theme.Color(clrBackground));
|
||||||
y += ts.Height();
|
y += ts.Height();
|
||||||
if (Info->GetEvent()->ParentalRating()) {
|
if (Info->GetEvent()->ParentalRating()) {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: skinsttng.c 2.16 2012/09/09 11:39:06 kls Exp $
|
* $Id: skinsttng.c 2.17 2013/03/03 15:29:28 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures
|
// "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures
|
||||||
@ -707,8 +707,7 @@ void cSkinSTTNGDisplayMenu::SetRecording(const cRecording *Recording)
|
|||||||
int xl = x3 + TextSpacing;
|
int xl = x3 + TextSpacing;
|
||||||
int y = y3;
|
int y = y3;
|
||||||
cTextScroller ts;
|
cTextScroller ts;
|
||||||
char t[32];
|
cString t = cString::sprintf("%s %s %s", *DateString(Recording->Start()), *TimeString(Recording->Start()), Info->ChannelName() ? Info->ChannelName() : "");
|
||||||
snprintf(t, sizeof(t), "%s %s", *DateString(Recording->Start()), *TimeString(Recording->Start()));
|
|
||||||
ts.Set(osd, xl, y, x4 - xl, y4 - y, t, font, Theme.Color(clrMenuEventTime), Theme.Color(clrBackground));
|
ts.Set(osd, xl, y, x4 - xl, y4 - y, t, font, Theme.Color(clrMenuEventTime), Theme.Color(clrBackground));
|
||||||
y += ts.Height();
|
y += ts.Height();
|
||||||
if (Info->GetEvent()->ParentalRating()) {
|
if (Info->GetEvent()->ParentalRating()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user