Commit Graph

6587 Commits

Author SHA1 Message Date
Thilo Graf
a25fd62be8 CCTypes: outsource type variables and methods into own inheritable class 2018-04-05 20:55:46 +02:00
Thilo Graf
86e9f742e6 src/gui/widget/menue.h: fix possible compile error with older compliers
avoids possible error with extended initializer lists,
only available with -std=c++11 or -std=gnu++11

supplement to:
'CMenuOptionNumberChooser: expand localize functionality for any number'
2018-04-05 16:34:05 +02:00
Thilo Graf
fdbddce9dd CMenuOptionNumberChooser: expand localize functionality for any number 2018-04-04 15:28:57 +02:00
Thilo Graf
25b99c4c49 src/gui/channellist.cpp: use channellist object on stack
Heap not required here.
2018-04-01 19:18:23 +02:00
Thilo Graf
e73eac0bb6 src/gui/epgview.cpp: small indent fix 2018-03-24 17:39:50 +01:00
Thilo Graf
3233abce5d src/gui/epgview.cpp: initialize of dimensions dependently from added icons
... so it is possible to get usable dimension values. Useful if in parent
object none values or too small dimensions are defined.
2018-03-24 17:39:49 +01:00
Jacek Jendrzej
3fbfff3b74 fix copy, suppemnent to last commit 2018-03-24 16:30:32 +01:00
Jacek Jendrzej
0e46842c10 supplement to a04e899d44 , memcpy don't work ok with std::string 2018-03-24 15:47:37 +01:00
svenhoefer
167039c1f9 - channellist: re-add list of recordable channels (while recording) to key_current_transponder
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-03-22 21:20:18 +01:00
svenhoefer
ef99e41f93 - channellist: move zaphistory/current_transponder handling into sepatate function
Conflicts:
	src/neutrino.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-03-22 21:20:16 +01:00
svenhoefer
1bf83a035f - channellist: avoid switching bouquets in zaphistory/current_transponder mode
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-03-22 21:20:13 +01:00
svenhoefer
f833778b32 - channellist: simplify key_zaphistory/key_current_transponder handling
* Remove strange list of "zapable" channels while recording. Channellist
(RC_ok) has same feature ... not avalable channels are marked inactive.

* Add hint, when no zapping histoty is available to confirm user's keypress

 Conflicts:
	data/locale/english.locale

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-03-22 21:20:12 +01:00
svenhoefer
9e7f9ca739 - keybind-setup: sort mpkeys more consistent
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-03-22 21:20:07 +01:00
Thilo Graf
8963ba6f1e src/gui/widget/menue_target.h: ensure init of valueStringTmp 2018-03-22 21:10:49 +01:00
Thilo Graf
7dae8aa77e src/gui/components/cc_frm_icons.cpp: fix typo, add missing include 2018-03-14 12:16:36 +01:00
Thilo Graf
9d7f8a21f9 CComponentsIconForm: add member to add any number of identical icons 2018-03-14 10:50:20 +01:00
Thilo Graf
56bf501e3d cc_frm_icons.cpp: add missing call of addIcon();
Parameter v_icon_names was without effect.
2018-03-14 10:50:00 +01:00
Thilo Graf
d04c0d09e2 widget/menue.cpp: use larger version of dummy button 2018-03-12 20:14:32 +01:00
svenhoefer
f26175a8b4 - channellist: show choosen channelnumber on vfd while numeric zapping
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-03-12 08:55:04 +01:00
svenhoefer
82ac230c6a - eventlist: re-add RC_0 to execute timerlist, because CST-hardware has no RC_timer key
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-03-12 08:55:04 +01:00
svenhoefer
9bf5ca63a8 - channellist/infoviewer: align calculations for "since-time" of current event
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-03-12 08:55:04 +01:00
svenhoefer
d717031f1e - timerlist: allow RC_timer or RC_program to leave timerlist
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-03-09 06:39:14 +01:00
svenhoefer
640c9d5132 - eventlist: use RC_timer or RC_program to execute timerlist; use new timer icon
Conflicts:
	src/gui/eventlist.cpp

