Commit Graph

11383 Commits

Author SHA1 Message Date
TangoCash
00f29acad4 fix channellist footer 2018-02-04 20:02:35 +01:00
Stefan Seyfried
056d6a1a18 CScanTs: make left/right borders symmetric 2018-02-04 19:57:15 +01:00
Stefan Seyfried
5bed4f762b CScanTs: make better use of available space
With bigger font sizes, the the allocated space for satellite,
transponder and frequency was getting smaller.
Fix this by just keeping a safe space of 10 pixels to the radar icon.

 Conflicts:
	src/gui/scan.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-02-04 19:56:54 +01:00
Stefan Seyfried
5da6ce30a3 CScanTs::paintLine: fix size calculation for font box 2018-02-04 19:00:17 +01:00
Stefan Seyfried
daebc8d528 fontrender: fix width calculation of bounding box
some glyphs would still draw right of the allocated space,
fix the width calculation to avoid this
2018-02-04 18:59:52 +01:00
Stefan Seyfried
daafdd6c27 fontrenderer: use helper variable for better code readability 2018-02-04 13:26:31 +01:00
Stefan Seyfried
d6487809d5 fontrenderer: fix inverted logic for "rendering to buffer" 2018-02-04 13:17:58 +01:00
max_10
67758abcdb fix no save web channels in bouquets
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-02-01 10:59:32 +01:00
svenhoefer
c0b433c83d - yaft: allow new shell.ttf in yaft-widget too
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-30 09:24:49 +01:00
Stefan Seyfried
4680503a0e yaft: initialize unused variables for valgrind silence ;) 2018-01-28 21:32:41 +01:00
Stefan Seyfried
0de6755cb2 yaft: optimize blit2FB call for partial blit 2018-01-28 21:32:39 +01:00
Stefan Seyfried
22a2356b84 yaft: make font rendering more reliable
at least with older freetype versions, font widths are not reported
reliably, so use a better way to determine the width and use a bigger
painting box for the fontrenderer so it does not skip rendering for
space reasons
2018-01-28 21:32:37 +01:00
Stefan Seyfried
803aacf6a6 stifb: make blit2FB more flexible wrt blit source 2018-01-28 21:32:35 +01:00
Stefan Seyfried
29aa62e819 fontrenderer: adjust width clipping
instead of not even trying to draw glyphs that *might* extend past the
allocated space, actually draw as much as fits in the box
2018-01-28 21:32:33 +01:00
Stefan Seyfried
fddf9ec308 yaft: make "CSI ?1c" response linux console compatible 2018-01-28 21:32:31 +01:00
Stefan Seyfried
2213cb1448 yaft: optimize for paint == false case 2018-01-28 21:32:29 +01:00
Stefan Seyfried
bdb09c2a95 yaft: refactor term_init() into init() function 2018-01-28 21:32:27 +01:00
Stefan Seyfried
de95855ef3 yaft: remove unused DCS code artifacts 2018-01-28 21:32:25 +01:00
Stefan Seyfried
6b14e13fea yaft: remove unnecessary lines_available variable 2018-01-28 21:32:23 +01:00
Stefan Seyfried
4ee09e175d yaft: use neutrino font renderer 2018-01-28 21:32:20 +01:00
Stefan Seyfried
dbf83a85f2 yaft: improve newline detection 2018-01-28 21:32:18 +01:00
Stefan Seyfried
8adead92e1 yaft: remove support for double-width characters
for our usecase (output of system commands), this is not necessary
2018-01-28 21:32:16 +01:00
Stefan Seyfried
0485c2091f fontrenderer: allow to render into a memory buffer
might be useful for offscreen font rendering
2018-01-28 21:32:14 +01:00
Stefan Seyfried
b68031ca07 xmlinterface: fix broken to_utf8() algorithm 2018-01-28 21:32:12 +01:00
Thilo Graf
f574653978 fonts: add missing variables use aliases for some font types 2018-01-28 00:20:51 +01:00
svenhoefer
088cd23c68 - neutrinofonts: add a bit debug output to new SetupShellFont() function
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-27 16:16:03 +01:00
svenhoefer
6204eaecb4 - fonts: use monospaced tuxtxt font as shell font for shellwindow widget
Conflicts:
	data/fonts/Makefile.am

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-27 16:16:02 +01:00
svenhoefer
97d349872a - neutrinofonts: allow monospaced font for shellwindow widget
Font is initialized at runtime and uses FONTDIR_VAR "/shell.ttf" or FONTDIR "/shell.ttf"

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-27 16:16:00 +01:00
Stefan Seyfried
fe6b7b588f yaft: remove unused files
Conflicts:
	src/gui/widget/yaft/tools/bdf.h

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-27 16:15:58 +01:00
Stefan Seyfried
d2f6f7a359 yaft: use c++ YaFT_p implementation in yaft_class 2018-01-27 16:15:55 +01:00
Stefan Seyfried
145b03eab6 yaft: actually build yaft_priv class 2018-01-27 16:15:52 +01:00
Stefan Seyfried
6f821d04cb yaft: convert into c++ class 2018-01-27 16:15:50 +01:00
Stefan Seyfried
2551dfd994 yaft: remove unnecessary cfb struct member 2018-01-27 16:15:48 +01:00
Stefan Seyfried
5598cd50aa yaft: add a second font for low-resolution displays
TODO: instead of statically defining the characters, freetype should be
used for rendering
2018-01-27 16:15:45 +01:00
Stefan Seyfried
7a824ccd50 yaft: simplify pointer arithmetics 2018-01-27 16:15:43 +01:00
Stefan Seyfried
9832f7712f fb_accel_td: don't crash for no reason 2018-01-27 16:15:41 +01:00
svenhoefer
c05212e86b - neutrino: enable caching teletext by default
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-27 16:15:39 +01:00
Thilo Graf
c1a3f02dad src/gui/audioplayer.cpp: add missing 'else'
Comes in with picked commit 0d0553a639
Original commit was noiseless deleted and its content was replaced.
2018-01-27 16:15:38 +01:00
Thilo Graf
e6edf50673 lib/libtuxtxt: remove not required if's with HAVE_SPARK_HARDWARE
It seems this may have come from incomplete cherry-picks,
also some codepage conflicts should be solved.
2018-01-27 16:15:36 +01:00
Thilo Graf
2610e38eae fonts: remove non regular LiberationSans ttf's 2018-01-27 16:14:49 +01:00
svenhoefer
70f3941e6c - tuxtxt: disable unused defines for alternative fonts
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-27 13:20:20 +01:00
svenhoefer
0d0553a639 - audioplayer: split RC_home/RC_stop handling; ...
now RC_home do not stop playback anymore and RC_stop do not close gui.

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-26 23:39:58 +01:00
svenhoefer
9ffbf84ce1 - channelist: small reworks in numericZap() function; use OFFSET defines
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-26 23:37:02 +01:00
svenhoefer
a3ce3d65c4 - cc_item_shapes; add ClearBoxRel() function; analogous to PaintBoxRel()
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-26 23:36:35 +01:00
svenhoefer
88ded2e279 - tuxtxt2.conf: align to hardcoded values; align to our current font; install to image
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-26 23:35:14 +01:00
svenhoefer
688f5f25ba - libtuxtxt: some more whitespace cleanups
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-26 23:33:52 +01:00
svenhoefer
926274c8ba - libtuxtxt: ports from martii's neutrino-mp ...
* port screenmode handling
* switch from bgra to argb color handling
* port font rendering improvement

 Conflicts:
	lib/libtuxtxt/tuxtxt.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-26 23:33:05 +01:00
svenhoefer
bc5839fc7f - libtuxtxt: move overloaded members directly to the matching functions
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-26 23:00:50 +01:00
svenhoefer
eb3e449047 - libtuxtxt: whitespace cleanup; leading eight spaces => tab
Conflicts:
	lib/libtuxtxt/tuxtxt.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-26 23:00:48 +01:00
max_10
1336a55de3 libtuxtxt: minor clean-up, no code change
Signed-off-by: Thilo Graf <dbt@novatux.de>

# Conflicts:
#	lib/libtuxtxt/tuxtxt.cpp
2018-01-26 22:58:34 +01:00