Commit Graph

12840 Commits

Author SHA1 Message Date
BPanther
ccb33957a5 more pip changes 2021-10-15 20:18:44 +02:00
BPanther
e2b696f785 more pip changes 2021-10-15 20:18:42 +02:00
BPanther
2024f516ed more pip changes 2021-10-15 20:18:39 +02:00
BPanther
180f0446b8 more pip changes 2021-10-15 20:18:37 +02:00
BPanther
a60d269c7d more pip changes 2021-10-15 20:18:09 +02:00
BPanther
53dac96c8a some pip changes
Conflicts:
	src/zapit/src/zapit.cpp
2021-10-15 20:00:19 +02:00
BPanther
eace201108 pip variables renamed 2021-10-15 20:00:19 +02:00
BPanther
a686f3bb03 add some more quidpip stuff (still NOT working) 2021-10-15 20:00:18 +02:00
BPanther
4aa47464c1 fix variables 2021-10-15 20:00:18 +02:00
BPanther
0d9d992a3c fix unused variables 2021-10-15 20:00:18 +02:00
BPanther
20e2aec336 more QuadPiP stuff (still NOT ready!)
Conflicts:
	src/neutrino_menue.cpp
2021-10-15 20:00:18 +02:00
BPanther
b1784eee01 move pipsetup to ENABLE_PIP and add --enable-quadpip, only for vusolo4k, vuduo4k, vuduo4kse, vuultimo4k, vuuno4k, vuuno4kse (not yet ready, don't use!) 2021-10-15 20:00:18 +02:00
Jacek Jendrzej
6ee8a38463 zapit: supplement to last commit 2021-10-14 20:48:18 +02:00
Jacek Jendrzej
6102611c5f zapit: try to fix ait segfault 2021-10-14 16:38:30 +02:00
Thilo Graf
ae29bfc7a6 moviebrowser: mb.cpp, implement ShowHintS for save_movie_info 2021-10-13 09:37:54 +02:00
svenhoefer
fecfe91124 - webchannels-setup: always allow g_settings.livestreamResolution selection
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-13 06:02:27 +02:00
svenhoefer
20a06711b7 - webchannels/xmltv-setup: extend keyboard input
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-13 06:02:24 +02:00
svenhoefer
8cd3b8bbf1 - settings-helpers: set TZ variable after changing timezone
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-13 06:02:19 +02:00
TangoCash
5c2c6d5f96 - xmlutil: try to fix xmltv for hd2 2021-10-13 05:08:19 +02:00
TangoCash
b404c84c17 increase hourglass images, cast to int 2021-10-12 05:44:52 +02:00
retsim01
1854ca997b - movieplayer: try to fix g_settings.movieplayer_select_ac3_atype0 handling 2021-10-12 05:16:30 +02:00
Thilo Graf
1444b5a381 testmenu: use restarttuner from neutrino.cpp 2021-10-11 20:39:17 +02:00
Thilo Graf
14aa145cc1 miscsettings_menu.cpp: epg_read_now, epg_read_now_usermenu implement ShowHintS 2021-10-11 20:39:17 +02:00
Thilo Graf
b28f8814ea network_setup: implement ShowHintS for apply settings 2021-10-10 19:35:37 +02:00
svenhoefer
16ff23ed9c - hourglass: allow hourglass.png
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-10 17:00:23 +02:00
Thilo Graf
3c8596a5be hourglass: use count of images as calculation base for paint interval
We are using possible 3rd party theme packages (installed via package
manager) with other counts of images.
This should ensure an automatic adaptation of interval
in case of different count of images.
2021-10-10 16:58:07 +02:00
Thilo Graf
ac594109d7 neutrino.cpp: action reloadplugins, implement ShowHintS 2021-10-08 23:10:58 +02:00
Thilo Graf
42c624a337 neutrino.cpp: action save settings, implement ShowHintS
The same is possible with tuxtxt_init() and tuxtxt_close(), if reqiured
2021-10-08 23:10:58 +02:00
Thilo Graf
6134115c63 gui/widget: add class CHourGlass
Provides an hourglass/snake-loader function to visualize running processes.
A template xcf-file for Gimp 2.10 is appended. Feel free to edit.
2021-10-08 23:10:30 +02:00
Thilo Graf
c9efac0665 hintbox: try to fix logic for enable/disable timeout bar.
Timeout bar could not be switched off, is now disabled for CHint
TODO: find a better solution to vizualize timeout for CHint.
      It looks not so good on the top of the hintbox, especially
      with round corners or frameless window.
2021-10-04 17:16:38 +02:00
Thilo Graf
aa81278cfb testmenu: fix action key value, typo 2021-10-04 16:43:42 +02:00
svenhoefer
0a3a95f4a3 - movieplayer: switch from define to enum in AC3_ATYPE handling
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-04 09:41:19 +02:00
svenhoefer
990689a990 - movieplayer: better readability in AC3_ATYPE handling
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-04 09:41:02 +02:00
retsim01
85d88bfba6 - movieplayer: introduce g_settings.movieplayer_select_ac3_atype0
Conflicts:
	src/neutrino.cpp
2021-10-04 09:40:39 +02:00
BPanther
609d6c4a7c DMX_PIP_CHANNEL removed, DMX_VIDEO_CHANNEL does the same 2021-10-03 17:02:39 +02:00
svenhoefer
79a63aef0a - neutrino: remove stop_lcd4l_support(void) function
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-03 17:02:39 +02:00
svenhoefer
a97d3db67d - neutrino: more verbose console messages in Cleanup() function
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-03 17:02:39 +02:00
svenhoefer
2a49ff0369 - moviebrowser: remove inactive code
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-03 17:02:39 +02:00
svenhoefer
2121698c49 - hintbox: remove obsolete include
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-03 17:02:39 +02:00
svenhoefer
3f34ab5877 - change some hintboxes
Conflicts:
	src/neutrino.cpp

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

I'm not enthused of this solution to misuse the CHint destructor since
commit 1cb25e7cd3 "- hintbox: add setDelay() prototype".
I think such tasks with delay impact are not the designation of
destructors and avoidable. Unless it is absolutely necessary.
Therefore, I think this is only a temporary solution.
2021-10-03 17:02:07 +02:00
svenhoefer
887d2f1cb5 - hintbox: setDelay() prototype v2
Signed-off-by: Thilo Graf <dbt@novatux.de>

see commit message at: - change some hintboxes
2021-10-03 17:00:27 +02:00
svenhoefer
1cb25e7cd3 - hintbox: add setDelay() prototype
Signed-off-by: Thilo Graf <dbt@novatux.de>

see commit message at: - change some hintboxes
2021-10-03 17:00:03 +02:00
svenhoefer
ab0d178d58 - neutrino: use simple hintboxes w/o header
To avoid the sleep command, a call hint->setDelay(1) nice. :)

 Conflicts:
	src/neutrino.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-03 11:51:45 +02:00
