tuxtxt: simplify defines

Origin commit data
------------------
Branch: ni/coolstream
Commit: afc5b3bbc9
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-01-25 (Mon, 25 Jan 2021)

Origin message was:
------------------
- tuxtxt: simplify defines

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-01-25 23:57:24 +01:00
parent f5adee5337
commit 17a104c117

View File

@@ -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