mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added direct access to the index data of cPalette (needed for displaying SPUs)
This commit is contained in:
parent
5122a2d12d
commit
d5208be84b
@ -155,6 +155,7 @@ Andreas Schultz <aschultz@warp10.net>
|
|||||||
for fixing a crash in case there is no 'epg.data' at program start
|
for fixing a crash in case there is no 'epg.data' at program start
|
||||||
for fixing a bug in the EPG bugfix mechanism if the extended description is shorter
|
for fixing a bug in the EPG bugfix mechanism if the extended description is shorter
|
||||||
than 3 characters
|
than 3 characters
|
||||||
|
for adding direct access to the index data of cPalette (needed for displaying SPUs)
|
||||||
|
|
||||||
Aaron Holtzman
|
Aaron Holtzman
|
||||||
for writing 'ac3dec'
|
for writing 'ac3dec'
|
||||||
|
5
HISTORY
5
HISTORY
@ -1359,3 +1359,8 @@ Video Disk Recorder Revision History
|
|||||||
- The following limitations apply to this version:
|
- The following limitations apply to this version:
|
||||||
+ The '-a' option (for Dolby Digital audio) doesn't work yet.
|
+ The '-a' option (for Dolby Digital audio) doesn't work yet.
|
||||||
+ Switching between different language tracks doesn't work yet.
|
+ Switching between different language tracks doesn't work yet.
|
||||||
|
|
||||||
|
2002-07-13: Version 1.1.5
|
||||||
|
|
||||||
|
- Added direct access to the index data of cPalette (needed for displaying SPUs,
|
||||||
|
thanks to Andreas Schultz).
|
||||||
|
4
config.h
4
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 1.119 2002/06/16 14:49:52 kls Exp $
|
* $Id: config.h 1.120 2002/07/13 09:46:59 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
@ -19,7 +19,7 @@
|
|||||||
#include "eit.h"
|
#include "eit.h"
|
||||||
#include "tools.h"
|
#include "tools.h"
|
||||||
|
|
||||||
#define VDRVERSION "1.1.4"
|
#define VDRVERSION "1.1.5"
|
||||||
|
|
||||||
#define MAXPRIORITY 99
|
#define MAXPRIORITY 99
|
||||||
#define MAXLIFETIME 99
|
#define MAXLIFETIME 99
|
||||||
|
@ -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: osdbase.h 1.2 2002/05/18 12:38:17 kls Exp $
|
* $Id: osdbase.h 1.3 2002/07/13 10:16:18 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __OSDBASE_H
|
#ifndef __OSDBASE_H
|
||||||
@ -52,6 +52,7 @@ protected:
|
|||||||
typedef unsigned char tIndexes[MAXNUMCOLORS];
|
typedef unsigned char tIndexes[MAXNUMCOLORS];
|
||||||
public:
|
public:
|
||||||
cPalette(int Bpp);
|
cPalette(int Bpp);
|
||||||
|
void SetColor(int Index, eDvbColor Color);
|
||||||
int Index(eDvbColor Color);
|
int Index(eDvbColor Color);
|
||||||
void Reset(void);
|
void Reset(void);
|
||||||
const eDvbColor *Colors(int &FirstColor, int &LastColor);
|
const eDvbColor *Colors(int &FirstColor, int &LastColor);
|
||||||
@ -62,7 +63,6 @@ class cBitmap : public cPalette {
|
|||||||
private:
|
private:
|
||||||
cFont *font;
|
cFont *font;
|
||||||
eDvbFont fontType;
|
eDvbFont fontType;
|
||||||
void SetIndex(int x, int y, char Index);
|
|
||||||
char *bitmap;
|
char *bitmap;
|
||||||
bool clearWithBackground;
|
bool clearWithBackground;
|
||||||
protected:
|
protected:
|
||||||
@ -74,6 +74,7 @@ public:
|
|||||||
bool ClearWithBackground(void) { return clearWithBackground; }
|
bool ClearWithBackground(void) { return clearWithBackground; }
|
||||||
eDvbFont SetFont(eDvbFont Font);
|
eDvbFont SetFont(eDvbFont Font);
|
||||||
bool Dirty(int &x1, int &y1, int &x2, int &y2);
|
bool Dirty(int &x1, int &y1, int &x2, int &y2);
|
||||||
|
void SetIndex(int x, int y, char Index);
|
||||||
void SetPixel(int x, int y, eDvbColor Color);
|
void SetPixel(int x, int y, eDvbColor Color);
|
||||||
void SetBitmap(int x, int y, const cBitmap &Bitmap);
|
void SetBitmap(int x, int y, const cBitmap &Bitmap);
|
||||||
int Width(void) { return width; }
|
int Width(void) { return width; }
|
||||||
|
Loading…
Reference in New Issue
Block a user