Commit Graph

11463 Commits

Author SHA1 Message Date
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
svenhoefer
e2eed8a2f5 - libtuxtxt: cleanup unused lcd code
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-25 17:10:53 +01:00
svenhoefer
966ff7ef94 - neutrino: check for non-existing tuxtxt font
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-25 17:10:27 +01:00
FlatTV
fdbc69f1cf capmt.cpp: debug mp variable 2018-01-24 08:52:52 +01:00
FlatTV
f6c85b138a movieplayer.cpp: move setMoviePlayer() to the right function
Signed-off-by: Thilo Graf <dbt@novatux.de>

# Conflicts:
#	src/gui/movieplayer.cpp
2018-01-24 07:59:12 +01:00
FlatTV
63566b2ed3 capmt.cpp: useing sendCaPmt() on unscrambled channels too 2018-01-24 07:59:12 +01:00
Thilo Graf
cdfc284a7f src/zapit/src/zapit.cpp: add missing member functions
Avoids possible reverence compile errors.

taken from https://bitbucket.org/neutrino-images/ni-neutrino-hd
2018-01-24 07:58:56 +01:00
Thilo Graf
355d938820 src/gui/components/cc_item_picture.h: remove CComponentsPictureScalable
not longer required
2018-01-23 17:34:28 +01:00
Thilo Graf
c18613500a src/gui/widget/navibar.cpp/h: fix icon scale
Remove CComponentsPictureScalable class, is not longer required.
Scale for navi button icons should working now.

Note:
It is not sure if the setting of OFFSET_INNER_MID makes sense here,
because it is possible that a scaling could happen even though
the icon would be fit.
2018-01-23 17:34:26 +01:00
Thilo Graf
bae07b95e7 src/gui/components/cc_frm_button.cpp/h: use CComponentsPicture only
CComponentsPictureScalable not longer required
2018-01-23 17:34:25 +01:00
svenhoefer
88927844bd - controlapi: fix key translation for hd51; small code alignments
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-23 17:34:23 +01:00
svenhoefer
e082a76b92 - yWeb: fix key code (KEY_PROGRAM) for hd51 remote controls
Signed-off-by: Thilo Graf <dbt@novatux.de>

includes - yWeb: fix typo in 6646aed
2018-01-23 17:34:21 +01:00
Jacek Jendrzej
044e3c7766 yaft/tools/bdf.h fix resource leak 2018-01-23 15:47:20 +01:00
Jacek Jendrzej
78d4b2e4c8 src/gui/movieplayer.cpp enable 10sek jump for hd51 2018-01-23 13:33:37 +01:00
svenhoefer
a058f74caa - rcinput: fix unknown KEY_FASTFORWARD for ARM_HARDWARE 2018-01-23 13:29:43 +01:00
svenhoefer
dec82897bd - epgview: use OFFSET define for navigation bar
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-22 19:19:12 +01:00
svenhoefer
ff72261eb7 - epgview: take footer height from CComponentsFooter ...
to get this footer in sync with the footers of other gui elements

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-22 19:19:10 +01:00
svenhoefer
f1d0fbf867 - zapit/capmt: fix uninitialized ca_map_t no_camap
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-22 19:19:09 +01:00
svenhoefer
3b65251e00 - framebuffer: better name for getWindowWidth/Height() functions
getScreenWidth/HeightRel() was confusing because it depends on users window settings.
Replace names in old unused framebuffer code too.

Signed-off-by: Thilo Graf <dbt@novatux.de>

 Conflicts:
	gui/channellist.cpp
2018-01-22 19:19:08 +01:00
svenhoefer
e32dc71ead - osd-setup: start browsing for fonts in same dir were active font is located
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-22 19:19:03 +01:00
svenhoefer
55e70cd4e9 Revert "channellist: use "classic" width if minitv is unused"
This reverts commit 901b7cbd38

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-22 19:19:02 +01:00