Commit Graph

785 Commits

Author SHA1 Message Date
Thilo Graf
7796689398 CCDraw: try to separate parameter paint_bg from shadow paint
Origin commit data
------------------
Commit: 6339ce481d
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-23 (Mon, 23 Nov 2015)
2015-12-27 14:42:31 +01:00
Thilo Graf
751a661d23 CComponentsWindow: add member setWindowHeaderTextColor()
To modifiy header text color.


Origin commit data
------------------
Commit: 7659dd4642
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-29 (Sun, 29 Nov 2015)
2015-12-27 14:42:30 +01:00
Thilo Graf
7454ede224 CComponentsWindow: add method to set header color
Origin commit data
------------------
Commit: 8e99559d90
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-29 (Sun, 29 Nov 2015)
2015-12-27 14:42:30 +01:00
Thilo Graf
72a289a90c components: rework classes
- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
 enable/disable clock with external timer events,
 tryed to fix some display issues related with infoclock and
 time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
 cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
 arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large


Origin commit data
------------------
Commit: 0146511f38
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-18 (Wed, 18 Nov 2015)

Origin message was:
------------------
components: rework classes

- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
 enable/disable clock with external timer events,
 tryed to fix some display issues related with infoclock and
 time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
 cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
 arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large
2015-12-27 14:42:27 +01:00
Jacek Jendrzej
ba37f4015e fix compil fix change 64 to 32
Origin commit data
------------------
Commit: 322b58a598
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-12-27 (Sun, 27 Dec 2015)
2015-12-27 13:58:32 +01:00
Jacek Jendrzej
74678238cf some gcc5 compil fixes
Origin commit data
------------------
Commit: ddb3c15d4b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-12-26 (Sat, 26 Dec 2015)
2015-12-26 17:03:42 +01:00
[CST] Focus
644c798e74 gui/components/cc_item_tvpic.cpp: show PiG in mode_ts, too
Origin commit data
------------------
Commit: 6ff50ec61b
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-10-29 (Thu, 29 Oct 2015)
2015-11-06 17:23:10 +03:00
Thilo Graf
92656b5981 CComponentsButton: simplify paint of button icon
Calculation of image aspect ratio now happens in picture object itself.


Origin commit data
------------------
Commit: b47a0ccaeb
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-11 (Sat, 11 Jul 2015)
2015-07-17 15:35:47 +02:00
Thilo Graf
bc4a8cc364 CComponentsPicture: fix and simplify image scale handling
Aspect ratio was not considered in some constallations, To see on button
icons and oversized custom channellogos in channllist.
Now this is handeled on init of image object and setters for width and height.


Origin commit data
------------------
Commit: 53a350d5af
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-11 (Sat, 11 Jul 2015)
2015-07-17 15:35:18 +02:00
Thilo Graf
215d6c1e46 CComponentsText: add switch for utf8 disable/enable
Origin commit data
------------------
Commit: ccdaacb0a0
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-12 (Sun, 12 Jul 2015)
2015-07-12 21:08:25 +02:00
Thilo Graf
c6aa9b8ebf CComponentsFooter: reduce scale factor without button background
Origin commit data
------------------
Commit: 5de4b48a00
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-01 (Wed, 01 Jul 2015)
2015-07-01 16:05:42 +02:00
Thilo Graf
2166b0e1b0 CComponentsButton: fix image scale
Wrong ratio calculation.


Origin commit data
------------------
Commit: cabe84bf0f
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-06-30 (Tue, 30 Jun 2015)
2015-07-01 16:05:38 +02:00
Thilo Graf
37dd574464 CComponentsPicture: fix internal value for dimension vars
The values contained not values from the scaled image file.


Origin commit data
------------------
Commit: 5e380fa4f8
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-06-30 (Tue, 30 Jun 2015)
2015-07-01 15:56:42 +02:00
[CST] Focus
fdc360bdb2 gui/components/cc_item.cpp: use theme option for one/two color gradient
Origin commit data
------------------
Commit: 62a9621cb0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-05-07 (Thu, 07 May 2015)
2015-05-07 16:39:28 +03:00
vanhofen
64dae98d61 ccomponents: add missing slash to iconBasePath
Origin commit data
------------------
Commit: e85f32848c
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-07 (Thu, 07 May 2015)

Origin message was:
------------------
- ccomponents: add missing slash to iconBasePath
2015-05-07 11:10:28 +02:00
vanhofen
3429bd79b2 fix and use ICONSDIR variable; move ICONSSDIR_VAR to global.h
Origin commit data
------------------
Commit: 89a11de651
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-06 (Wed, 06 May 2015)

Origin message was:
------------------
- fix and use ICONSDIR variable; move ICONSSDIR_VAR to global.h
2015-05-06 22:58:54 +02:00
Thilo Graf
addeddd809 CProgressBar: remove unused member
Origin commit data
------------------
Commit: 57c3761619
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-22 (Wed, 22 Apr 2015)
2015-05-04 10:37:03 +02:00
Thilo Graf
457ce777cb CProgressBar: remove unused include
Origin commit data
------------------
Commit: a29b8e7982
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-13 (Mon, 13 Apr 2015)
2015-05-04 10:37:03 +02:00
Thilo Graf
71cc26b1cc CComponentsText: declare function getTextFromFile() as static
Is usable as standalone member too.


Origin commit data
------------------
Commit: 884e3b7cb5
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-14 (Tue, 14 Apr 2015)
2015-05-04 10:37:03 +02:00
vanhofen
835a2611aa cc_frm_header: prepare for c2c gradient
Origin commit data
------------------
Commit: c05e650a02
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-04 (Mon, 04 May 2015)

Origin message was:
------------------
- cc_frm_header: prepare for c2c gradient
2015-05-04 09:41:41 +02:00
vanhofen
fa19d61637 cc_frm_footer: prepare for c2c gradient
Origin commit data
------------------
Commit: 5599784642
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-04 (Mon, 04 May 2015)

Origin message was:
------------------
- cc_frm_footer: prepare for c2c gradient
2015-05-04 09:41:41 +02:00
TangoCash
26337a2c8a enable color-to-color gradient
Origin commit data
------------------
Commit: a8be4f6365
Author: TangoCash <eric@loxat.de>
Date: 2015-05-04 (Mon, 04 May 2015)
2015-05-04 09:41:41 +02:00
Thilo Graf
6261b3b869 themes: use hintbox and header gradient option in theme settings
Color gradient feature was originally intended for use
inside theme settings and it's not really suitable for
generally use as default in all themes at the moment, so it makes more
sense to have options in theme settings and let the user decide
to customize this, unless enough other gui parts can use this feature.


Origin commit data
------------------
Commit: 01516cf943
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-29 (Wed, 29 Apr 2015)

Origin message was:
------------------
themes: use hintbox and header gradient option in theme settings

Color gradient feature was originally intended for use
inside theme settings and it's not really suitable for
generally use as default in all themes at the moment, so it makes more
sense to have options in theme settings and let the user decide
to customize this, unless enough other gui parts can use this feature.
2015-04-29 10:16:55 +02:00
Thilo Graf
67ce60084b cc_base.cpp: fix wrong statment value
Comes with aa9571f314


Origin commit data
------------------
Commit: 5f603ed6b0
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-27 (Mon, 27 Apr 2015)
2015-04-27 11:51:01 +02:00
Thilo Graf
aa9571f314 cc_base.cpp: paint shadow only on firs paint of item body
Avoids unnecessary paint of shadow layers, This should
avoid flicker effects.


Origin commit data
------------------
Commit: 1e16dbbf59
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-27 (Mon, 27 Apr 2015)
2015-04-27 10:02:18 +02:00
[CST] Focus
fd94f4fdb6 CComponentsInfoBox: add switch to enable gradient for info box
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 7016a86ca2
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-04-27 (Mon, 27 Apr 2015)
2015-04-27 09:54:45 +02:00
[CST] Focus
c4d94d60fd gradient: try to fix delete gradient data only on color change
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 53ce471af8
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-04-27 (Mon, 27 Apr 2015)
2015-04-27 09:25:34 +02:00
Thilo Graf
b1bcb22dd9 Revert "CComponentsItem: fix remove gradient buffer on killed item"
This reverts commit 75deb5712c.


Origin commit data
------------------
Commit: d8da2a3087
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-27 (Mon, 27 Apr 2015)
2015-04-27 09:21:19 +02:00
Thilo Graf
8c3972203e CComponentsPicture: add sub classes for scalable images and channel logos
This could replace call of CComponentsPicture objects with explicit
dimension values = 0


Origin commit data
------------------
Commit: 80457beaf6
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-04 (Sat, 04 Apr 2015)
2015-04-04 22:35:57 +02:00
Michael Liebmann
705406fdf3 CComponentsText: Fix default font
Origin commit data
------------------
Commit: ae139d4ec2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-03-31 (Tue, 31 Mar 2015)
2015-03-31 12:00:48 +02:00
Thilo Graf
2c91e5d3bd CComponentsButton: disable gradient
Not necessary as long not all or most gui buttons can provide gradient


Origin commit data
------------------
Commit: 47b37d4405
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-03-28 (Sat, 28 Mar 2015)
2015-03-29 22:40:15 +02:00
Thilo Graf
ff6e864019 CComponentsTimer: move mySleep call into mutex block, seems was not ok so
Origin commit data
------------------
Commit: 45623aa810
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-28 (Sat, 28 Feb 2015)
2015-03-29 22:40:14 +02:00
Thilo Graf
a755b1730d CComponentsText: add possibilty to set font style
Usable with methode setText() and parameter 'style'

