Commit Graph

271 Commits

Author SHA1 Message Date
Stefan Seyfried
e09bc260da neutrino: make button bar use available space intelligently
modify the paintButtons() function, so that it spreads the buttons
over the available width with constant space between them.
Port over all users to the new method and clean up quite some custom
button drawing code on the way.

Conflicts:
	src/gui/audioplayer.cpp
	src/gui/bouquetlist.cpp
	src/gui/channellist.cpp
	src/gui/epgview.cpp
	src/gui/eventlist.cpp
	src/gui/filebrowser.cpp
	src/gui/widget/buttons.cpp
	src/gui/widget/stringinput.cpp
2013-04-05 14:50:28 +04:00
Thilo Graf
860be9a412 CComponents: add progressbar class to cc-items
CProgressbar moved into components sub directory and adapt includes.
Progressbar objects are now usable as cc-item

TODO:
-some color and size corrections
-found some dub codes for sig and snr-bars, needs rework
2013-04-02 09:31:05 +02:00
Jacek Jendrzej
25653df890 src/gui/channellist.cpp: fix to 36e95d7fbc if more bouquets empty 2013-04-01 16:19:51 +04:00
Stefan Seyfried
0d318fd296 channellist: refactor to avoid duplicated code
Conflicts:
	src/gui/channellist.cpp
2013-04-01 15:47:10 +04:00
svenhoefer
4714a30f83 - strech most windows to full screen
* switchable with existing switch for 'big_windows'
* 'big_windows' default is on

Conflicts:
	src/gui/bedit/bouqueteditor_bouquets.cpp
	src/gui/bedit/bouqueteditor_channels.cpp
	src/gui/bedit/bouqueteditor_chanselect.cpp
2013-04-01 15:42:38 +04:00
svenhoefer
39f16c7dc3 - fix my last commit 0064c6c (recalc height) 2013-04-01 14:59:51 +04:00
svenhoefer
bfd2095dfc - channellist: fix dimensions when using very large fonts
* paint scrollbar over full height of main box
2013-04-01 14:59:28 +04:00
[CST] Focus
f35065b918 gui/channellist.cpp: adjust channel list mode on numeric zap 2013-04-01 14:15:47 +04:00
Jacek Jendrzej
f4ae5e17ce src/gui/channellist.cpp: fix to 36e95d7fbc if more bouquets empty 2013-03-27 16:18:32 +01:00
Stefan Seyfried
36e95d7fbc channellist: refactor to avoid duplicated code 2013-03-25 14:06:16 +01:00
svenhoefer
759966f935 - strech most windows to full screen
* switchable with existing switch for 'big_windows'
* 'big_windows' default is on
2013-03-25 09:45:22 +01:00
Thilo Graf
deab17dc25 CChannelList: ensure new init of dline
Causes correct paint of details line, if osd settings
have been changed.
2013-03-24 21:16:49 +01:00
Thilo Graf
407d9fe800 CChannelList: remove details line on changing pages
details line was not completely killed changed page.
2013-03-21 11:38:40 +01:00
svenhoefer
3584a11872 - fix my last commit 0064c6c (recalc height) 2013-03-17 20:15:17 +01:00
svenhoefer
0064c6c704 - channellist: fix dimensions when using very large fonts
* paint scrollbar over full height of main box
2013-03-16 23:47:23 +01:00
[CST] Focus
f57c77bbc3 gui/channellist.cpp: add comment about PiG mode with still image displayed 2013-03-14 19:11:21 +04:00
[CST] Focus
c60b8fc741 gui/channellist.cpp: add 'force' arg to zap functions, to trigger zap 2013-03-13 18:54:30 +04:00
[CST] Focus
d2472e64cf gui/channellist.cpp: use CNeutrinoApp::StartPip 2013-03-13 16:26:59 +04:00
Stefan Seyfried
b8cd692257 channellist: preset favorite bouquets when adding channels
when adding channels from the channellist context menu, the
useful targets are the favorites bouquets, so pre-select them
2013-03-12 16:33:15 +04:00
Stefan Seyfried
367f6f6559 channellist: don't change bouquetmode when adding favs
when adding a channel to favorites from the channellist contextmenu
the favorites bouquet was chosen, which is not helpful if further
favorites should be added
2013-03-12 16:33:00 +04:00
Stefan Seyfried
f8aacb7a10 channellist: preset favorite bouquets when adding channels
when adding channels from the channellist context menu, the
useful targets are the favorites bouquets, so pre-select them
2013-03-11 13:32:06 +01:00
Stefan Seyfried
99e2ff32c9 channellist: don't change bouquetmode when adding favs
when adding a channel to favorites from the channellist contextmenu
the favorites bouquet was chosen, which is not helpful if further
favorites should be added
2013-03-11 13:32:06 +01:00
[CST] Focus
e05ab5297d gui/channellist.cpp: use zapit client for PiP 2013-03-08 14:14:26 +04:00
Thilo Graf
ba4e026b33 CChannelList: fix compile error
clearItem2DetailsLine()candidate expects 1 argument, 2 provided
2013-03-06 11:28:17 +01:00
Thilo Graf
ce2e95cc5a CChannelList: revert of some implementations of CComponents classes
Current state of CChannelList is mostly not compatible with CC-classes and
implementations are  to expensive at the moment, because more preparations are necessary.
2013-03-06 11:28:17 +01:00
Thilo Graf
ec0a91813a CChannelList: devel_cc fix merge errors
var full_width was lost during merge, this fixes
header and details width
2013-03-06 11:28:16 +01:00
micha-bbg
505d14c0a1 channellist.cpp: Fix segfault at 'delete Infobox' when changes in bouquet list. 2013-03-06 11:28:05 +01:00
Thilo Graf
d0af8fb7bf CChannelList: adapt for new functionality in CComponents 2013-03-06 11:28:02 +01:00
Thilo Graf
936e965909 CChannellist: remove calculateElements()
is already included in print()clHead->paint() and refreshElement()
2013-03-06 11:28:00 +01:00
micha-bbg
cd4cb6645e Channellist: Use CComponentsTitleBar for paint head 2013-03-06 11:28:00 +01:00
Thilo Graf
32f2f8a85d CChannelList: use own function to get transponder info 2013-03-06 11:27:57 +01:00
Thilo Graf
c53a0a7ab4 CChannelList: adapt for new CComponentsInfoBox functionality
TODO:
paint text into infobox with CComponentsInfoBox
2013-03-06 11:27:57 +01:00
Thilo Graf
d59eb05427 CChannelList: adapt for last changes in CComponents 2013-03-06 11:27:53 +01:00
micha-bbg
413e224128 * channellist.cpp: paint details
- Rework paintItem2DetailsLine()
- Use CComponentsInfoBox for paintDetails()
- Set missing height of down mark
2013-03-06 11:27:52 +01:00
[CST] Focus
cbfa6f88c5 use ENABLE_PIP for pip code 2013-03-05 18:34:47 +04:00
[CST] Focus
69b4d366af Merge branch 'pip' into next
Conflicts:
	src/gui/channellist.cpp
