Removed unused 'offset' member from cOsdItem

This commit is contained in:
Klaus Schmidinger 2006-01-05 12:42:11 +01:00
parent bc269db4fc
commit 02ae3e98d4
3 changed files with 3 additions and 5 deletions

View File

@ -4096,3 +4096,4 @@ Video Disk Recorder Revision History
Petri Hintukainen). If you want to use "fadvise", you can activate the line Petri Hintukainen). If you want to use "fadvise", you can activate the line
//#define USE_FADVISE //#define USE_FADVISE
in tools.c. in tools.c.
- Removed unused 'offset' member from cOsdItem.

View File

@ -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.c 1.24 2005/10/09 10:56:26 kls Exp $ * $Id: osdbase.c 1.25 2006/01/05 12:42:00 kls Exp $
*/ */
#include "osdbase.h" #include "osdbase.h"
@ -19,7 +19,6 @@
cOsdItem::cOsdItem(eOSState State) cOsdItem::cOsdItem(eOSState State)
{ {
text = NULL; text = NULL;
offset = -1;
state = State; state = State;
selectable = true; selectable = true;
fresh = true; fresh = true;
@ -28,7 +27,6 @@ cOsdItem::cOsdItem(eOSState State)
cOsdItem::cOsdItem(const char *Text, eOSState State, bool Selectable) cOsdItem::cOsdItem(const char *Text, eOSState State, bool Selectable)
{ {
text = NULL; text = NULL;
offset = -1;
state = State; state = State;
selectable = Selectable; selectable = Selectable;
fresh = true; fresh = true;

View File

@ -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.12 2005/10/02 09:18:20 kls Exp $ * $Id: osdbase.h 1.13 2006/01/05 12:42:11 kls Exp $
*/ */
#ifndef __OSDBASE_H #ifndef __OSDBASE_H
@ -49,7 +49,6 @@ enum eOSState { osUnknown,
class cOsdItem : public cListObject { class cOsdItem : public cListObject {
private: private:
char *text; char *text;
int offset;
eOSState state; eOSState state;
bool selectable; bool selectable;
protected: protected: