diff --git a/acinclude.m4 b/acinclude.m4 index d72eb52d7..20531ce97 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -139,6 +139,13 @@ AC_ARG_WITH(default-theme, [default_theme=""]) AC_DEFINE_UNQUOTED([DEFAULT_THEME], ["$default_theme"], [Default theme for gui]) +# default oled theme +AC_ARG_WITH(default-oled-theme, + AS_HELP_STRING([--with-default-oled-theme=THEMENAME], [Default theme for oled. Default it is empty for internal fallback to default colors.]), + [default_oled_theme="$withval"], + [default_oled_theme=""]) +AC_DEFINE_UNQUOTED([DEFAULT_OLED_THEME], ["$default_oled_theme"], [Default theme for oled.]) + AC_MSG_CHECKING(target) if test "$TARGET" = "native"; then diff --git a/configure.ac b/configure.ac index 9c5a96889..601a57e95 100644 --- a/configure.ac +++ b/configure.ac @@ -371,6 +371,9 @@ data/icons/headers/Makefile data/icons/hints/Makefile data/icons/locale/Makefile data/icons/movieplayer/Makefile +data/icons/oled/Makefile +data/icons/oled/clock/Makefile +data/icons/oled/weather/Makefile data/icons/radar/Makefile data/icons/slider/Makefile data/icons/status/Makefile @@ -390,6 +393,7 @@ data/lcd/clock/Makefile data/lcd/icons/Makefile data/license/Makefile data/locale/Makefile +data/othemes/Makefile data/pictures/Makefile data/pictures/backgrounds/Makefile data/pictures/screensaver/Makefile diff --git a/data/Makefile.am b/data/Makefile.am index 7225b4509..36fe57242 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -17,6 +17,12 @@ SUBDIRS = \ y-web \ zapit -if BOXTYPE_TRIPLE -SUBDIRS += lcd +if ENABLE_GRAPHLCD +SUBDIRS += \ + othemes +endif + +if BOXTYPE_TRIPLE +SUBDIRS += \ + lcd endif diff --git a/data/fonts/Makefile.am b/data/fonts/Makefile.am index 0d5d077dd..a861fb915 100644 --- a/data/fonts/Makefile.am +++ b/data/fonts/Makefile.am @@ -18,6 +18,12 @@ install_DATA += \ ubuntumono-b-webfont.ttf \ ubuntumono-r-webfont.ttf +if ENABLE_GRAPHLCD +install_DATA += \ + led.ttf \ + lcd.ttf +endif + install-data-hook: cd $(DESTDIR)$(FONTDIR); \ mv $(neutrino_ttf) neutrino.ttf; \ diff --git a/data/fonts/lcd.ttf b/data/fonts/lcd.ttf new file mode 100644 index 000000000..1d0a4011a Binary files /dev/null and b/data/fonts/lcd.ttf differ diff --git a/data/fonts/led.ttf b/data/fonts/led.ttf new file mode 100644 index 000000000..81775ee5b Binary files /dev/null and b/data/fonts/led.ttf differ diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am index b73f283c1..0ebc9d3f7 100644 --- a/data/icons/Makefile.am +++ b/data/icons/Makefile.am @@ -11,5 +11,10 @@ SUBDIRS = \ various \ weather +if ENABLE_GRAPHLCD +SUBDIRS += \ + oled +endif + install-data-hook: $(INSTALL) -d $(DESTDIR)/$(ICONSDIR)/logo diff --git a/data/icons/oled/Makefile.am b/data/icons/oled/Makefile.am new file mode 100644 index 000000000..e123a3ab2 --- /dev/null +++ b/data/icons/oled/Makefile.am @@ -0,0 +1,14 @@ +SUBDIRS = \ + clock \ + weather + +installdir = $(ICONSDIR)/oled + +install_DATA = \ + advanced.png \ + blank.png \ + easy.png \ + medium.png \ + simple.png \ + standby.png \ + weather.png diff --git a/data/icons/oled/advanced.png b/data/icons/oled/advanced.png new file mode 100644 index 000000000..f0ac4c1e5 Binary files /dev/null and b/data/icons/oled/advanced.png differ diff --git a/data/icons/oled/blank.png b/data/icons/oled/blank.png new file mode 100644 index 000000000..e85c206c8 Binary files /dev/null and b/data/icons/oled/blank.png differ diff --git a/data/icons/oled/clock/Makefile.am b/data/icons/oled/clock/Makefile.am new file mode 100644 index 000000000..f128b4dd8 --- /dev/null +++ b/data/icons/oled/clock/Makefile.am @@ -0,0 +1,17 @@ +installdir = $(ICONSDIR)/oled/clock + +install_DATA = \ + analog_clock.png \ + analog_hour.png \ + analog_min.png \ + time_dots.png \ + time_eight.png \ + time_five.png \ + time_four.png \ + time_nine.png \ + time_one.png \ + time_seven.png \ + time_six.png \ + time_three.png \ + time_two.png \ + time_zero.png diff --git a/data/icons/oled/clock/analog_clock.png b/data/icons/oled/clock/analog_clock.png new file mode 100644 index 000000000..ce2526a4b Binary files /dev/null and b/data/icons/oled/clock/analog_clock.png differ diff --git a/data/icons/oled/clock/analog_hour.png b/data/icons/oled/clock/analog_hour.png new file mode 100644 index 000000000..b9976dfa1 Binary files /dev/null and b/data/icons/oled/clock/analog_hour.png differ diff --git a/data/icons/oled/clock/analog_min.png b/data/icons/oled/clock/analog_min.png new file mode 100644 index 000000000..cbfa92024 Binary files /dev/null and b/data/icons/oled/clock/analog_min.png differ diff --git a/data/icons/oled/clock/time_dots.png b/data/icons/oled/clock/time_dots.png new file mode 100644 index 000000000..ad1108bb4 Binary files /dev/null and b/data/icons/oled/clock/time_dots.png differ diff --git a/data/icons/oled/clock/time_eight.png b/data/icons/oled/clock/time_eight.png new file mode 100644 index 000000000..7efc32595 Binary files /dev/null and b/data/icons/oled/clock/time_eight.png differ diff --git a/data/icons/oled/clock/time_five.png b/data/icons/oled/clock/time_five.png new file mode 100644 index 000000000..cb877b20c Binary files /dev/null and b/data/icons/oled/clock/time_five.png differ diff --git a/data/icons/oled/clock/time_four.png b/data/icons/oled/clock/time_four.png new file mode 100644 index 000000000..cb2d72617 Binary files /dev/null and b/data/icons/oled/clock/time_four.png differ diff --git a/data/icons/oled/clock/time_nine.png b/data/icons/oled/clock/time_nine.png new file mode 100644 index 000000000..dd0c78e00 Binary files /dev/null and b/data/icons/oled/clock/time_nine.png differ diff --git a/data/icons/oled/clock/time_one.png b/data/icons/oled/clock/time_one.png new file mode 100644 index 000000000..f11757365 Binary files /dev/null and b/data/icons/oled/clock/time_one.png differ diff --git a/data/icons/oled/clock/time_seven.png b/data/icons/oled/clock/time_seven.png new file mode 100644 index 000000000..34836d00b Binary files /dev/null and b/data/icons/oled/clock/time_seven.png differ diff --git a/data/icons/oled/clock/time_six.png b/data/icons/oled/clock/time_six.png new file mode 100644 index 000000000..b228348d1 Binary files /dev/null and b/data/icons/oled/clock/time_six.png differ diff --git a/data/icons/oled/clock/time_three.png b/data/icons/oled/clock/time_three.png new file mode 100644 index 000000000..916d13dd2 Binary files /dev/null and b/data/icons/oled/clock/time_three.png differ diff --git a/data/icons/oled/clock/time_two.png b/data/icons/oled/clock/time_two.png new file mode 100644 index 000000000..5c94697ad Binary files /dev/null and b/data/icons/oled/clock/time_two.png differ diff --git a/data/icons/oled/clock/time_zero.png b/data/icons/oled/clock/time_zero.png new file mode 100644 index 000000000..a43bf12da Binary files /dev/null and b/data/icons/oled/clock/time_zero.png differ diff --git a/data/icons/oled/easy.png b/data/icons/oled/easy.png new file mode 100644 index 000000000..c599d06cd Binary files /dev/null and b/data/icons/oled/easy.png differ diff --git a/data/icons/oled/medium.png b/data/icons/oled/medium.png new file mode 100644 index 000000000..27827e97e Binary files /dev/null and b/data/icons/oled/medium.png differ diff --git a/data/icons/oled/simple.png b/data/icons/oled/simple.png new file mode 100644 index 000000000..fa6d0fcfd Binary files /dev/null and b/data/icons/oled/simple.png differ diff --git a/data/icons/oled/standby.png b/data/icons/oled/standby.png new file mode 100644 index 000000000..12becb1ec Binary files /dev/null and b/data/icons/oled/standby.png differ diff --git a/data/icons/oled/weather.png b/data/icons/oled/weather.png new file mode 100644 index 000000000..806c507eb Binary files /dev/null and b/data/icons/oled/weather.png differ diff --git a/data/icons/oled/weather/Makefile.am b/data/icons/oled/weather/Makefile.am new file mode 100644 index 000000000..c99f9a92a --- /dev/null +++ b/data/icons/oled/weather/Makefile.am @@ -0,0 +1,15 @@ +installdir = $(ICONSDIR)/oled/weather + +install_DATA = \ + clear-day.png \ + clear-night.png \ + cloudy.png \ + fog.png \ + hail.png \ + partly-cloudy-day.png \ + partly-cloudy-night.png \ + rain.png \ + sleet.png \ + snow.png \ + thunderstorm.png \ + wind.png diff --git a/data/icons/oled/weather/clear-day.png b/data/icons/oled/weather/clear-day.png new file mode 100644 index 000000000..52e5febac Binary files /dev/null and b/data/icons/oled/weather/clear-day.png differ diff --git a/data/icons/oled/weather/clear-night.png b/data/icons/oled/weather/clear-night.png new file mode 100644 index 000000000..60167a011 Binary files /dev/null and b/data/icons/oled/weather/clear-night.png differ diff --git a/data/icons/oled/weather/cloudy.png b/data/icons/oled/weather/cloudy.png new file mode 100644 index 000000000..7b0b65e21 Binary files /dev/null and b/data/icons/oled/weather/cloudy.png differ diff --git a/data/icons/oled/weather/fog.png b/data/icons/oled/weather/fog.png new file mode 100644 index 000000000..f7b63f758 Binary files /dev/null and b/data/icons/oled/weather/fog.png differ diff --git a/data/icons/oled/weather/hail.png b/data/icons/oled/weather/hail.png new file mode 100644 index 000000000..2f9dfbf1e Binary files /dev/null and b/data/icons/oled/weather/hail.png differ diff --git a/data/icons/oled/weather/partly-cloudy-day.png b/data/icons/oled/weather/partly-cloudy-day.png new file mode 100644 index 000000000..09f04b28f Binary files /dev/null and b/data/icons/oled/weather/partly-cloudy-day.png differ diff --git a/data/icons/oled/weather/partly-cloudy-night.png b/data/icons/oled/weather/partly-cloudy-night.png new file mode 100644 index 000000000..54128e8cb Binary files /dev/null and b/data/icons/oled/weather/partly-cloudy-night.png differ diff --git a/data/icons/oled/weather/rain.png b/data/icons/oled/weather/rain.png new file mode 100644 index 000000000..8e2c1c273 Binary files /dev/null and b/data/icons/oled/weather/rain.png differ diff --git a/data/icons/oled/weather/sleet.png b/data/icons/oled/weather/sleet.png new file mode 100644 index 000000000..7cc11ef8f Binary files /dev/null and b/data/icons/oled/weather/sleet.png differ diff --git a/data/icons/oled/weather/snow.png b/data/icons/oled/weather/snow.png new file mode 100644 index 000000000..36ac0f184 Binary files /dev/null and b/data/icons/oled/weather/snow.png differ diff --git a/data/icons/oled/weather/thunderstorm.png b/data/icons/oled/weather/thunderstorm.png new file mode 100644 index 000000000..96cac0d7c Binary files /dev/null and b/data/icons/oled/weather/thunderstorm.png differ diff --git a/data/icons/oled/weather/wind.png b/data/icons/oled/weather/wind.png new file mode 100644 index 000000000..d13baeb41 Binary files /dev/null and b/data/icons/oled/weather/wind.png differ diff --git a/data/locale/deutsch.locale b/data/locale/deutsch.locale index 7969867ce..df6d505ea 100644 --- a/data/locale/deutsch.locale +++ b/data/locale/deutsch.locale @@ -886,10 +886,24 @@ fsk.from_7 ab 7 fsk.to_12 bis 12 fsk.to_16 bis 16 fsk.to_7 bis 7 +glcd.align_center zentriert +glcd.align_channel Sender ausrichten +glcd.align_duration Sendungsdauer ausrichten +glcd.align_end Sendungsende ausrichten +glcd.align_epg EPG ausrichten +glcd.align_left links +glcd.align_none keine +glcd.align_right rechts +glcd.align_start Sendungsstart ausrichten +glcd.align_time Zeit ausrichten +glcd.bar_width Fortschrittsbalken-Weite +glcd.bar_x_position Fortschrittsbalken x-Position +glcd.bar_y_position Fortschrittsbalken y-Position glcd.brightness Helligkeit -glcd.brightness_standby Helligkeit in Standby -glcd.clock.analog analog -glcd.clock.digital_hm digital +glcd.brightness_standby Helligkeit im Standby +glcd.brightness_dim Dimmen +glcd.brightness_dim_time Dimmen nach +glcd.brightness_settings Helligkeits-Einstellungen glcd.color.amber Amber glcd.color.black Schwarz glcd.color.blue Blau @@ -911,25 +925,62 @@ glcd.color.red Rot glcd.color.teal Teal glcd.color.white Weiß glcd.color.yellow Gelb +glcd.channel_x_position Sender x-Position +glcd.channel_y_position Sender y-Position +glcd.digital_clock_y_position Digitaluhr y-Position glcd.display Display-Typ +glcd.duration_x_position Sendungsdauer x-Position +glcd.duration_y_position Sendungsdauer y-Position glcd.enable GraphLCD aktiv +glcd.end_x_position Sendungsende x-Position +glcd.end_y_position Sendungsende y-Position +glcd.epg_x_position EPG x-Position +glcd.epg_y_position EPG x-Position glcd.font Schrift +glcd.font_autoresize Automatische SChriftgröße glcd.head GraphLCD-Unterstützung +glcd.logo_x_position Senderlogo x-Position +glcd.logo_y_position Senderlogo y-Position glcd.mirror_osd OSD-Menü auf GraphLCD anzeigen glcd.mirror_video Videobild auf GraphLCD anzeigen +glcd.position_settings Positions-Einstellungen glcd.restart Neu erkennen glcd.scroll_speed Scroll-Geschwindigkeit glcd.select.bar Fortschrittsbalken-Farbe glcd.select.bg Hintergrund-Farbe glcd.select.fg Vordergrund-Farbe -glcd.show_logo Sender-Logo anzeigen +glcd.show_duration Sendungsdauer zeigen +glcd.show_end Sendungsende zeigen +glcd.show_logo Senderlogo anzeigen +glcd.show_progressbar Fortschrittsbalken +glcd.show_start Sendungsstart zeigen +glcd.show_time Uhrzeit anzeigen +glcd.show_weather Wetter anzeigen +glcd.simple_clock_y_position Einfache Uhr y-Position glcd.size_bar Fortschrittsbalken-Größe glcd.size_channel Sender-Größe +glcd.size_duration Sendungsdauer-Größe +glcd.size_end Sendungsende-Größe glcd.size_epg EPG-Größe -glcd.size_logo Logo-Größe +glcd.size_logo Senderlogo-Größe +glcd.size_simple_clock Einfache Uhr-Größe +glcd.size_start Sendungsstart-Größe glcd.size_time Uhrzeit-Größe -glcd.size_time_standby Uhrzeit-Größe in Standby -glcd.time_in_standby Zeitanzeige in Standby +glcd.size_time_standby Uhrzeit-Größe im Standby +glcd.theme Thema +glcd.theme_position_settings Positions-Einstellungen +glcd.theme_settings Thema-Einstellungen +glcd.standby_analog_clock Analoge Uhr +glcd.standby_digital_clock Digitale Uhr +glcd.standby_lcd_clock LCD-Uhr +glcd.standby_led_clock LED-Uhr +glcd.standby_settings Standby-Einstellungen +glcd.standby_weather Wetter im Standby +glcd.start_x_position Sendungsstart x-Position +glcd.start_y_position Sendungsstart y-Position +glcd.time_in_standby Zeitanzeige im Standby +glcd.time_x_position Uhrzeit x-Position +glcd.time_y_position Uhrzeit y-Position glcd.volume Lautstärke hdd_10min 10 min. hdd_1min 1 min. @@ -1817,6 +1868,7 @@ menu.hint_volume_digits Zifferndarstellung der Lautstärkeanzeige ein- oder auss menu.hint_volume_pos Wählen Sie die Position der Lautstärkeanzeige aus menu.hint_volume_size Wählen Sie die Höhe der Lautstärkeanzeige menu.hint_weather_api_key Geben Sie den Dark Sky API Schlüssel ein. Eine leere Eingabe schaltet die Wetter-Unterstützung aus +menu.hint_weather_country menu.hint_weather_enabled Schaltet die Wetter-Unterstützung (darksky.net) ein bzw. aus menu.hint_weather_location Wählen Sie eine Stadt in ihrer Nähe zur Anzeige der Wetterdaten aus menu.hint_webradio_setup Hier konfigurierte WebRadio-Kanäle finden Sie in der Kanalverwaltung. @@ -2931,6 +2983,9 @@ videomenu.zappingmode Umschaltverhalten videomenu.zappingmode_mute Schwarzes Bild videomenu.zappingmode_hold Standbild weather.api_key Wetter API Schlüssel (Dark Sky) +weather.country Länderwahl +weather.country_deutschland Deutschland +weather.country_norway Norwegen weather.enabled Wetter-Unterstützung weather.location Wetter-Standort webradio.head WebRadio diff --git a/data/locale/english.locale b/data/locale/english.locale index c498e3ecd..1bcc260c1 100644 --- a/data/locale/english.locale +++ b/data/locale/english.locale @@ -888,8 +888,6 @@ fsk.to_16 to 16 fsk.to_7 to 7 glcd.brightness Brightness glcd.brightness_standby Brightness in standby -glcd.clock.analog analog -glcd.clock.digital_hm digital glcd.color.amber Amber glcd.color.black Black glcd.color.blue Blue diff --git a/data/othemes/Makefile.am b/data/othemes/Makefile.am new file mode 100644 index 000000000..655c7d8c9 --- /dev/null +++ b/data/othemes/Makefile.am @@ -0,0 +1,9 @@ +installdir = $(THEMESDIR) + +install_DATA = \ + advanced.otheme \ + default.otheme \ + easy.otheme \ + medium.otheme \ + simple.otheme \ + weather.otheme diff --git a/data/othemes/advanced.otheme b/data/othemes/advanced.otheme new file mode 100644 index 000000000..a0033ad4e --- /dev/null +++ b/data/othemes/advanced.otheme @@ -0,0 +1,72 @@ +# align none 0, align left 1, align center 2, align right 3 +# if align > 0 x position will be ignore +# if glcd_background != "" background color will be ignore +# if glcd_position_settings != false this allow to edit position settings over gui +glcd_color_fg_red=100 +glcd_color_fg_green=100 +glcd_color_fg_blue=100 +glcd_color_bg_red=0 +glcd_color_bg_green=0 +glcd_color_bg_blue=0 +glcd_color_bar_red=0 +glcd_color_bar_green=0 +glcd_color_bar_blue=100 +glcd_font=/usr/share/fonts/neutrino.ttf +glcd_background=/share/tuxbox/neutrino/icons/oled/advanced.png +glcd_align_channel=2 +glcd_align_epg=2 +glcd_align_duration=3 +glcd_align_start=0 +glcd_align_end=3 +glcd_align_time=1 +glcd_show_progressbar=true +glcd_show_duration=true +glcd_show_start=false +glcd_show_end=true +glcd_show_time=true +glcd_show_weather=false +glcd_percent_channel=22 +glcd_channel_x_position=0 +glcd_channel_y_position=22 +glcd_percent_epg=15 +glcd_epg_x_position=0 +glcd_epg_y_position=133 +glcd_percent_duration=14 +glcd_duration_x_position=0 +glcd_duration_y_position=261 +glcd_percent_start=0 +glcd_start_x_position=0 +glcd_start_y_position=0 +glcd_percent_end=14 +glcd_end_x_position=0 +glcd_end_y_position=224 +glcd_percent_time=14 +glcd_time_x_position=0 +glcd_time_y_position=261 +glcd_percent_bar=22 +glcd_bar_x_position=23 +glcd_bar_y_position=216 +glcd_bar_width=311 +glcd_percent_logo=22 +glcd_logo_x_position=0 +glcd_logo_y_position=22 +glcd_percent_smalltext=4 +glcd_smalltext_y_position=6 +glcd_rec_icon_x_position=398 +glcd_mute_icon_x_position=273 +glcd_ts_icon_x_position=443 +glcd_timer_icon_x_position=333 +glcd_ecm_icon_x_position=100 +glcd_dd_icon_x_position=238 +glcd_txt_icon_x_position=193 +glcd_cam_icon_x_position=148 +glcd_digital_clock_y_position=20 +glcd_size_simple_clock=40 +glcd_simple_clock_y_position=20 +glcd_weather_x_position_current=0 +glcd_weather_x_position_next=0 +glcd_weather_y_position=0 +glcd_weather_x_position_current_standby=10 +glcd_weather_x_position_next_standby=340 +glcd_weather_y_position_standby=175 +glcd_position_settings=true diff --git a/data/othemes/default.otheme b/data/othemes/default.otheme new file mode 100644 index 000000000..c859a3be4 --- /dev/null +++ b/data/othemes/default.otheme @@ -0,0 +1,72 @@ +# align none 0, align left 1, align center 2, align right 3 +# if align > 0 x position will be ignore +# if glcd_background != "" background color will be ignore +# if glcd_position_settings != false this allow to edit position settings over gui +glcd_color_fg_red=100 +glcd_color_fg_green=100 +glcd_color_fg_blue=100 +glcd_color_bg_red=0 +glcd_color_bg_green=0 +glcd_color_bg_blue=0 +glcd_color_bar_red=0 +glcd_color_bar_green=0 +glcd_color_bar_blue=100 +glcd_font=/usr/share/fonts/neutrino.ttf +glcd_background= +glcd_align_channel=2 +glcd_align_epg=2 +glcd_align_duration=0 +glcd_align_start=0 +glcd_align_end=0 +glcd_align_time=2 +glcd_show_progressbar=true +glcd_show_duration=false +glcd_show_start=false +glcd_show_end=false +glcd_show_time=true +glcd_show_weather=false +glcd_percent_channel=25 +glcd_channel_x_position=0 +glcd_channel_y_position=25 +glcd_percent_epg=15 +glcd_epg_x_position=0 +glcd_epg_y_position=130 +glcd_percent_duration=0 +glcd_duration_x_position=0 +glcd_duration_y_position=0 +glcd_percent_start=0 +glcd_start_x_position=0 +glcd_start_y_position=0 +glcd_percent_end=0 +glcd_end_x_position=0 +glcd_end_y_position=0 +glcd_percent_time=25 +glcd_time_x_position=0 +glcd_time_y_position=230 +glcd_percent_bar=20 +glcd_bar_x_position=0 +glcd_bar_y_position=210 +glcd_bar_width=485 +glcd_percent_logo=25 +glcd_logo_x_position=0 +glcd_logo_y_position=25 +glcd_percent_smalltext=4 +glcd_smalltext_y_position=6 +glcd_rec_icon_x_position=398 +glcd_mute_icon_x_position=273 +glcd_ts_icon_x_position=443 +glcd_timer_icon_x_position=333 +glcd_ecm_icon_x_position=100 +glcd_dd_icon_x_position=238 +glcd_txt_icon_x_position=193 +glcd_cam_icon_x_position=148 +glcd_digital_clock_y_position=20 +glcd_size_simple_clock=40 +glcd_simple_clock_y_position=20 +glcd_weather_x_position_current=0 +glcd_weather_x_position_next=0 +glcd_weather_y_position=0 +glcd_weather_x_position_current_standby=10 +glcd_weather_x_position_next_standby=340 +glcd_weather_y_position_standby=175 +glcd_position_settings=true diff --git a/data/othemes/easy.otheme b/data/othemes/easy.otheme new file mode 100644 index 000000000..f92e4aeae --- /dev/null +++ b/data/othemes/easy.otheme @@ -0,0 +1,72 @@ +# align none 0, align left 1, align center 2, align right 3 +# if align > 0 x position will be ignore +# if glcd_background != "" background color will be ignore +# if glcd_position_settings != false this allow to edit position settings over gui +glcd_color_fg_red=100 +glcd_color_fg_green=100 +glcd_color_fg_blue=100 +glcd_color_bg_red=0 +glcd_color_bg_green=0 +glcd_color_bg_blue=0 +glcd_color_bar_red=0 +glcd_color_bar_green=0 +glcd_color_bar_blue=100 +glcd_font=/usr/share/fonts/neutrino.ttf +glcd_background=/share/tuxbox/neutrino/icons/oled/easy.png +glcd_align_channel=2 +glcd_align_epg=2 +glcd_align_duration=3 +glcd_align_start=0 +glcd_align_end=0 +glcd_align_time=1 +glcd_show_progressbar=false +glcd_show_duration=true +glcd_show_start=false +glcd_show_end=false +glcd_show_time=true +glcd_show_weather=false +glcd_percent_channel=22 +glcd_channel_x_position=0 +glcd_channel_y_position=22 +glcd_percent_epg=18 +glcd_epg_x_position=0 +glcd_epg_y_position=152 +glcd_percent_duration=14 +glcd_duration_x_position=0 +glcd_duration_y_position=261 +glcd_percent_start=0 +glcd_start_x_position=0 +glcd_start_y_position=0 +glcd_percent_end=0 +glcd_end_x_position=0 +glcd_end_y_position=0 +glcd_percent_time=14 +glcd_time_x_position=0 +glcd_time_y_position=261 +glcd_percent_bar=0 +glcd_bar_x_position=0 +glcd_bar_y_position=0 +glcd_bar_width=0 +glcd_percent_logo=22 +glcd_logo_x_position=0 +glcd_logo_y_position=22 +glcd_percent_smalltext=4 +glcd_smalltext_y_position=6 +glcd_rec_icon_x_position=398 +glcd_mute_icon_x_position=273 +glcd_ts_icon_x_position=443 +glcd_timer_icon_x_position=333 +glcd_ecm_icon_x_position=100 +glcd_dd_icon_x_position=238 +glcd_txt_icon_x_position=193 +glcd_cam_icon_x_position=148 +glcd_digital_clock_y_position=20 +glcd_size_simple_clock=40 +glcd_simple_clock_y_position=20 +glcd_weather_x_position_current=0 +glcd_weather_x_position_next=0 +glcd_weather_y_position=0 +glcd_weather_x_position_current_standby=10 +glcd_weather_x_position_next_standby=340 +glcd_weather_y_position_standby=175 +glcd_position_settings=true diff --git a/data/othemes/medium.otheme b/data/othemes/medium.otheme new file mode 100644 index 000000000..a803ac883 --- /dev/null +++ b/data/othemes/medium.otheme @@ -0,0 +1,72 @@ +# align none 0, align left 1, align center 2, align right 3 +# if align > 0 x position will be ignore +# if glcd_background != "" background color will be ignore +# if glcd_position_settings != false this allow to edit position settings over gui +glcd_color_fg_red=100 +glcd_color_fg_green=100 +glcd_color_fg_blue=100 +glcd_color_bg_red=0 +glcd_color_bg_green=0 +glcd_color_bg_blue=0 +glcd_color_bar_red=0 +glcd_color_bar_green=0 +glcd_color_bar_blue=100 +glcd_font=/usr/share/fonts/neutrino.ttf +glcd_background=/share/tuxbox/neutrino/icons/oled/medium.png +glcd_align_channel=2 +glcd_align_epg=2 +glcd_align_duration=3 +glcd_align_start=0 +glcd_align_end=3 +glcd_align_time=1 +glcd_show_progressbar=true +glcd_show_duration=false +glcd_show_start=false +glcd_show_end=true +glcd_show_time=true +glcd_show_weather=false +glcd_percent_channel=22 +glcd_channel_x_position=0 +glcd_channel_y_position=22 +glcd_percent_epg=14 +glcd_epg_x_position=0 +glcd_epg_y_position=198 +glcd_percent_duration=14 +glcd_duration_x_position=0 +glcd_duration_y_position=261 +glcd_percent_start=0 +glcd_start_x_position=0 +glcd_start_y_position=0 +glcd_percent_end=14 +glcd_end_x_position=0 +glcd_end_y_position=116 +glcd_percent_time=14 +glcd_time_x_position=0 +glcd_time_y_position=116 +glcd_percent_bar=14 +glcd_bar_x_position=29 +glcd_bar_y_position=288 +glcd_bar_width=450 +glcd_percent_logo=22 +glcd_logo_x_position=0 +glcd_logo_y_position=22 +glcd_percent_smalltext=4 +glcd_smalltext_y_position=6 +glcd_rec_icon_x_position=398 +glcd_mute_icon_x_position=273 +glcd_ts_icon_x_position=443 +glcd_timer_icon_x_position=333 +glcd_ecm_icon_x_position=100 +glcd_dd_icon_x_position=238 +glcd_txt_icon_x_position=193 +glcd_cam_icon_x_position=148 +glcd_digital_clock_y_position=20 +glcd_size_simple_clock=40 +glcd_simple_clock_y_position=20 +glcd_weather_x_position_current=0 +glcd_weather_x_position_next=0 +glcd_weather_y_position=0 +glcd_weather_x_position_current_standby=10 +glcd_weather_x_position_next_standby=340 +glcd_weather_y_position_standby=175 +glcd_position_settings=true diff --git a/data/othemes/simple.otheme b/data/othemes/simple.otheme new file mode 100644 index 000000000..2836d53b9 --- /dev/null +++ b/data/othemes/simple.otheme @@ -0,0 +1,72 @@ +# align none 0, align left 1, align center 2, align right 3 +# if align > 0 x position will be ignore +# if glcd_background != "" background color will be ignore +# if glcd_position_settings != false this allow to edit position settings over gui +glcd_color_fg_red=100 +glcd_color_fg_green=100 +glcd_color_fg_blue=100 +glcd_color_bg_red=0 +glcd_color_bg_green=0 +glcd_color_bg_blue=0 +glcd_color_bar_red=0 +glcd_color_bar_green=0 +glcd_color_bar_blue=100 +glcd_font=/usr/share/fonts/neutrino.ttf +glcd_background=/share/tuxbox/neutrino/icons/oled/simple.png +glcd_align_channel=2 +glcd_align_epg=2 +glcd_align_duration=0 +glcd_align_start=0 +glcd_align_end=0 +glcd_align_time=0 +glcd_show_progressbar=false +glcd_show_duration=false +glcd_show_start=false +glcd_show_end=false +glcd_show_time=false +glcd_show_weather=false +glcd_percent_channel=20 +glcd_channel_x_position=0 +glcd_channel_y_position=51 +glcd_percent_epg=16 +glcd_epg_x_position=0 +glcd_epg_y_position=241 +glcd_percent_duration=0 +glcd_duration_x_position=0 +glcd_duration_y_position=0 +glcd_percent_start=0 +glcd_start_x_position=0 +glcd_start_y_position=0 +glcd_percent_end=14 +glcd_end_x_position=0 +glcd_end_y_position=0 +glcd_percent_time=0 +glcd_time_x_position=0 +glcd_time_y_position=0 +glcd_percent_bar=0 +glcd_bar_x_position=0 +glcd_bar_y_position=0 +glcd_bar_width=0 +glcd_percent_logo=20 +glcd_logo_x_position=0 +glcd_logo_y_position=51 +glcd_percent_smalltext=4 +glcd_smalltext_y_position=6 +glcd_rec_icon_x_position=398 +glcd_mute_icon_x_position=273 +glcd_ts_icon_x_position=443 +glcd_timer_icon_x_position=333 +glcd_ecm_icon_x_position=100 +glcd_dd_icon_x_position=238 +glcd_txt_icon_x_position=193 +glcd_cam_icon_x_position=148 +glcd_digital_clock_y_position=20 +glcd_size_simple_clock=40 +glcd_simple_clock_y_position=20 +glcd_weather_x_position_current=0 +glcd_weather_x_position_next=0 +glcd_weather_y_position=0 +glcd_weather_x_position_current_standby=10 +glcd_weather_x_position_next_standby=340 +glcd_weather_y_position_standby=175 +glcd_position_settings=true diff --git a/data/othemes/weather.otheme b/data/othemes/weather.otheme new file mode 100644 index 000000000..216f12207 --- /dev/null +++ b/data/othemes/weather.otheme @@ -0,0 +1,72 @@ +# align none 0, align left 1, align center 2, align right 3 +# if align > 0 x position will be ignore +# if glcd_background != "" background color will be ignore +# if glcd_position_settings != false this allow to edit position settings over gui +glcd_color_fg_red=100 +glcd_color_fg_green=100 +glcd_color_fg_blue=100 +glcd_color_bg_red=0 +glcd_color_bg_green=0 +glcd_color_bg_blue=0 +glcd_color_bar_red=0 +glcd_color_bar_green=0 +glcd_color_bar_blue=100 +glcd_font=/usr/share/fonts/neutrino.ttf +glcd_background=/share/tuxbox/neutrino/icons/oled/weather.png +glcd_align_channel=2 +glcd_align_epg=2 +glcd_align_duration=3 +glcd_align_start=0 +glcd_align_end=3 +glcd_align_time=1 +glcd_show_progressbar=true +glcd_show_duration=false +glcd_show_start=false +glcd_show_end=true +glcd_show_time=false +glcd_show_weather=true +glcd_percent_channel=22 +glcd_channel_x_position=0 +glcd_channel_y_position=22 +glcd_percent_epg=14 +glcd_epg_x_position=0 +glcd_epg_y_position=133 +glcd_percent_duration=14 +glcd_duration_x_position=0 +glcd_duration_y_position=261 +glcd_percent_start=0 +glcd_start_x_position=0 +glcd_start_y_position=0 +glcd_percent_end=14 +glcd_end_x_position=0 +glcd_end_y_position=185 +glcd_percent_time=0 +glcd_time_x_position=0 +glcd_time_y_position=0 +glcd_percent_bar=22 +glcd_bar_x_position=18 +glcd_bar_y_position=201 +glcd_bar_width=313 +glcd_percent_logo=22 +glcd_logo_x_position=0 +glcd_logo_y_position=22 +glcd_percent_smalltext=4 +glcd_smalltext_y_position=6 +glcd_rec_icon_x_position=398 +glcd_mute_icon_x_position=273 +glcd_ts_icon_x_position=443 +glcd_timer_icon_x_position=333 +glcd_ecm_icon_x_position=100 +glcd_dd_icon_x_position=238 +glcd_txt_icon_x_position=193 +glcd_cam_icon_x_position=148 +glcd_digital_clock_y_position=20 +glcd_size_simple_clock=40 +glcd_simple_clock_y_position=20 +glcd_weather_x_position_current=45 +glcd_weather_x_position_next=375 +glcd_weather_y_position=240 +glcd_weather_x_position_current_standby=10 +glcd_weather_x_position_next_standby=340 +glcd_weather_y_position_standby=175 +glcd_position_settings=true diff --git a/data/y-web/Makefile.am b/data/y-web/Makefile.am index 653eaec74..01bb19435 100644 --- a/data/y-web/Makefile.am +++ b/data/y-web/Makefile.am @@ -55,6 +55,7 @@ install_DATA = channels.js \ Y_Settings_automount.yhtm \ Y_Settings_Backup.yhtm \ Y_Settings_buttons.yhtm \ + Y_Settings_glcd.yhtm \ Y_Settings_lcd.yhtm \ Y_Settings_Live.yhtm \ Y_Settings_Menue.yhtm \ @@ -79,6 +80,7 @@ install_DATA = channels.js \ Y_Tools_Cmd.yhtm \ Y_Tools_Flash_Menue.yhtm \ Y_Tools_Flash_Upload.yhtm \ + Y_Tools_Glcd_Screenshot.yhtm \ Y_Tools_Info_Menue.yhtm \ Y_Tools_Installer.yhtm \ Y_Tools_lcshot.yhtm \ diff --git a/data/y-web/Y_Baselib.js b/data/y-web/Y_Baselib.js index e47890961..dcd498964 100644 --- a/data/y-web/Y_Baselib.js +++ b/data/y-web/Y_Baselib.js @@ -505,3 +505,8 @@ function saveTextAsFile(content, filename, filetype) } downloadLink.click(); } + +function glcdscreenshot(_filename) +{ + return loadSyncURL("/control/glcdscreenshot?name="+_filename); +} diff --git a/data/y-web/Y_Boxcontrol_Menue.yhtm b/data/y-web/Y_Boxcontrol_Menue.yhtm index e2d9a90ea..40393f4fc 100644 --- a/data/y-web/Y_Boxcontrol_Menue.yhtm +++ b/data/y-web/Y_Boxcontrol_Menue.yhtm @@ -148,6 +148,19 @@ function get_data(){