summaryrefslogtreecommitdiff
path: root/skins.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2006-02-05 18:00:00 +0100
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2006-02-05 18:00:00 +0100
commitc23992b807aca1cea08193b773f80eee0cb8f829 (patch)
tree63dd7d414c790c8cb0afdff07a35d77778ed25c6 /skins.h
parentc37734080c45ef7ba60d589df0d88fb9a6064c1b (diff)
downloadvdr-patch-lnbsharing-c23992b807aca1cea08193b773f80eee0cb8f829.tar.gz
vdr-patch-lnbsharing-c23992b807aca1cea08193b773f80eee0cb8f829.tar.bz2
Version 1.3.42vdr-1.3.42
- Removed leftover 'needsBufferReserve' variable from cTransfer (thanks to Marco Schlüßler). - Fixed setting "No title" for broken event data (reported by Ronny Kornexl). - Fixed channel up/down switching on single card systems (reported by Stefan Huelswitt). - Fixed handling "pending" timers that blocked others that actually could record (reported by Thomas Koch). - Speeded up cVideoRepacker (thanks to Reinhard Nissl). - Added an 'Id' parameter to cDevice::PlayAudio() to allow plugins to easier process the audio data (thanks to Marco Schlüßler). - Added Czech language texts (thanks to Vladimír Bárta). Plugin authors may want to add the new entries to their I18N texts and contact the translators to have their texts translated. Note that there are now 21 different OSD languages, so please make sure you have 21 versions for each of your texts. - Updated the Polish OSD texts (thanks to Jaroslaw Swierczynski). - Fixed auto advance in string entry fields when pressing Up/Down in insert mode (reported by Udo Richter). - Fixed handling the "Setup/OSD/Menu button closes" option when set to 'yes' in case a replay is active (thanks to Udo Richter). - Improved cUnbufferedFile; USE_FADVISE is now defined in tools.c by default, so if you don't want to use "fadvise" you need to comment out that line (thanks to Artur Skawina). - Fixed a missing ',' in the Swedish OSD texts (thanks to Arthur Konovalov). - cDevice::Transferring() can now be used to determine whether the (primary) device is currently playing in Transfer Mode (based on a suggestion by Reinhard Nissl). - The 'runvdr' script no longer uses the $VDRUSR environment variable to set the user id under which 'vdr' shall run. Just add the '-u username' option when you call 'runvdr'. - Fixed multiple entries of the same subdirectory in the "Recordings" menu (reported by Christian Jacobsen). - Enabled generating a core dump if VDR is run with a different user id (thanks to Ville Skyttä). - Fixed handling the "Blue" key in the "Schedule" menu for the current channel (thanks to Rolf Ahrenberg). - Renamed the Makefile target 'plugins-clean' to 'clean-plugins' (suggested by Sebastian Frei). - Made all font and image data 'const' (thanks to Darren Salt). - Fixed scrolling with Up/Down in case there are non-selectable items at the beginning or end of the menu (reported by Helmut Auer). - Added cSkin::GetTextAreaWidth() and cSkin::GetTextAreaFont(), so that a plugin that wants to do special text formatting can do so (thanks to Alexander Rieger).
Diffstat (limited to 'skins.h')
-rw-r--r--skins.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/skins.h b/skins.h
index f862cc1..96f2821 100644
--- a/skins.h
+++ b/skins.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: skins.h 1.10 2006/01/08 11:40:21 kls Exp $
+ * $Id: skins.h 1.11 2006/02/05 14:59:57 kls Exp $
*/
#ifndef __SKINS_H
@@ -160,6 +160,19 @@ public:
///< the Scroll() function will be called to drive scrolling that text if
///< necessary.
//XXX ??? virtual void SetHelp(const char *Help) = 0;
+ virtual int GetTextAreaWidth(void) const;
+ ///< Returns the width in pixel of the area which is used to display text
+ ///< with SetText(). The width of the area is the width of the central area
+ ///< minus the width of any possibly displayed scroll-bar or other decoration.
+ ///< The default implementation returns 0. Therefore a caller of this method
+ ///< must be prepared to receive 0 if the plugin doesn't implement this method.
+ virtual const cFont *GetTextAreaFont(bool FixedFont) const;
+ ///< Returns a pointer to the font which is used to display text with SetText().
+ ///< The parameter FixedFont has the same meaning as in SetText(). The default
+ ///< implementation returns NULL. Therefore a caller of this method must be
+ ///< prepared to receive NULL if the plugin doesn't implement this method.
+ ///< The returned pointer is valid a long as the instance of cSkinDisplayMenu
+ ///< exists.
};
class cSkinDisplayReplay : public cSkinDisplay {