2013-02-28 16:45:41 +04:00
[CST] Focus
682c3c4f37 gui/channellist.cpp: start/stop PiP for selected channel on play button 2013-02-27 11:02:13 +04:00
Stefan Seyfried
b0c7ca94a7 channellist: initialize values to satisfy valgrind 2013-02-24 13:56:47 +01:00
Thilo Graf
f90395b81d CChannelList: fix position of minitv, small cleanups
This is only a provisionally fix. A rework of initialisation for
many member variables seems to be necessary.
2013-02-22 09:23:33 +01:00
Stefan Seyfried
4dbeb3a31e neutrino: fix 32<->64bit format string warnings
use portable C99 format string macros for 64bit types to
fix many warnings when compiling for 64bit architectures,
add some (int) casts for size_t
2013-02-21 15:47:18 +01:00
Thilo Graf
0a961a4cf6 CComponents: move class into its own source directory
The components could over time become quite large,
so it makes more sense, coming features to split into
multiple files and to do it in a separate directory.
2013-02-19 11:27:46 +01:00
svenhoefer
b307f4c8d4 - channellist.cpp: change order of painting to be more liquid 2013-02-18 21:54:52 +01:00
svenhoefer
8a7687abe1 - channellist.cpp: show pic instead of miniTV in radiomode 2013-02-18 21:00:19 +01:00
svenhoefer
782c9f107c - channellist.cpp: fix logo position if new_zap_mode is off 2013-02-17 23:20:04 +01:00
svenhoefer
9632f3bad7 - channellist.cpp: fix broken display of infobar while zapping 2013-02-17 22:57:37 +01:00
svenhoefer
505c4ba80d Revert "Revert '- channellist.cpp: enable to lock new_zap_mode'"
This reverts commit fb892d18ff.
2013-02-17 22:55:28 +01:00
svenhoefer
ddbac1b248 - channellist.cpp: allow colored events (for time) in right eventlist 2013-02-17 21:55:21 +01:00
svenhoefer
fb892d18ff Revert "- channellist.cpp: enable to lock new_zap_mode"
This reverts commit 15d787f79b
because the display of infobar while zapping is broken with
this commit.
2013-02-15 22:55:45 +01:00
micha-bbg
91d76a9487 * channellist.cpp: Show channel list vertically centered 2013-02-13 23:34:55 +01:00
micha-bbg
b2f5ca589d * channellist.cpp: Fix time display in event list
- fix compiler warning
2013-02-12 21:34:18 +01:00