summaryrefslogtreecommitdiff
path: root/channels.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-03-11 13:29:06 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-03-11 13:29:06 +0100
commitc174dc0f5bd839d96e0e3d43de3e26d49c87a235 (patch)
treec315b1781fd622ed23d664a80244e36fe11206de /channels.h
parent2be049f5f7951be9152531a46849712a147f68d6 (diff)
downloadvdr-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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/channels.h b/channels.h
index 51f9830e..203a4c94 100644
--- a/channels.h
+++ b/channels.h
@@ -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