Fixed setting the editable width in the LCARS skin

This commit is contained in:
Klaus Schmidinger 2024-07-13 15:25:22 +02:00
parent 8aec1974bb
commit 6bbb596968
3 changed files with 5 additions and 3 deletions

View File

@ -3415,6 +3415,7 @@ Matthias Senzel <matthias.senzel@t-online.de>
for fixing an unnecessary double display of the current menu item in page up/down for fixing an unnecessary double display of the current menu item in page up/down
for fixing an unnecessary double display of menu items in the Recordings menu for fixing an unnecessary double display of menu items in the Recordings menu
for reporting a bug in handling cSkinDisplayMenu::GetTextAreaFont() for reporting a bug in handling cSkinDisplayMenu::GetTextAreaFont()
for reporting characters being cut off while editing in the LCARS skin
Marek Nazarko <mnazarko@gmail.com> Marek Nazarko <mnazarko@gmail.com>
for translating OSD texts to the Polish language for translating OSD texts to the Polish language

View File

@ -9940,9 +9940,10 @@ Video Disk Recorder Revision History
- Added 'lnbPowerTurnedOn = false' to cDvbTuner::ProvidesFrontend() (suggested by - Added 'lnbPowerTurnedOn = false' to cDvbTuner::ProvidesFrontend() (suggested by
Markus Ehrnsperger). Markus Ehrnsperger).
2024-07-10: 2024-07-13:
- Fixed a crash in strreplace() for multiple replacements with strings of different - Fixed a crash in strreplace() for multiple replacements with strings of different
lengths (reported by Markus Ehrnsperger). lengths (reported by Markus Ehrnsperger).
- Fixed handling of cSkinDisplayMenu::GetTextAreaFont() (reported by Matthias Senzel). - Fixed handling of cSkinDisplayMenu::GetTextAreaFont() (reported by Matthias Senzel).
- Fixed a timeout in cDvbDevice while tuning after the frontend has been reopened. - Fixed a timeout in cDvbDevice while tuning after the frontend has been reopened.
- Fixed setting the editable width in the LCARS skin (reported by Matthias Senzel).

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: skinlcars.c 5.4 2023/12/29 10:48:40 kls Exp $ * $Id: skinlcars.c 5.5 2024/07/13 15:25:22 kls Exp $
*/ */
// "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures, // "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures,
@ -1627,7 +1627,7 @@ void cSkinLCARSDisplayMenu::SetItem(const char *Text, int Index, bool Current, b
if (!Tab(i + 1)) if (!Tab(i + 1))
break; break;
} }
SetEditableWidth(xi02 - xi00 - TextSpacing - Tab(1)); SetEditableWidth(xi01 - xi00 - TextSpacing - Tab(1));
} }
void cSkinLCARSDisplayMenu::SetScrollbar(int Total, int Offset) void cSkinLCARSDisplayMenu::SetScrollbar(int Total, int Offset)