Commit Graph

13966 Commits

Author SHA1 Message Date
Thilo Graf
35f12e3533 cc_frm: rework getUsed/getFree methods 2022-02-08 10:54:08 +01:00
Thilo Graf
5fb004a588 cc_types: add 'enabled' to button_label_cc_struct with value as default 2022-02-08 10:54:08 +01:00
Thilo Graf
783f09d3fb CMsgBox: avoid possible crashes when no button object found.
This could happen if all buttons in the footer are disabled.
Only for sure, but that should not really happen.
2022-02-08 10:54:08 +01:00
Thilo Graf
fa90917767 CMsgBox: Ensure to get next selectable item. 2022-02-08 10:54:08 +01:00
Thilo Graf
386a1ba30e cc_frm_header: use more plausible parameter name in addContextButton() 2022-02-08 10:54:08 +01:00
Thilo Graf
5697398886 CBEBouquetWidget: avoid possible crash if no channels available
This constellation should be rare, but if no channels are available,
bouquet editor will crash here.
Verified on generic pc without tuner and Leaksanitizer.
For tests it's possible to enable the block with an extra
instance of CBouquetManager. So it's still possible to edit bouquets
but without channels.
2022-02-08 10:54:08 +01:00
Thilo Graf
f1b044ecfc cc_item: add/rename enableCCItem(), disableCCItem() 2022-02-06 20:12:19 +01:00
Thilo Graf
0b0d9a814c cc_item_text: apply enable/disable mode for text color 2022-02-06 20:12:19 +01:00
Thilo Graf
d130e4784d infoviewer: More simplified rec-info implementation.
More simplified rec-info implementation, enable own blinking effect
of rec object and align background to info bar gradient settings.
2022-02-06 20:12:19 +01:00
svenhoefer
aa560d175c - moviebrowser: increase chars for keybord input
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-02-06 20:12:19 +01:00
svenhoefer
fcf717a162 - lcd4l: update weather locales
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-02-04 05:51:46 +01:00
svenhoefer
165d5c0941 - lcd4l: extending duration file; ...
Line 1: done/total
Line 2: done
Line 3: todo
Line 4: total

Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-31 09:12:03 +01:00
svenhoefer
96b2d4f816 - neutrino: cleanup upgradeSetup() from very old stuff
Conflicts:
	src/neutrino.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-31 09:11:08 +01:00
svenhoefer
56f9b655d9 - lcd4l: add monospace font to font file
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-31 08:33:32 +01:00
svenhoefer
d5cebd3a57 - rename ttx_font_file => font_file_monospace
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-31 08:32:18 +01:00
Thilo Graf
c8b5572673 lcd4l_setup: disable screenshot menu entry 2022-01-30 14:28:41 +01:00
svenhoefer
43cf770f14 - lcd4linux: add menu item to allow or disable display screenshots
Conflicts:
	data/locale/deutsch.locale
	data/locale/english.locale
	src/neutrino.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-28 10:25:39 +01:00
Thilo Graf
a19e85aba1 themes: rename themefile > theme_cfg
more plausibility, it's not a file
2022-01-27 15:20:23 +01:00
svenhoefer
56da26d531 - weather-setup: clear postal code after choosing location from xml
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-26 08:22:53 +01:00
svenhoefer
9ba0ee1b71 - weather: change country strings to country code
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-26 08:21:50 +01:00
svenhoefer
5f3c5b15b6 - remotecontrol: formatting code using astyle; some manual code nicenings
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-26 08:19:59 +01:00
svenhoefer
d46b87b16b - weather: formatting code using astyle
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-24 09:10:22 +01:00
svenhoefer
668161d7a5 - lcd4l: add wind dirction string to weather_wind file
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-24 09:09:39 +01:00
svenhoefer
8f63f163cc - weather: add getDirectionString() function
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-24 09:09:18 +01:00
svenhoefer
78ce911761 - weather: rename postcode => postalcode
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-22 11:05:30 +01:00
svenhoefer
5117c78eec - weather-setup: rename showSelectWeatherLocation() => selectLocation()
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-22 11:05:28 +01:00
svenhoefer
b8683fbe7e - weather-setup: show postcode in menu
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-22 11:05:25 +01:00
svenhoefer
454ae6223b - weather: introduce string g_settings.weather_postcode
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-22 11:05:22 +01:00
svenhoefer
aef6d8c45d - weather: add WEATHER_DEFAULT defines
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-22 11:05:20 +01:00
Thilo Graf
65dc1dda96 record_info: fix item offsets 2022-01-21 20:49:38 +01:00
Thilo Graf
021807b83c infoviewer: fix possible segfault
If no NEUTRINO_ICON_REC was defined, it will crash here.
Now 1st icon will be checked for availability and is used.
This error was observed on start of timeshift recording.
2022-01-21 20:25:29 +01:00
svenhoefer
cb14fd9b1b - initial-settings: update matze settings
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-21 07:07:26 +01:00
TangoCash
025a27c2de add find weather location by postcode
todo: add country

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

include fix compile, to_string used from helpers
2022-01-21 07:07:23 +01:00
svenhoefer
3453645229 - weather-setup: add country to hint text
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-19 05:39:35 +01:00
svenhoefer
e9795a653a - weather-setup: rename weather_loc struct members
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-19 05:39:35 +01:00
svenhoefer
360f2efedf - weather: re-add norway weather locations (unused)
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-19 05:39:35 +01:00
svenhoefer
6c46bdcc7f - weather: rename xml files
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-19 05:39:35 +01:00
svenhoefer
ffe47ae214 - weather: introduce weather_favorites.xml
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-19 05:39:35 +01:00
svenhoefer
fe5548a7c1 - weather: remove obsolete weather_locations.h; minor changes to weather-setup
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-19 05:39:35 +01:00
TangoCash
f1a98fe8b1 - move weather locations to xml file 2022-01-19 05:39:35 +01:00
svenhoefer
261dfe62fc - weather_setup: formatting code using astyle
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-19 05:39:35 +01:00
TangoCash
b9dd93c3d0 move weather setup to own source files
Conflicts:
	src/gui/miscsettings_menu.cpp
2022-01-19 05:39:35 +01:00
Thilo Graf
7800bf5d4c infoviewer: use widget for record info
This is replacing tasks inside showRecordIcon().
2022-01-19 05:31:30 +01:00
Thilo Graf
d77b57d919 icons: fix wrong ts icons 2022-01-19 05:28:19 +01:00
Thilo Graf
ea7c787a5f record_info: add widget class for record info 2022-01-19 05:27:46 +01:00
Thilo Graf
da6fea111e movieplayer: add send message CRCInput::RC_info on changed position
Sends message to show info bar on change position, maybe there is
a better solution (e.g. with callback), but this should help to visualize if position
was changed, e.g.: user has pressed number keys for minute steps.
In my opinion, this feature is missing for better user interaction.
2022-01-19 05:25:45 +01:00
Thilo Graf
e213efe13a navibar: add method to set separator line modes
Current behavior is not touched, means: both lines are enabled as default.
2022-01-15 17:16:42 +01:00
svenhoefer
f46c9abdff - navibar: change color of seperator lines
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-15 16:13:05 +01:00
svenhoefer
c7accb37ae - navibar: add small separator line to the bottom
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-15 16:12:19 +01:00
svenhoefer
690df910d2 - weather: remove obsolete locales and g_settings.weather_country key
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-15 12:07:52 +01:00