Commit Graph

1060 Commits

Author SHA1 Message Date
Michael Liebmann
e473df6a43 CNeutrinoFonts: Use separate font renderer for dynamic fonts
- delete / initialize font renderer only if necessary
  (e.g. start program, change the font file, change the scaling)
2013-07-26 14:52:37 +02:00
Michael Liebmann
aca97e210e CNeutrinoFonts: Fix segfault, when fontfile changed
- use std::string for font and style names
2013-07-21 22:06:40 +02:00
Michael Liebmann
0a0035c2ae Add option to resize the VolumeBar
- Minimum height: Height of NEUTRINO_ICON_VOLUME + 2 pixels
- Maximum height: 50 pixels
- Setting can be changed with:
  Menu -> Settings -> OSD -> Volume -> Height of display
2013-07-21 22:06:05 +02:00
Michael Liebmann
0bcb7bcfae Add dynamic fonts to CNeutrinoFonts
- Dynamic fonts with their size matched to a given text box.
  The display size is retained even when changing the font size factor.
- "Normal" dynamic fonts, characterized by FONT_ID_SHARE in
  CNeutrinoFonts::getDynFont() can be used by several objects
  simultaneously. That is, if the calculated font size and font style
  are the same, the existing font is used.
- Dynamic font for exclusive application will only be used by an object.
  For this, a FontID (FONT_ID_xxx, defined in src/driver/neutrinofonts.h)
  in CNeutrinoFonts::getDynFont() is specified.
- Objects with dynamic font for exclusive application can resize at
  run time, the font size will be adjusted accordingly.
- The return value of CNeutrinoFonts::getDynFont() is a pointer
  to a font, for example:
  Font** font = CNeutrinoFonts::getInstance()->getDynFont(...);
  (*font)->RenderString(...)
2013-07-21 22:05:18 +02:00
Michael Liebmann
465d2aba23 Add new class CNeutrinoFonts for setup and modify neutrino fonts
- move SetupFonts() from CNeutrinoApp to CFontSetup
2013-07-21 22:05:14 +02:00
[CST] Focus
c31c9d0e7f neutrino.cpp: add buttons backlight settings 2013-07-18 14:52:00 +04:00
tomworld
ea66aaaf8f - keybind_setup: add possibility to disable/enable some special keys 2013-07-12 15:50:30 +02:00
Stefan Seyfried
7cfe54dc2f Merge branch 'check/next-cc'
again: it compiles, but is not really tested...

Conflicts:
	acinclude.m4
	src/driver/volume.cpp
	src/gui/infoviewer.cpp
	src/gui/osd_setup.cpp
	src/gui/start_wizard.cpp
	src/zapit/src/getservices.cpp
2013-07-06 19:01:15 +02:00
Michael Liebmann
2a63a85584 CVolumeBar: add enums for volume bar pos 2013-07-03 07:30:09 +02:00
[CST] Focus
06a3533d68 neutrino.cpp: fix analog_mode1 on apollo 2013-06-27 15:03:49 +04:00
Stefan Seyfried
d5d5a60261 Merge branch 'check/next-cc'
it compiles, but is not really tested...

Conflicts:
	src/driver/netfile.cpp
	src/driver/volume.cpp
	src/eitd/sectionsd.cpp
	src/gui/audioplayer.cpp
	src/gui/bedit/bouqueteditor_bouquets.cpp
	src/gui/bedit/bouqueteditor_channels.cpp
	src/gui/bookmarkmanager.cpp
	src/gui/bouquetlist.cpp
	src/gui/eventlist.cpp
	src/gui/movieplayer.cpp
	src/gui/pictureviewer.cpp
	src/gui/scan.cpp
	src/gui/test_menu.h
	src/gui/timerlist.cpp
	src/gui/update.cpp
	src/gui/widget/listbox.cpp
	src/neutrino.cpp
	src/system/flashtool.cpp
	src/zapit/src/Makefile.am
	src/zapit/src/femanager.cpp
2013-06-16 21:22:14 +02:00
Michael Liebmann
32617f5b3c Software update: Disable epg scan before stop daemons 2013-06-15 04:46:59 +02:00
Michael Liebmann
c780676ce5 Software update: Copy flashimage to /tmp if it is not present in this directory
- unmount mounted network folders before flashing
- kill timerd before flashing
2013-06-13 01:36:03 +02:00
[CST] Focus
db40f59c84 neutrino.cpp: save/load epg_scan option;
process EVT_EIT_COMPLETE
2013-06-12 18:46:34 +04:00
Michael Liebmann
64974f0692 * neutrino.cpp/stop_daemons(): display "Stop daemons" only in flash mode 2013-06-08 17:19:40 +02:00
Michael Liebmann
c26fd64759 * Software update: Rework preparing the flash process
- Finish all unnecessary threads and processes before the flash process
- Use flash.start to stop other (user-defined) processes
2013-06-08 16:20:32 +02:00
Michael Liebmann
365661e841 * Software update: Apply the settings in the options menu switchable 2013-06-08 16:20:32 +02:00
Michael Liebmann
d08d18522e * Add volume bar to osd timeouts in the OSD setup 2013-06-04 01:17:39 +02:00
[CST] Focus
6f8ef9ec46 Merge branch 'next' into next-cc
Conflicts:
	data/locale/english.locale
	src/driver/framebuffer.cpp
	src/gui/channellist.cpp
	src/gui/eventlist.cpp
	src/gui/moviebrowser.cpp
2013-06-02 10:46:42 +04:00
Stefan Seyfried
6aee976490 neutrino: don't spam with --enable-cleanup
sectionsd already does malloc_stats()
2013-06-01 15:50:35 +02:00
Stefan Seyfried
eb9eba8914 neutrino: generic-pc is now also using 1280x70 FB per default 2013-05-29 15:30:06 +02:00
Stefan Seyfried
4bb8fd218a neutrino/femanager: fix format string warnings 2013-05-28 16:24:35 +02:00
Jacek Jendrzej
a549b97924 fix comma at end of enumerator list 2013-05-28 15:52:31 +02:00
Jacek Jendrzej
a01551d360 ChannelList::quickZap -record mode- should zap if possible, else display transponderlist 2013-05-25 13:05:55 +02:00
Stefan Seyfried
a7f1e0e25e Merge remote-tracking branch 'check/next-cc'
needs buildfixing in framebuffer class...

Conflicts:
	data/locale/deutsch.locale
	data/locale/english.locale
	src/driver/fontrenderer.cpp
	src/driver/volume.cpp
	src/gui/audiomute.cpp
	src/gui/audioplayer.cpp
	src/gui/osd_setup.cpp
	src/gui/widget/stringinput.cpp
	src/neutrino.cpp
2013-05-24 20:24:39 +02:00
Michael Liebmann
5eb7f4aea8 * Mute icon: Fix minor bugs
- Fix display the mute icon when leaving the audio player
- Disable mute icon in channellist when 'Quickzap in list' active or allow
- Fix hide the mute icon in movie browser, picture viewer,
  file browser and upnp browser
- Font::RenderString(): Use correct value of y for CFrameBuffer::checkFbArea()
2013-05-18 14:44:20 +01:00
Michael Liebmann
bf1c7bfdb7 * Various changes for reworked mute icon handling in some classes
- mute icon disabled for moviebrowser, upnpbrowser, pictureviewer
- extra handling for audioplayer
2013-05-16 11:01:41 +01:00
[CST] Focus
bbade7451d neutrino.cpp: change defaults:
record ttx/subtitles to true;
progress bars to horizontal bars;
infoviewer epg progress to below channel name;
ca sys display to discreet;
direct record end to epg event
2013-05-15 16:04:37 +04:00
svenhoefer
a5857e9d5b - neutrino: use key 'sleep' to execute CSleepTimerWidget 2013-05-14 01:09:10 +02:00
Stefan Seyfried
6d64dfa134 neutrino/femanager: fix format string warnings 2013-05-12 17:26:00 +02:00
Stefan Seyfried
7459630565 neutrino: put hw_caps init after cs_api_init() 2013-05-12 17:23:34 +02:00
Stefan Seyfried
6b72095f5a neutrino: explicitly include vfd/lcd header
Instead of including it everywhere through global.h, just include
the lcd/vfd header where needed. Add a tiny helper header "display.h"
to divert between vfd.h (coolstream) and lcdd.h (everything else).
2013-05-11 17:17:33 +02:00
Jacek Jendrzej
1396896dd1 CTimerManager:: don't set wekup flag if box boot from zapto timer 2013-05-10 17:02:11 +04:00
Stefan Seyfried
8253c4d67c Merge remote-tracking branch 'check/next-cc'
needs some build-fixing and merge errors are likely :-(

Conflicts:
	configure.ac
	data/icons/start.jpg
	data/locale/deutsch.locale
	data/locale/unmaintained/dutch.locale
	lib/libdvbsub/Makefile.am
	lib/libdvbsub/dvbsubtitle.cpp
	lib/libtuxtxt/Makefile.am
	src/Makefile.am
	src/daemonc/Makefile.am
	src/driver/audiodec/Makefile.am
	src/driver/framebuffer.cpp
	src/driver/framebuffer.h
	src/driver/pictureviewer/Makefile.am
	src/driver/rcinput.cpp
	src/driver/streamts.cpp
	src/driver/volume.cpp
	src/eitd/Makefile.am
	src/gui/Makefile.am
	src/gui/audioplayer.cpp
	src/gui/bedit/Makefile.am
	src/gui/bedit/bouqueteditor_chanselect.cpp
	src/gui/bouquetlist.cpp
	src/gui/channellist.cpp
	src/gui/components/Makefile.am
	src/gui/epgview.cpp
	src/gui/eventlist.cpp
	src/gui/infoviewer.cpp
	src/gui/infoviewer_bb.cpp
	src/gui/keybind_setup.cpp
	src/gui/moviebrowser.cpp
	src/gui/movieplayer.cpp
	src/gui/scan.cpp
	src/gui/scan_setup.cpp
	src/gui/test_menu.cpp
	src/gui/test_menu.h
	src/gui/update.cpp
	src/gui/videosettings.cpp
	src/gui/widget/Makefile.am
	src/gui/widget/buttons.cpp
	src/gui/widget/stringinput.cpp
	src/neutrino.cpp
	src/nhttpd/tuxboxapi/coolstream/Makefile.am
	src/system/Makefile.am
	src/system/setting_helpers.cpp
	src/system/settings.h
	src/zapit/include/zapit/client/zapitclient.h
	src/zapit/include/zapit/femanager.h
	src/zapit/include/zapit/getservices.h
	src/zapit/lib/zapitclient.cpp
	src/zapit/src/Makefile.am
	src/zapit/src/capmt.cpp
	src/zapit/src/femanager.cpp
	src/zapit/src/frontend.cpp
	src/zapit/src/getservices.cpp
2013-05-10 10:06:47 +02:00
Thilo Graf
8baec6d62a CVolumeBar: rework volumebar handling
Use CComponenets and separates the gui part from driver part

- add new class CVolumeBar as CComponentsForm
- Various changes for reworked volume bar handling in some classes
- Move AudioMute() from CVolume to new class CAudioMute
- Use CComponentsPicture to paint muteicon
2013-05-08 05:11:24 +01:00
Stefan Seyfried
596e8b5bf6 neutrino: do not clean up infoviewer
after spending ages trying to track down the illegal access
in the infoviewer destructor, just #if 0 it.
2013-05-04 12:35:08 +02:00
Jacek Jendrzej
6ba280261b CTimerManager:: don't set wekup flag if box boot from zapto timer 2013-05-01 22:00:03 +02:00
Jacek Jendrzej
f4f5e4cbe6 src/neutrino.cpp: execute rcK on restart 2013-04-30 13:00:40 +04:00
[CST] Focus
6f37b8a7b6 neutrino.cpp, settings: add key for file play subtitle select 2013-04-30 12:10:03 +04:00
Jacek Jendrzej
ab3b8b4fdd src/neutrino.cpp: execute rcK on restart 2013-04-18 20:32:40 +02:00
[CST] Focus
8bb70d1ab3 Merge branch 'pu/cc' into next-cc
Conflicts:
	acinclude.m4
	data/locale/deutsch.locale
	data/locale/english.locale
	src/driver/volume.cpp
	src/eitd/SIlanguage.cpp
	src/gui/bedit/bouqueteditor_channels.cpp
	src/gui/bedit/bouqueteditor_chanselect.cpp
	src/gui/bouquetlist.cpp
	src/gui/channellist.cpp
	src/gui/eventlist.cpp
	src/gui/osd_setup.cpp
	src/gui/scan.cpp
	src/gui/scan.h
	src/gui/test_menu.cpp
	src/gui/timeosd.cpp
	src/gui/widget/progressbar.cpp
	src/gui/widget/progressbar.h
	src/neutrino.cpp
	src/nhttpd/yconfig.h
2013-04-17 13:32:12 +04:00
Stefan Seyfried
c0c008190e neutrino: make g_channel_list_changed private
Add a setter function MarkChannelListChanged() instead for
bouquet/channel list. This avoids sometimes not reloading
channels after changes in the service menu.
2013-04-17 10:21:33 +04:00
Stefan Seyfried
24a61bddd6 neutrino: fix signed/unsigned warning 2013-04-17 10:21:33 +04:00
Stefan Seyfried
bb560fbf47 reloadchannels: make sure that channel flags are updated when reloading 2013-04-17 10:21:33 +04:00
[CST] Focus
f36200e0fe neutrino.cpp: add ci_ignore_messages settings var 2013-04-16 13:16:16 +04:00
Stefan Seyfried
057f3a8964 neutrino: make g_channel_list_changed private
Add a setter function MarkChannelListChanged() instead for
bouquet/channel list. This avoids sometimes not reloading
channels after changes in the service menu.
2013-04-15 19:46:27 +02:00
Stefan Seyfried
6996658dcc neutrino: fix signed/unsigned warning 2013-04-15 19:42:35 +02:00
Stefan Seyfried
ba22ea8668 reloadchannels: make sure that channel flags are updated when reloading 2013-04-15 19:42:06 +02:00
Stefan Seyfried
744ed878de neutrino: make g_channel_list_changed private
Add a setter function MarkChannelListChanged() instead for
bouquet/channel list. This avoids sometimes not reloading
channels after changes in the service menu.
2013-04-14 19:42:28 +02:00
Stefan Seyfried
6f92bba94c neutrino: fix signed/unsigned warning 2013-04-14 17:13:38 +02:00