Commit Graph

7234 Commits

Author SHA1 Message Date
Thilo Graf
1c574e4a07 header/footer: add overloaded versions of header class with size mode option
Size mode didn't really work. It is easier to implement
headers with with separate class constructor and other size mode
Footer works also with this  additional parameter but without additional
overloaded constructors.
2019-04-02 16:34:56 +02:00
Thilo Graf
714df8b092 cc_draw.cpp: use random colors for CCDraw_debug
For better distinguish objects on screen while debugging.
2019-04-02 16:34:56 +02:00
Thilo Graf
0c32280363 color: add function to get random color 2019-04-02 16:34:56 +02:00
Thilo Graf
ef0cb42b85 CMenuWidget: ensure applying of changed header width while runtime
Width was not applied after changed osd settings e.g. changed corner types
2019-04-02 16:34:56 +02:00
Jacek Jendrzej
68fdd2ba75 movieplayer.cpp dont use enableOsdElements from lua-plugin 2019-04-02 15:21:21 +02:00
Jacek Jendrzej
4fb17ff991 cc_item_picture.cpp use def, supplement to 9af186dcd7 2019-04-02 12:10:50 +02:00
Jacek Jendrzej
232ecf1027 cc_item_picture.cpp fix init var 2019-04-02 11:30:43 +02:00
Jacek Jendrzej
9af186dcd7 cc_item_picture.cpp: fix hide mute paint, if first mute paint is in movieplayer 2019-04-01 16:14:18 +02:00
Thilo Graf
756968ab97 CMenueWidget: get header height directly from header object 2019-03-31 18:18:00 +02:00
Thilo Graf
3db81f0396 widget/menue.cpp: allow IDE's find include header file 2019-03-31 18:17:55 +02:00
svenhoefer
104229dacf - moviebrowser: reset selected item in MB_FOCUS_LAST_PLAY after deleting any movie
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-31 18:03:29 +02:00
svenhoefer
d5f6f33e6f - lcd4linux: fix weather on/off item again
Signed-off-by: GetAway <get-away@t-online.de>
2019-03-30 23:55:23 +01:00
GetAway
ab30459acb lcd4l: finally ported weather on/off item from NI 2019-03-30 23:51:05 +01:00
Thilo Graf
06e968df78 CMenueWidget: add overloaded version of addIntroItems()
Allows additional usage of strings as text parameter.
2019-03-29 23:29:51 +01:00
Thilo Graf
f717984a83 menu.cpp: add member to set action key 2019-03-29 23:26:36 +01:00
Thilo Graf
17b57d0914 cc_item_picture.cpp: avoid possible crash if image paint was failed 2019-03-26 10:01:22 +01:00
svenhoefer
edc597748d - weather: use km/h instead of m/h
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-26 09:58:36 +01:00
svenhoefer
db5c17f5a0 - keybind-setup: use g_settings.backup_dir to save/load keys
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-26 09:50:26 +01:00
svenhoefer
34a4954ab5 - weather: add more data to struct
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-26 07:57:05 +01:00
svenhoefer
e04de3136e - weather/lcd4l: add some more weather data
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-26 07:57:05 +01:00
svenhoefer
9d5698865e - weather: fix month in console log
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-26 07:57:05 +01:00
svenhoefer
e1ed034a9f - weather: naming the member varables as the keywords from json request
So it's easier to add some new stuff as i think.

Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-26 07:57:05 +01:00
TangoCash
68ff0bb553 weather: add "°C" to temperatures in show 2019-03-26 07:57:05 +01:00
Jacek Jendrzej
1d02df4fd5 fix usals menu 2019-03-25 15:28:48 +01:00
GetAway
8e2f0d5af0 weather.cpp: dont use deprecated Json::Reader 2019-03-24 20:51:07 +01:00
Jacek Jendrzej
27c03b02b4 gui/keybind_setup: fix painted key name after use loadkeys conf 2019-03-24 16:15:41 +01:00
Jacek Jendrzej
54885c0f56 fix segfault with static item, supplement to 69ae7d89e3 2019-03-23 11:33:50 +01:00
Thilo Graf
819f6afb17 CKeyboardInput: clean up: remove keyword 'virtual'
Is not required, no sub classes
2019-03-21 11:09:12 +01:00
svenhoefer
6c1e155cfe - weather: allow to get city
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-21 09:49:16 +01:00
svenhoefer
c639827324 - weather: don't add "°C" to temperatures
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-20 22:47:06 +01:00
svenhoefer
c705e35a9f - weather: allow to get forecast temp and forecast icon
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-20 22:47:06 +01:00
svenhoefer
b2a57d375c - weather_locations.h: reformatting code
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-20 22:47:06 +01:00
svenhoefer
e6a719fb91 - weather: code formatting using astyle
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-20 22:47:06 +01:00
svenhoefer
7fedf87ea6 - weather: better naming for update cycle
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-20 22:47:05 +01:00
svenhoefer
f8e0bf244a - lcd4l/weather: fix creation of data files for first run
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-20 22:47:05 +01:00
svenhoefer
1850fb3692 - miscsettings_menu: small changes in new weather items
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-20 22:47:05 +01:00
TangoCash
f7219894bc add weather via Dark Sky API -step1-
Signed-off-by: Thilo Graf <dbt@novatux.de>

Build errors fixed, missing code disabled
2019-03-20 22:47:05 +01:00
Jacek Jendrzej
69ae7d89e3 widget/menue fix memleak, CMenuWidget::removeItem 2019-03-20 12:41:48 +01:00
Jacek Jendrzej
040f329216 use strftime instead of std::put_time, for sh4 build 2019-03-18 18:37:10 +01:00
Thilo Graf
e8bc676f76 CMenuOptionStringChooser: remember last item
useful for some cases if needed, default off
2019-03-18 15:53:21 +01:00
Jacek Jendrzej
bd2e323742 - movieplayer: allow screenshots from stream 2019-03-18 15:44:47 +01:00
svenhoefer
982fa73ec3 - channellist: fix commit d523fa4
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-18 15:44:04 +01:00
Thilo Graf
6bf13f6d6b CKeyboardInput: add signal OnAfterSave()
supplementing for notifier handling
2019-03-17 13:09:23 +01:00
Thilo Graf
91854a4d81 widget/keyboard_input.cpp: simplify class constructors
Removed multiple code.
2019-03-17 13:01:29 +01:00
svenhoefer
a47bb767c4 - streaminfo2: clean up from unused code
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-17 13:01:29 +01:00
svenhoefer
4748b3be40 - streaminfo2: use official notation for abbreviations
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-17 13:01:29 +01:00
svenhoefer
d523fa42ed - channellist: don't show pip-button when pip is disabled
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-17 13:01:29 +01:00
svenhoefer
b10778016f - streaminfo2: re-organize order (partly as suggested by Janus)
Conflicts:
	src/gui/streaminfo2.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-17 13:01:29 +01:00
svenhoefer
db30378397 - streaminfo2: add real channelname if it differs to channelname (part 2)
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-17 13:01:29 +01:00
svenhoefer
1a4e345a83 - streaminfo2: add real channelname if it differs to channelname
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-03-17 13:01:29 +01:00