Commit Graph

13875 Commits

Author SHA1 Message Date
GetAway
d52d0c0c7b movieplayer.cpp: remove unneeded HAVE_COOL_HARDWARE 2021-12-02 21:33:07 +01:00
Thilo Graf
f0c63ca852 cc_frm_picture: try to fix dimension assignment
init() was only with partial effect for dimensions,
watched in moviebrowser movie covers
2021-12-02 20:12:21 +01:00
Thilo Graf
d0a8c7eafc cc_draw: ensure unsigned values
avoids possible signed integer overflow runtime errors
2021-12-02 20:12:21 +01:00
GetAway
05aa223257 movieplayer.cpp: CST - check if ts file is a mp4 container and start it from MB 2021-12-02 20:11:06 +01:00
Thilo Graf
8c573fd315 lua-API: update version 1.94->1.95
add methode doPaintBg(), fix missing background

API Documentation: https://wiki.tuxbox-neutrino.org/wiki/Lua:Neutrino-API:cpicture:de#doPaintBg
2021-12-02 15:01:26 +01:00
Thilo Graf
31ddb9f67d lua_api_cc_picture: add methode doPaintBg(), fix missing background
Re adding compatibility with old behavior for background paint.

supplement to: cc_*_picture: add own file for cc_frm_picture.

API Documentation: https://wiki.tuxbox-neutrino.org/wiki/Lua:Neutrino-API:cpicture:de#doPaintBg
2021-12-02 14:58:03 +01:00
Thilo Graf
1d5472cf5e cc_*_picture: add own file for cc_frm_picture.
Re-adding compatibility with old background behavior.
Should mainly fix behavior with lua plugins whose are using
background paint as default and without explicit enabled background.
2021-12-02 13:50:51 +01:00
Thilo Graf
94ff7f95c7 cc_frm: add missing is_painted to paint()
Forms were never been tagged as painted.
This must be done for form items objects separately.
2021-12-02 13:50:51 +01:00
Thilo Graf
d307f97952 cc_frm_header: remove check for icon instance
Define of icon after created instance was partial broken.
In some cases no icon was visible.
2021-12-02 13:50:51 +01:00
Thilo Graf
84ba7532c4 cc_frm: fix log output for size_t type 2021-12-02 13:50:51 +01:00
Thilo Graf
3858433c30 cc_draw: add missing paint cache check for background images
Was always enabled with images.
2021-12-02 13:50:51 +01:00
Thilo Graf
e8d5f165d1 cc_draw: add method to get body image transparency mode 2021-12-02 13:50:51 +01:00
Thilo Graf
9f244f37c2 cc_item_tvpic: simplify and fix object creation of pic
color was wrong
2021-12-02 13:50:51 +01:00
svenhoefer
5a539d0134 - luainstance: fix custom colors
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-26 05:25:16 +01:00
svenhoefer
46d7921d2c - color_custom: cleanup; remove FB_USE_PALETTE
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-26 05:24:48 +01:00
svenhoefer
fccf8ab8d6 - colorchooser: formatting code using astyle
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-26 05:24:22 +01:00
svenhoefer
597a6e3854 - lua_hourglass: formatting code using astyle
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-20 19:03:06 +01:00
svenhoefer
e52eb3d144 - luainstance: formatting code using astyle
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-20 15:29:08 +01:00
svenhoefer
9ceea38b5e - setting-helpers: formatting code using astyle
Signed-off-by: Thilo Graf <dbt@novatux.de>

# Conflicts:
#	src/system/setting_helpers.h
2021-11-20 15:29:08 +01:00
Jacek Jendrzej
9f5b391708 record: use pkt after free have no effects 2021-11-20 11:42:36 +01:00
Jacek Jendrzej
89b8d5fbbf lua_hourglass: try to fix hide on exit 2021-11-20 10:33:26 +01:00
Jacek Jendrzej
b0067f83ca hourglass: fix segfault, repeatable with: for(int i = 1; i < 10000; i++){hg.paint();hg.hide();} 2021-11-20 10:30:32 +01:00
Jacek Jendrzej
940d6473d9 glcd: supplement to https://github.com/tuxbox-neutrino/gui-neutrino/commit/de4a6ade64#diff-7768e6c498899de1e15859c8986013b8b33a4de25386de2bef89bffda31ae9bcL262 2021-11-20 08:35:48 +01:00
Thilo Graf
46b4efd062 cc_frm_header: ensure restore logo background before cleanup
clean background is required before paint new logo,
avoids overpaint of old logo

