Commit Graph

49 Commits

Author SHA1 Message Date
Thilo Graf
9eeea78fb8 screensaver.cpp: start clock only if not running 2018-11-20 09:17:02 +01:00
Thilo Graf
d684e1eb85 src/gui/screensaver.cpp: ensure hav clean background in clock mode 2018-10-28 19:41:22 +01:00
Thilo Graf
b902f870e6 src/gui/screensaver.cpp: use showFrame() instead paintImage()
showFrame now seems to work fine inside screensaver
2018-10-28 19:41:22 +01:00
Thilo Graf
3ac8217d07 audioplay: clean up, add missing code for audio/internet player functionality
* favorites handling
* auto play
* xml data/logo handling
* locales
* settings
* clean ups

taken from https://bitbucket.org/neutrino-images/ni-neutrino-hd
2018-10-02 23:24:55 +02:00
svenhoefer
730a357368 - audioplayer/screensaver: refresh screensaver picture when title was changed
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-02 23:24:55 +02:00
svenhoefer
4d934ad173 - screensaver: allow to switch clock <-> picture while runtime
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-02 23:24:55 +02:00
svenhoefer
4f911979e0 - rename COVERDIR => COVERDIR_TMP
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-02 23:24:53 +02:00
GetAway
3720fb31b4 screensaver.cpp: add 2 more events to filter 2018-09-17 13:47:10 +02:00
svenhoefer
685f5306bd - screensaver: move code for ignored msgs to screensaver code
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-08-04 00:18:34 +02:00
Thilo Graf
c56f60d603 src/gui/screensaver.cpp: ensure usage of transparent background for clock 2018-05-21 15:17:33 +02:00
Thilo Graf
6dbb1f5959 src/gui/screensaver.cpp: remove call of showFrame()
This should fix an issue with screen saver with movieplayer.

Call of showFrame() causes unintentional behavior on cs hardware
with green screens and video decoder seems to become unusable.
2018-05-21 15:17:26 +02:00
Thilo Graf
b8c28d069d src/gui/screensaver.cpp: simplify painting images
Images will paint on full screen without blank frame in movie player mode.

TODO: Only with scale at the moment, but not sure if this must be changed.
2018-05-18 16:53:51 +02:00
Thilo Graf
18a4ae0098 Screensaver: try to fix background
Ensure to have blank background before paint screensaver content.
This should avoid possible holes with some images.
2018-05-17 16:46:15 +02:00
svenhoefer
81b82668ac - screensaver: move more repeatedly used code to screensaver's code
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-11-27 22:23:32 +01:00
svenhoefer
74bc2e88d5 - neutrino: move screensaver members to screensaver's code
Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-11-27 20:38:38 +01:00
Jacek Jendrzej
6576729fd1 remove double includes 2017-09-08 21:21:32 +02:00
Jacek Jendrzej
fcc3a12e88 src/gui/screensaver.cpp try to fix segfault on stop 2017-05-23 17:52:16 +02:00
M. Liebmann
ef61905a2d Merge branch 'master' into pu/fb-modules 2017-02-08 20:16:41 +01:00
Stefan Seyfried
47b1a8b642 reduce impact of driver/pictureviewer.h header file
before, more than 175 files depended on it, now it's about 35
2017-02-07 18:38:45 +01:00
Thilo Graf
622e7a4dd2 CScreenSaver: ensure full cleanup of infoclock after stopped screensaver
This provokes re init of info clock.
2017-02-07 17:12:25 +01:00
M. Liebmann
c62f964dde screensaver: Use black background for the clock 2017-01-31 16:36:40 +01:00
svenhoefer
7e077bb7ee - screensaver: fix clock positions 2016-12-18 01:22:24 +01:00
svenhoefer
104d21e784 - rename customcolor.h -> color_custom.h; reduce unneeded inludes 2016-10-10 14:19:55 +02:00
Thilo Graf
7091383170 CScreenSaver: use common time format 2016-05-08 16:46:31 +02:00
Thilo Graf
387d96d2f5 CScreenSaver: fix possible render of clock over screen size
check position and size use only possible available screen size
2016-01-21 11:00:29 +01:00
M. Liebmann
c7b6026ac2 More replace __FILE__ with __file__ 2016-01-17 06:14:49 +01:00
M. Liebmann
8d58e43499 CScreenSaver: Fix compile when pip is disabled 2016-01-16 14:44:12 +01:00
defans
87db52784f - screensaver: disable pip while screensaver 2016-01-16 12:29:22 +01:00
Thilo Graf
d7ac78c0c2 screensaver: rework timeosd handling 2016-01-10 22:02:00 +01:00
defans
0f2c73aed3 screensaver: add optional colored property 2016-01-10 22:02:00 +01:00
M. Liebmann
0e68d504c9 Remove redundant pthread_cancel() call 2016-01-03 12:59:44 +01:00
Thilo Graf
0b3576b4a7 Screensaver: add option to show current time instead images 2015-12-27 22:26:23 +01:00
Thilo Graf
ff667dfef3 Screeansaver: add optional random images 2015-12-27 19:46:14 +01:00
Thilo Graf
6c8bd66801 CScreenSaver: add signal/slot handler OnBeforeStart(), try to fix infoclock
In some constelations it is not required to enable infoclock after close
screensaver. So it is possible to cotrol this from other objects.
2015-12-27 14:42:28 +01:00
svenhoefer
89a11de651 - fix and use ICONSDIR variable; move ICONSSDIR_VAR to global.h 2015-05-06 22:58:54 +02:00
svenhoefer
edc8527379 - framebuffer: revival of showFrame() function to allow ...
... pictures like start.jpg, mp3.jpg etc. from /var/tuxbox/icons
2015-05-05 12:01:04 +02:00
Thilo Graf
016fc14177 CScreenSaver: fix wconversion warnings 2015-03-29 22:40:10 +02:00
Thilo Graf
be78944eb8 CScreenSaver: use unified debug output 2015-03-29 22:40:09 +02:00
svenhoefer
aea7e1f772 - screensaver: fix restart of clock and mute;
restart is now depending on previous status
2015-01-09 15:04:39 +01:00
svenhoefer
f80f539387 - screensaver: use strcasecmp instead of strcmp 2015-01-08 19:59:50 +01:00
defans
b32757420a CSreenSaver: add png files 2015-01-08 12:23:36 +01:00
svenhoefer
7c9a158f11 - screensaver: disable clock while screesaver 2014-12-30 00:53:31 +01:00
svenhoefer
b85aa43d87 - screensaver: allow no screensaver_timeout to show first pic only
Thats usefull when you have just one plain black pic in your
  screensaver directory. So you'll get a blank screen w/o pic changes.
2014-12-29 23:50:18 +01:00
svenhoefer
5f42845160 - screensaver: moving "using namespace std;" to cpp ...
... to avoid the inheritance of this
2014-12-29 22:13:02 +01:00
svenhoefer
153e7dba91 - screensaver: add GUI option to change timeout 2014-12-29 22:13:02 +01:00
vanhofen
ecc98b7def - screensaver: user pictureviewer instead of videoDecoder ...
... to avoid interrupts while playing and keep pictures unscaled
2014-12-29 22:13:02 +01:00
vanhofen
4cf5e8ffd1 - screensaver: just add mp3-?.jpg when using DATADIR "/neutrino/icons" ...
... to get the same behavior as usual
2014-12-29 22:13:02 +01:00
vanhofen
20e49a492a - screensaver: remove trailing slash from screensaver_dir 2014-12-29 22:13:02 +01:00
defans
6a23a1c36a CScreenSaver: add class CScreenSaver 2014-12-29 22:13:02 +01:00