provided enums are:
	FONT_STYLE_REGULAR
	FONT_STYLE_BOLD
	FONT_STYLE_ITALIC


Origin commit data
------------------
Commit: 341b142aa0
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-22 (Sun, 22 Feb 2015)
2015-03-29 22:40:13 +02:00
Thilo Graf
a1f54c9e7d CComponentsText: avoid unintentional overwriting of current property values
If parameters were not explicitly defined, default values of parameters
overwrite current property values.


Origin commit data
------------------
Commit: d2ae57e5b6
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-22 (Sun, 22 Feb 2015)
2015-03-29 22:40:13 +02:00
Thilo Graf
aa9368095a CComponentsInfoBox: fix scale height for larger picons
Origin commit data
------------------
Commit: a9c474e486
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-28 (Wed, 28 Jan 2015)
2015-03-29 22:40:12 +02:00
Thilo Graf
485604e976 CComponentsInfoBox: remove unnecessary call for kill()
partial revert of: CComponentsInfoBox: fix centering of image


Origin commit data
------------------
Commit: 592b0025d9
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-25 (Sun, 25 Jan 2015)

Origin message was:
------------------
CComponentsInfoBox: remove unnecessary call for kill()

partial revert of: CComponentsInfoBox: fix centering of image
2015-03-29 22:40:11 +02:00
Thilo Graf
011ed9ca90 CComponentsTimer: move pthread members into startTimer()
Origin commit data
------------------
Commit: 012c699951
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-20 (Tue, 20 Jan 2015)
2015-03-29 22:40:10 +02:00
Thilo Graf
bdcc52feba CComponentsText: expand setTextColor() methode
apply color value direct in text box object


Origin commit data
------------------
Commit: 4a0975eb90
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-24 (Sat, 24 Jan 2015)
2015-03-29 22:40:10 +02:00
Thilo Graf
8c743e9dff CComponentsSignals: add signals for hide events
Origin commit data
------------------
Commit: 1b3f5847be
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-21 (Wed, 21 Jan 2015)
2015-03-29 22:40:10 +02:00
Thilo Graf
8c0279c4a0 CComponentsButton: fix fit of button icon
Scale was broken


Origin commit data
------------------
Commit: d33c4911d2
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-14 (Wed, 14 Jan 2015)
2015-03-29 22:40:08 +02:00
Thilo Graf
75deb5712c CComponentsItem: fix remove gradient buffer on killed item
Origin commit data
------------------
Commit: 51aab307c3
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-14 (Wed, 14 Jan 2015)
2015-03-29 22:40:08 +02:00
Thilo Graf
a828999513 CComponentsPicture: fix icon size/scale handling
Origin commit data
------------------
Commit: e8d46a8a55
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-14 (Wed, 14 Jan 2015)
2015-03-29 22:40:07 +02:00
Thilo Graf
345341e42d CComponentsInfoBox: fix centering of image
Origin commit data
------------------
Commit: ebc9d28e0e
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-13 (Tue, 13 Jan 2015)
2015-03-29 22:40:07 +02:00
Thilo Graf
c32d56aa7d CProgressBarCache: fix compiler warnings wconversion
Origin commit data
------------------
Commit: 9c85491974
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-13 (Tue, 13 Jan 2015)
2015-03-29 22:40:06 +02:00
Thilo Graf
3b9a54af3f CComponentsFooter: Function setButtonLabels() change parameter
Performance: parameter 'v_content' should be passed by reference


Origin commit data
------------------
Commit: 56ea6c140f
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-12 (Mon, 12 Jan 2015)
2015-03-29 22:40:06 +02:00
Thilo Graf
d88c995cb2 CComponentsForm: reduce log spam in info mode
Origin commit data
------------------
Commit: 674f2f983a
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-04 (Sun, 04 Jan 2015)
2015-03-29 22:40:04 +02:00
Thilo Graf
b053629749 CComponentsTimer: simplify isRun function
Origin commit data
------------------
Commit: 1d574d93bc
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-16 (Tue, 16 Dec 2014)
2015-03-29 22:40:01 +02:00
Thilo Graf
ebb57c96ac CProgressBar: add missing assign of 'allow paint' property
Property had no effect.


Origin commit data
------------------
Commit: 663c7deef2
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-30 (Sun, 30 Nov 2014)
2015-03-29 22:39:58 +02:00
Thilo Graf
e83a7beda7 CComponentsItem: add setXPos/setYPos(), that consider real position
Origin commit data
------------------
Commit: 8ebb5f98ca
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-30 (Sun, 30 Nov 2014)
2015-03-29 22:39:58 +02:00
Thilo Graf
1f062fd43a CComponentsForm: prevent wrong id parameter if item size out of range
Origin commit data
------------------
Commit: d72603665c
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-14 (Fri, 14 Nov 2014)
2015-03-29 22:39:57 +02:00