summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-06-07 10:41:53 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-06-07 10:41:53 +0200
commitab62437ac639dc75282c2b692448d08533c999d8 (patch)
tree425ca766a41eb02550954b4d2c0b96be053ba744
parentf93fc58f3dbf1fbdd32af0697a6f9270e54c2a1e (diff)
downloadvdr-ab62437ac639dc75282c2b692448d08533c999d8.tar.gz
vdr-ab62437ac639dc75282c2b692448d08533c999d8.tar.bz2
Removed the gap from the main menu buttons in the LCARS skin
-rw-r--r--HISTORY1
-rw-r--r--skinlcars.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index aa736dae..d4b38f38 100644
--- a/HISTORY
+++ b/HISTORY
@@ -7167,3 +7167,4 @@ Video Disk Recorder Revision History
- Added SetComponents() to the EPG handler interface (thanks to Dirk Heiser).
- Updated the Italian OSD texts (thanks to Diego Pierotto).
- Changed the button colors in the LCARS skin to better fit with the rest of the theme.
+- Removed the gap from the main menu buttons in the LCARS skin.
diff --git a/skinlcars.c b/skinlcars.c
index 27db68bb..22065dfe 100644
--- a/skinlcars.c
+++ b/skinlcars.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: skinlcars.c 2.7 2012/06/07 10:21:47 kls Exp $
+ * $Id: skinlcars.c 2.8 2012/06/07 10:37:07 kls Exp $
*/
// "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures,
@@ -928,7 +928,7 @@ void cSkinLCARSDisplayMenu::DrawMainButton(const char *Text, int x0, int x1, int
{
int h = y1 - y0;
osd->DrawEllipse(x0, y0, x1 - 1, y1 - 1, ColorBg, 7);
- osd->DrawText(x1 + Gap, y0, Text, ColorFg, ColorBg, Font, x2 - x1 - Gap, h, taBottom | taRight);
+ osd->DrawText(x1, y0, Text, ColorFg, ColorBg, Font, x2 - x1, h, taBottom | taRight);
osd->DrawEllipse(x2, y0, x3 - 1, y1 - 1, ColorBg, 5);
}