From c0e02044fa22b9748ac3e3ff7ff7a9ae98ec3d99 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 25 Jan 2021 23:57:24 +0100 Subject: [PATCH] tuxtxt: simplify defines Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/afc5b3bbc9a7e4032593564766e51126a4f17bde Author: vanhofen Date: 2021-01-25 (Mon, 25 Jan 2021) Origin message was: ------------------ - tuxtxt: simplify defines --- lib/libtuxtxt/tuxtxt.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/lib/libtuxtxt/tuxtxt.h b/lib/libtuxtxt/tuxtxt.h index b74601ce6..573db3d86 100644 --- a/lib/libtuxtxt/tuxtxt.h +++ b/lib/libtuxtxt/tuxtxt.h @@ -91,18 +91,13 @@ int tv_pip_y; //#define TV169FULLSTARTX (sx+ 8*40) //(sx +(ex +1 - sx)/2) #define TV169FULLSTARTX (screen_x + screen_w / 2) -#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE +//#define TV169FULLSTARTY sy #define TV169FULLSTARTY (screen_h / 4) -#else -#define TV169FULLSTARTY sy -#endif //#define TV169FULLWIDTH (ex - sx)/2 #define TV169FULLWIDTH (screen_w / 2) -#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE +//#define TV169FULLHEIGHT (ey - sy) #define TV169FULLHEIGHT (screen_h / 2) -#else -#define TV169FULLHEIGHT (ey - sy) -#endif + #define TOPMENUSTARTX (TV43STARTX+2) //#define TOPMENUENDX TVENDX #define TOPMENUSTARTY StartY