Thilo Graf
b7e837d82b hintbox: expand ShowHintS() with slot parameter
This allows to execute one ore more methods inside the ShowHintS() method.
This should simplify calls of CHint messages with or without hide delays
In the simplest or most cases, only one code line is necessary for this,
see examples inside test_menu.cpp or here:

Single methode:
old:
CHintBox *hintBox new CHintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_SERVICEMENU_GETPLUGINS_HINT));
hintBox->paint();
g_Plugins->loadPlugins();
sleep(1);
hintBox->.hide();
delete hintbox;

new:
ShowHintS(LOCALE_SERVICEMENU_GETPLUGINS_HINT, 1, true, sigc::mem_fun(g_Plugins, &CPlugins::loadPlugins));

Multiple methods:
old:
	CHint *hint = new CHint("Restart Tuner");
	hint->paint();
	g_Zapit->setStandby(true);
	sleep(2);
	g_Zapit->setStandby(false);
	sleep(2);
	g_Zapit->Rezap();
	delete hint;

new:
	std::vector <hint_message_data_t> hints;
	hints.push_back({sigc::bind(sigc::mem_fun(g_Zapit, &CZapitClient::setStandby), true),"Stopping tuner...", NONEXISTANT_LOCALE, 2, true});
	hints.push_back({sigc::bind(sigc::mem_fun(g_Zapit, &CZapitClient::setStandby), false), "Start tuner...", NONEXISTANT_LOCALE, 2, true});
	hints.push_back({sigc::hide_return(sigc::mem_fun(g_Zapit, &CZapitClient::Rezap)), "Rezap...", NONEXISTANT_LOCALE, 2, true});
	ShowHintS(hints);

slots can be used with sigc::bind, sigc::hide_return (or what ever) too.
sample slot:
sigc::slot<void> sl = sigc::bind(sigc::mem_fun(this, &ClassName::method), parameter);

Note: Usage of namespace sigc are doing to simplify the lines,
      but this is a matter of discretion.

TODO: - timeoutbar should visualize a kind of busy mode.
      - implemetations
2021-10-03 11:50:48 +02:00
Thilo Graf
b23fcc7c7c testmenu: add CHint demos 2021-10-03 11:14:47 +02:00
svenhoefer
f48c390e47 - helpers: simplify: add url to curl error log
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-03 11:12:59 +02:00
TangoCash
e750dceea2 add url to curl error log 2021-10-01 22:00:12 +02:00
Thilo Graf
e42d4570cd moviebrowser: simplify user guidance with sort menue
It's always easier to use  blindly the cross control buttons,
than looking for the colored buttons on the remote control.
Nothing will change for users who want to use the colored keys directly,
but they will get used to it.
This was a directly user request.
2021-10-01 22:00:10 +02:00
Thilo Graf
b72bd0fbe2 zapit: add missing delete ait
Possible leak detected with LeakSanitizer
2021-10-01 22:00:03 +02:00
svenhoefer
dc222187e6 - configure: rename ENABLE_HBBTV => ENABLE_AIT
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-01 21:59:56 +02:00