diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-03-11 13:29:06 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-03-11 13:29:06 +0100 |
commit | c174dc0f5bd839d96e0e3d43de3e26d49c87a235 (patch) | |
tree | c315b1781fd622ed23d664a80244e36fe11206de /channels.h | |
parent | 2be049f5f7951be9152531a46849712a147f68d6 (diff) | |
download | vdr-c174dc0f5bd839d96e0e3d43de3e26d49c87a235.tar.gz vdr-c174dc0f5bd839d96e0e3d43de3e26d49c87a235.tar.bz2 |
The channel name column in the "What's on now/next" menu now adjusts its width to display the full short name of each channel
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: channels.h 2.14 2011/08/06 09:56:13 kls Exp $ + * $Id: channels.h 2.15 2012/03/11 11:46:39 kls Exp $ */ #ifndef __CHANNELS_H @@ -200,6 +200,8 @@ public: class cChannels : public cRwLock, public cConfig<cChannel> { private: int maxNumber; + int maxChannelNameLength; + int maxShortChannelNameLength; int modified; int beingEdited; cHash<cChannel> channelsHashSid; @@ -224,6 +226,8 @@ public: bool HasUniqueChannelID(cChannel *NewChannel, cChannel *OldChannel = NULL); bool SwitchTo(int Number); int MaxNumber(void) { return maxNumber; } + int MaxChannelNameLength(void); + int MaxShortChannelNameLength(void); void SetModified(bool ByUser = false); int Modified(void); ///< Returns 0 if no channels have been modified, 1 if an automatic |