Code part is still disabled

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-03-09 06:38:31 +01:00
svenhoefer
a0f96abbb9 - icons: add icon for timer button
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-03-09 06:35:46 +01:00
svenhoefer
c49d441992 - mediaplayer-setup: remove old commented code
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-03-09 06:34:58 +01:00
Thilo Graf
6a598bf413 infoviewer.cpp: use templates to get reserved width for current/next info
This should ensure reserved width for all contained text boxes and
and in case of truncated epg info this should be moderate.
2018-03-05 21:52:57 +01:00
Thilo Graf
2fd4dee2b0 CBouquetList/CTPSelectHandler: try to fix possible format-overflow errors
Compiler error: [-Werror=format-overflow=]
2018-03-02 23:19:10 +01:00
Thilo Graf
35196222aa Fix "cc_frm_footer.cpp: fix possible compiler warning"
This reverts commit 885ed60ea4.
2018-03-02 21:44:07 +01:00
Thilo Graf
ad98db85d7 CMiscMenue: enlarge menu width
better for some hints
2018-03-02 21:42:39 +01:00
Thilo Graf
e920fd3c9c CCButtonSelect: unfify bg color parameter order with related base methode
Order was different between setSelectedButton() and setSelectedItem()
2018-03-01 19:04:34 +01:00
Thilo Graf
318550767f CCButtonSelect: use pre defined frame color as default 2018-03-01 19:04:34 +01:00
Thilo Graf
948e42cd1d CCButtonSelect: fix order of frame color parameters 2018-03-01 19:04:34 +01:00
Thilo Graf
caa8eb866f CComponentsForm: add define for default select frame 2018-03-01 16:55:27 +01:00
Thilo Graf
25c9201b21 CUpnpBrowserGui: Ensure clean screen on leaving upnp browser. 2018-03-01 16:55:27 +01:00
Thilo Graf
9a3a90af84 Osd setup: use unified menu width 50% 2018-03-01 16:55:27 +01:00
Thilo Graf
885ed60ea4 cc_frm_footer.cpp: fix possible compiler warning
long unsigned int is expected
2018-03-01 16:55:27 +01:00
svenhoefer
97d4740fb3 - movieplayer: change logic in updateLcd() function
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-03-01 11:21:14 +01:00
GetAway
7718b010f7 timerlist: fix double drawing of timer list
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-03-01 11:20:40 +01:00
svenhoefer
47dd96d4e7 - bouqueteditor: allow hiding bouquets with RC_playpause too
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-03-01 11:20:22 +01:00
svenhoefer
6ad2ca6a46 - movieplayer: allow to display plackback time instead of movietitle on vfd
Conflicts:
	data/locale/deutsch.locale
	data/locale/english.locale
	src/neutrino.cpp
	src/system/locals.h
	src/system/locals_intern.h
	src/system/settings.h

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-02-28 11:18:53 +01:00
svenhoefer
0c5485d4ca - movieplayer: revert to good ol' vfd-handling; ...
show playstate in vfd and avoid mode changes

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

# Conflicts:
#	src/gui/movieplayer.cpp
2018-02-28 10:31:24 +01:00
BPanther
e47cee6854 - scan-setup: allow three digits for scansettings.sat_TP_pli 2018-02-26 16:10:35 +01:00
svenhoefer
7c3c4ab446 - movieplayer: fix RC_ok handling while infoviewer is displayed; ...
If filelist is empty or movie in filelist wasn't changed, just quit infoviewer
as in tv-mode. Otherwise start choosen movie.

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

# Conflicts:
#	src/gui/movieplayer.cpp
2018-02-20 21:48:57 +01:00
GetAway
7a93447496 infoviewer: fix update of runningRest
there was no update in movieplayer mode

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-02-20 21:48:57 +01:00
Stefan Seyfried
799061e3f6 yaft: revert to buffer offset calculation for blit2FB
the implementation of the xp/yp handling in blit2FB is different on
different architectures, and the semantics are unclear, so just
calculate a buffer offset instead and use yp=0
2018-02-20 21:48:57 +01:00
Stefan Seyfried
26e4ad4379 yaft: fix off-by-one in blit area calculation 2018-02-19 17:49:41 +01:00
Stefan Seyfried
405d77565d cc_frm: fix paintCCItems() y position calculation 2018-02-19 17:49:41 +01:00
Stefan Seyfried
5ed4057533 yaft: reset signal handler after terminal exit 2018-02-19 17:49:41 +01:00
Thilo Graf
0e438e0a95 cc_timer.cpp: don't loop if slot OnTimer is empty
Just for safety and to save resources.
2018-02-19 17:49:29 +01:00
Thilo Graf
d08eae1a9c locales: more precise setting for startup volume in audio settings 2018-02-14 11:49:32 +01:00