Commit Graph

893 Commits

Author SHA1 Message Date
svenhoefer
cc5258e6d5 - colors: make footer background color configurable
TODO: footer text color and maybe footer font
2016-08-15 00:14:47 +02:00
svenhoefer
bc39d1e14e - colors: some internal renamings
* INFOBAR_SHADOW to SHADOW because it's not only used in infoviewer
* INFOBAR_SHADOW_TEXT to MENUFOOT_TEXT because it's the proper name

This is in preparation to make footer colors configurable
2016-08-14 21:55:18 +02:00
Thilo Graf
5788d744c6 CMenuWidget: use real paint mode of info box 2016-08-12 17:39:11 +02:00
svenhoefer
ba9a54a0a9 - messagebox/msgbox: respect user colors for inactive buttons; ...
paint buttons with shadow and small frame
2016-08-12 15:35:22 +02:00
Thilo Graf
ab7c67d2b0 CMsgBox: ensure repaint of background
This fixes "transparent holes", because textbox object is responsible
for text.

The problem here is that the message box has a fixed width and text box
width is not really considered. This should be fixed, but CMsgBox class
is used only by CMovieinfo class and this should be enough for the moment.
2016-07-27 21:38:49 +02:00
Jacek Jendrzej
5be8af9890 src/gui/widget/menue.cpp fix possible heap-buffer-overflow 2016-07-21 15:38:34 +02:00
Thilo Graf
e8a758ac61 CShellWindow: add members to set/get commands and get current mode
This allows to use shellwindow objects with existing instance.
2016-07-03 16:35:55 +02:00
Thilo Graf
62861c5f96 CMessageBox: ignore mute button for message boxes
In some constellations it's possible that mute button is passed.
For example see deleting functionality in moviebrowser.
This should avoid unintended passing.
2016-06-26 16:15:53 +02:00
Thilo Graf
91729dc48a CMenuWidget: avoid dangling pointer after delete 2016-06-26 15:32:31 +02:00
Thilo Graf
2dd2fac376 CTextBox: don't paint full background if max text width smaller than bg width 2016-06-26 15:32:28 +02:00
Jacek Jendrzej
89f51df9e7 fix logic check null and add mute to skip 2016-05-19 15:56:49 +02:00
Jacek Jendrzej
c9e8a57418 check if string msg is not NULL, fix segfault 2016-05-19 15:22:15 +02:00
Jacek Jendrzej
2d7c22cff0 src/gui/widget/messagebox.cpp fix egfault if Text after call is deleted (lua script error) 2016-05-04 15:55:57 +02:00
Jacek Jendrzej
0d9fbd5378 some never read compil warning fixes 2016-04-24 17:18:37 +02:00
Jacek Jendrzej
8638cd73b7 some compil warning fixes 2016-04-22 16:46:21 +02:00
Jacek Jendrzej
49c86a38b4 avoid division by zero 2016-04-21 18:14:46 +02:00
Jacek Jendrzej
a918ca56b6 pass by reference 2016-04-20 12:52:16 +02:00
Jacek Jendrzej
374a172aef remove unused and some clang compil fixes 2016-04-17 13:46:16 +02:00
[CST] Focus
302642cee7 neutrino: add webtv channel list mode 2016-03-23 16:36:00 +03:00
[CST] Focus
0e4d2071ae tmdb: add tmdb logo 2016-03-07 14:31:46 +03:00
M. Liebmann
e0b952ece3 tmdb: Add star icons (THX flk) 2016-03-04 14:15:50 +01:00
svenhoefer
1df41008a4 - adzap: add hint icon by fred_feuerstein 2016-03-03 11:18:15 +01:00
Thilo Graf
8afe4495e7 CTextBox: remove statement for text change check
Check of text change is not enough. Scrollboxes could have some problems.
Dimension changes must be considered too and this is to much effort at
the moment. Use of OnAfterScrollPage is much easier.

this reverts: 342de45cc3
2016-02-18 10:42:59 +01:00
Thilo Graf
342de45cc3 CTextBox: don't paint full background if max text width smaller than bg width 2016-02-16 09:39:05 +01:00
Thilo Graf
4d1780486d CTextBox: fix missing init of old bg color
Avoids possible usage of wrong color after init.
2016-02-16 09:39:04 +01:00
M. Liebmann
6c72fe94bc CCDraw: Set cc_gradient_bg_cleanup to true
Except menu headers: Disable cleanup when save screen is disabled
2016-01-29 15:31:12 +01:00
Jacek Jendrzej
5a338357fc CMenuWidget: try to fix possible overlength of details line
Signed-off-by: Thilo Graf <dbt@novatux.de>
2016-01-26 20:00:22 +01:00
M. Liebmann
ef9246d892 CMenuWidget: Enable cleanup gradient background for menu hints...
... and for menu headers when save screen is enabled
2016-01-26 09:51:48 +01:00
Stefan Seyfried
f5c72d35c8 Merge remote-tracking branch 'n/cst-next-fixed' 2016-01-24 13:15:43 +01:00
Stefan Seyfried
7ed6175120 Revert "- listhelpers: satisfy -Werror"
This reverts commit 299852d388.
2016-01-24 12:23:00 +01:00
Thilo Graf
9d72b086a2 text screen save: try to rework screen save behavior for textbox objects
Screen save now always disabled by default and can be controlled
outside of relevant objects.
2016-01-21 11:00:38 +01:00
svenhoefer
2eb0aed5db - rc_lock: rework class; switch to singleton; add icon; vfd-support 2016-01-20 20:26:52 +01:00
svenhoefer
299852d388 - listhelpers: satisfy -Werror 2016-01-18 13:43:46 +01:00
Stefan Seyfried
cfeaf6fc6d listbox: use CListHelpers 2016-01-18 08:10:16 +01:00
Stefan Seyfried
ed7eaafbcb timerlist: use CListHelpers
remove duplicated code and use CListHelpers::UpDownKey().
Some variable types had to be changed to avoid typecasts, as
a result (int) casts to foo.size() had to be added :-)
2016-01-18 08:10:16 +01:00
Stefan Seyfried
edf7d48e04 upnpbrowser: use CListHelpers::UpDownKey 2016-01-18 08:10:16 +01:00
Stefan Seyfried
7b87206099 CListHelpers: allow UpDownKey with int type, too 2016-01-18 08:10:16 +01:00
Stefan Seyfried
99453de557 eventlist: use CListHelpers::UpDownKey 2016-01-18 08:10:16 +01:00
Stefan Seyfried
ec4aa07e17 add CListHelpers class
this can be used to factor out duplicate code implementations
from all the various channel-, bouquet-, eventlists etc...
2016-01-18 08:10:16 +01:00
Thilo Graf
35a08fc5dd CTextBox: add signal handler into scroll methodes 2016-01-17 23:37:31 +01:00
Stefan Seyfried
156acb1039 listbox: use CListHelpers 2016-01-16 18:30:32 +01:00
Stefan Seyfried
8f95f259c1 timerlist: use CListHelpers
remove duplicated code and use CListHelpers::UpDownKey().
Some variable types had to be changed to avoid typecasts, as
a result (int) casts to foo.size() had to be added :-)
2016-01-16 18:18:50 +01:00
Stefan Seyfried
663c7e3cfc upnpbrowser: use CListHelpers::UpDownKey 2016-01-16 17:51:28 +01:00
Stefan Seyfried
57f20fcbb7 CListHelpers: allow UpDownKey with int type, too 2016-01-16 17:48:30 +01:00
Stefan Seyfried
5550f89853 eventlist: use CListHelpers::UpDownKey 2016-01-16 15:38:04 +01:00
Stefan Seyfried
22c09ce84e add CListHelpers class
this can be used to factor out duplicate code implementations
from all the various channel-, bouquet-, eventlists etc...
2016-01-16 14:39:03 +01:00
Stefan Seyfried
572de2bbcb Merge remote-tracking branch 'cst-next' 2016-01-16 12:51:04 +01:00
svenhoefer
b00e78a165 - fix pagedown logic, but this time for real (i hope)
Why this was so difficult code? I don't know.
2016-01-15 13:51:14 +01:00
Stefan Seyfried
79d800f955 - port HWLIB_CFLAGS from neutrino-mp to neutrino-hd 2016-01-14 22:29:00 +01:00
Stefan Seyfried
b53fbaf327 Merge remote-tracking branch 'cst-next' 2016-01-08 19:52:41 +01:00