supplement to: fix artifacts if no logo found
2021-11-19 23:57:08 +01:00
Thilo Graf
dba4e290e8 cc_item_picture: reset dimension if used blank image
avoids unnecessary applying of old dimensions
2021-11-19 23:48:20 +01:00
svenhoefer
89b385eeee - colors_custom: rework colors; use Google Material Palette
TODO: make custom colors themable
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-19 22:24:15 +01:00
svenhoefer
4e951f462b - color: formatting code using astyle
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-19 22:22:03 +01:00
Thilo Graf
39581df1d4 cc_item_picture: remove debug spam 2021-11-19 21:40:29 +01:00
TangoCash
0ccdcca395 fix artifacts if no logo found 2021-11-19 21:02:56 +01:00
TangoCash
a16ef69245 fix weatherinfo, align text to channelname font 2021-11-19 21:02:14 +01:00
Thilo Graf
22a39bdf9d Revert "-bouquetlist: ugly workaround for better readability"
This reverts commit 5011c3474c.
2021-11-19 21:00:16 +01:00
Thilo Graf
af8c1abe16 test_menu: add image demo into test window 2021-11-19 08:56:45 +01:00
Thilo Graf
e9fa5fe19d cc_frm_header: remove alternative logo name
hasLogo() returns always true, this should fix
implementation e.g. of getChannelLogoObject()->hasLogo()
2021-11-18 11:32:34 +01:00
Thilo Graf
6267b0a48d cc_item_picture: try to fix has_logo value
has_logo was always true if an alternate logo was defined.
2021-11-18 11:27:47 +01:00
Thilo Graf
5d3165609f network-setup: change timeout for applying setup
Timeout was set to default hintbox timeout settings,
that was not really appropriated.
2021-11-17 11:46:00 +01:00
Thilo Graf
20a05074de test_menu: fix form with blinking item 2021-11-16 08:53:20 +01:00
Thilo Graf
2123af2505 helpbox: enable paint bg in addLine()
disable not required
2021-11-16 08:53:19 +01:00
Thilo Graf
507d1ae78f rc_lock: enable paint bg in lockRC()
disable not required
2021-11-16 08:53:19 +01:00
Thilo Graf
9a92a1e8fc moviebrowser: enable paint bg in initMovieCover()
disable not required
2021-11-16 08:53:19 +01:00
Thilo Graf
cf4fb63326 audiomute: enable paint bg
disable is not required
2021-11-15 18:52:32 +01:00
max_10
8c915c04c2 - neutrinoapi.cpp: replace /tmp/neutrino.sock with NEUTRINO_UDS_NAME 2021-11-15 09:30:39 +01:00
Thilo Graf
9e3a82778c cc_extra: simplify and fix paintImage() 2021-11-14 17:26:44 +01:00
GetAway
10da6b9894 radio-stations.xml: update Radio Arabella 2021-11-14 13:24:21 +01:00
Thilo Graf
a9b73a6603 cc_frm_button: remove offset between icon and text
Text object has an own internal offset. Therefore, I think it
is not required. Possible side effects are not to be ruled out and
remains to be seen.
2021-11-13 18:59:51 +01:00
Thilo Graf
c27c761add cc_frm_button: rework initIcon(), more simply implementaion 2021-11-13 18:59:51 +01:00
Thilo Graf
68c8edf09c cc_item_picture: rework for svg-support, simplified structure
- simplified icon and logohandling in headers
- add svg examples, fix some other tests inside test_menu.cpp
2021-11-13 18:59:51 +01:00
Thilo Graf
568518c15a cc_frm_slider: remove isPicPainted(), not required 2021-11-13 18:59:50 +01:00
Thilo Graf
53e19aaae2 cc_item_infobox: remove pic->isPicPainted(), pic->doPaintBg(false)
not required
2021-11-13 18:59:50 +01:00
Thilo Graf
4f916326ab cc_frm_scrollbar: format changes 2021-11-13 18:59:50 +01:00
Thilo Graf
dff5055cfd cc_frm_scrollbar: remove doPaintBg(false), not required 2021-11-13 18:59:50 +01:00