Commit Graph

1225 Commits

Author SHA1 Message Date
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
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
Jacek Jendrzej
044e3c7766 yaft/tools/bdf.h fix resource leak 2018-01-23 15:47:20 +01:00
svenhoefer
c1697a1ddb - shellwindow: fix position of button; use default color
* add comment to termwindow class; correct positioning of button isn't possible atm

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-21 17:04:00 +01:00
Jacek Jendrzej
4274b95c45 fix posible memleak 2018-01-15 19:37:45 +01:00
Stefan Seyfried
903e19d9a0 add working termwindow class
CTermWindow() should be usable as drop-in replacement for CShellWindow()
2018-01-13 20:09:04 +01:00
Stefan Seyfried
bbc0d9ab68 configure: enable YaFT widget build 2018-01-13 20:09:00 +01:00
Stefan Seyfried
14cd7c83b0 yaft: use TERM=linux, disable unused code 2018-01-13 20:08:55 +01:00
Stefan Seyfried
1318b448a8 widget/menue: one more forgotten sys/types.h include 2018-01-13 20:08:50 +01:00
Stefan Seyfried
d1392baac9 yaft: add "quiet" mode
run the command and collect the output, but do not show it on screen
2018-01-13 20:08:46 +01:00
Stefan Seyfried
26365d58d1 yaft: inline tty_init(), was mostly disabled anyway 2018-01-13 20:08:42 +01:00
Stefan Seyfried
afed654ff9 yaft: implement exit code handling, wait for correct child 2018-01-13 20:08:38 +01:00
Stefan Seyfried
ad851bcc06 yaft: prepare for neutrino shellwindow compatibility
* add sigc function to collect terminal output
* terminal output is collected without escape codes, "text only"
* if a newline is seen, each newline starts a new line,
* else, some cursor move escape sequences start a new line
2018-01-13 20:08:33 +01:00
Stefan Seyfried
70428a896c menue: initialize height variable 2018-01-13 20:08:24 +01:00
Stefan Seyfried
b982458d2d reduce dependencies on driver/rcinput.h
* add new header that only contains neutrino_msg_t and friends, often this
  is all that's needed instead of full rcinput.h
* directly include rcinput.h in some cpp files instead of relying on
  accidental inclusion in some header
* add class forward declarations to avoid dragging in rcinput indirectly
This could use more work to further reduce the impact; maybe separating
the CRCinput::key_* constants from the rcinput class would be good.
2018-01-13 20:08:20 +01:00
Stefan Seyfried
d1b167781c yaft: fix debug logging
DEBUG was defined at least in configure's config.h, so it conflicts with
the enum definition
2018-01-13 20:08:09 +01:00
Stefan Seyfried
00be19e8bb yaft: use a bigger font, created from terminus24b 2018-01-13 20:07:41 +01:00
Stefan Seyfried
911ac9d0a8 yaft: use the neutrino framebuffer functions to blit
* do not allocate a buffer but use the backbuffer of the neutrino fb
* use blit2FB to copy the terminal window onto the screen
2018-01-13 20:07:36 +01:00
Stefan Seyfried
3d853ee5c9 yaft: disable unused dcs functions 2018-01-13 20:07:32 +01:00
Stefan Seyfried
9f85296597 yaft_class: first somehow working version 2018-01-13 20:07:27 +01:00
Stefan Seyfried
2650a62986 yaft.h: fix build with g++, add neutrino stuff 2018-01-13 20:07:20 +01:00
Stefan Seyfried
e39709a637 yaft/util: disable unused stuff 2018-01-13 20:07:16 +01:00
Stefan Seyfried
83afd5340c yaft/terminal.h: fix compile with g++, remove DRCS stuff 2018-01-13 20:07:12 +01:00
Stefan Seyfried
71c7390a44 yaft/parse: fix compile with g++, disable unused stuff 2018-01-13 20:07:07 +01:00
Stefan Seyfried
365dc11c06 yaft/util: fix build with g++ and warnings enabled 2018-01-13 20:07:03 +01:00
Stefan Seyfried
8eede48931 yaft/fb/common: add neutrino glue, disable unused stuff 2018-01-13 20:06:59 +01:00
Stefan Seyfried
7dd64ebd36 yaft/fb/common: remove cmap and wallpaper stuff 2018-01-13 20:06:55 +01:00
Stefan Seyfried
f2136f5f4a yaft neutrinofb.h: add license, remove cmap stuff 2018-01-13 20:06:52 +01:00
Stefan Seyfried
14b47911a8 copy fb/linux.h to fb/neutrinofb.h 2018-01-13 20:06:49 +01:00
Stefan Seyfried
7ead0f4a64 add glyph.h
./mkfont_bdf table/ISO8859 fonts/milkjf_8x16.bdf > glyph.h
2018-01-13 20:06:45 +01:00
Stefan Seyfried
40e6f3815d yaft: integrate in neutrino automake system
* rename original makefile
* copy yaft.c to yaft_class.cpp (does not yet compile of course)
2018-01-13 20:06:40 +01:00
Stefan Seyfried
fa0e0b1a04 import yaft from https://github.com/uobikiemukot/yaft.git commit c455d6a8 2018-01-13 20:06:32 +01:00
svenhoefer
e1c2161e99 - icons: add missing audioplay icon for minitv in channellist
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-05 00:52:58 +01:00
svenhoefer
3ff72fd87e - icons: add missing question icon
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-05 00:52:58 +01:00
svenhoefer
27c576fee0 - icons.h: some more re-sorts to get more structure - vol.2
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-05 00:52:58 +01:00
svenhoefer
202bb5622b - icons.h: some more re-sorts to get more structure
Conflicts:
	src/gui/widget/icons.h

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-05 00:52:58 +01:00
svenhoefer
9bb0e45fce - icons: rename mute.png => muted.png; ...
This icon isn't a button. It signalizes the mute-status. So i renamed it to get the name free for the button icon.

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-05 00:52:58 +01:00
svenhoefer
0cac1e8b05 - icons.h: sort movieplayer icons
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-05 00:52:58 +01:00
svenhoefer
d076a7da99 - icons.h: sort infoviewer status icons
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-05 00:52:58 +01:00
svenhoefer
3febfab2b0 - icons: remove unused ca icon
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-05 00:52:58 +01:00
svenhoefer
96bab42f8a - icons.h: small re-sort
Conflicts:
	src/gui/widget/icons.h

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-05 00:52:58 +01:00
svenhoefer
b956362714 - icons: remove unused lock_passive icon
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-05 00:52:58 +01:00
svenhoefer
df41973540 - icons: add marker icon for passive locks
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-05 00:52:58 +01:00
svenhoefer
ccad9d65df - icon. remove unused epg icon
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-05 00:52:58 +01:00
svenhoefer
bd443cb69c - icons: add new epg marker icon
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-05 00:52:58 +01:00
svenhoefer
7f65673f0e - icons: remove unused zap and pip icons
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-05 00:52:58 +01:00
svenhoefer
e03f70ccb0 - icons.h: small re-sort
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-01-05 00:52:58 +01:00