Commit Graph

63 Commits

Author SHA1 Message Date
vanhofen
3fb69ef421 Merge branch 'master' of https://github.com/tuxbox-neutrino/gui-neutrino into ni/tuxbox
Origin commit data
------------------
Branch: ni/coolstream
Commit: 728959949b
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-08 (Wed, 08 Feb 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-02-08 20:35:37 +01:00
Stefan Seyfried
86f609bc17 replace fontrenderer.h include with forward declaration
in order to flatten the build dependency tree further, include
fontrenderer.h directly where needed, in header files a forward
declaration is enough


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2303d94300
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-05 (Sun, 05 Feb 2017)



------------------
This commit was generated by Migit
2017-02-07 17:23:42 +01:00
Thilo Graf
112973c3ae CComponentsForm: move slots into base classes
Usable for all form classes


Origin commit data
------------------
Branch: ni/coolstream
Commit: 06fa3f2488
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-06 (Mon, 06 Feb 2017)



------------------
This commit was generated by Migit
2017-02-07 17:12:25 +01:00
Thilo Graf
11d4052f03 signals: reduce multiple includes for sigc++/bind.h
Origin commit data
------------------
Branch: ni/coolstream
Commit: e4d0abc7dc
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-06 (Mon, 06 Feb 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-02-07 17:12:25 +01:00
Thilo Graf
0ee904135a CComponentsText: add signal OnBeforePaint into text paint() methode
Origin commit data
------------------
Branch: ni/coolstream
Commit: 53f956c0f9
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-27 (Fri, 27 Jan 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-01-31 16:36:42 +01:00
Thilo Graf
6b39f27383 CComponentsText: add missing parameters to kill() methode
Origin commit data
------------------
Branch: ni/coolstream
Commit: f219da23bf
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-27 (Fri, 27 Jan 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-01-31 16:36:42 +01:00
Thilo Graf
a5c16f0042 CComponentsText: add explicit kill methode and add ct_force_text_paint
After hide or kill text will does not paint without ct_force_text_paint,
so it is required to add this.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4c71edbd3c
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)



------------------
This commit was generated by Migit
2017-01-31 16:36:42 +01:00
Thilo Graf
f9d4bb9fba CComponentsText: fix order of paint init
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8bd4633cb4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-01-31 16:36:41 +01:00
Thilo Graf
e40c90fddf CComponentsText: fix wrong item type
Origin commit data
------------------
Branch: ni/coolstream
Commit: c42f1240f0
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-01-31 16:36:40 +01:00
Thilo Graf
99d8ea8ec5 partial revert: "CTextBox: expand parameters of member setTextBorderWidth()"
related commit: 6a4aa31209

Since this commit, TextBox received a lot of optimizations, so it is possible
we have no described side effects.


Origin commit data
------------------
Branch: ni/coolstream
Commit: fad2adffa2
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-22 (Thu, 22 Dec 2016)



------------------
This commit was generated by Migit
2016-12-22 09:49:40 +01:00
Thilo Graf
44ef21b006 CComponentsText: revert inheritition of CBox, useage as object
It has shown, that the positioning and
Dimensions calculations are not correct. CBox object must be embedded
with frame properties.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9331c59b0e
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-28 (Mon, 28 Nov 2016)



------------------
This commit was generated by Migit
2016-11-28 21:42:50 +01:00
vanhofen
a0ceccb334 cc_item_text: avoid using INFOBAR_SMALL font; use MENU_INFO instead
it's a small font too


Origin commit data
------------------
Branch: ni/coolstream
Commit: c35414bc56
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-15 (Mon, 15 Aug 2016)

Origin message was:
------------------
- cc_item_text: avoid using INFOBAR_SMALL font; use MENU_INFO instead

it's a small font too


------------------
This commit was generated by Migit
2016-08-15 19:32:46 +02:00
Thilo Graf
69a986cf07 CComponentsText: assign missing dim and pos values inside dimension- and position setters
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3b6e4bfcc0
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-22 (Mon, 22 Feb 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-02-24 15:09:44 +01:00
Thilo Graf
5c0c429130 CComponentsText: assign current initialized position values to old var
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5cfe504044
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-02-21 (Sun, 21 Feb 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-02-24 15:09:00 +01:00
Thilo Graf
a9aa78ca3e 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.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9d72b086a2
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-21 (Thu, 21 Jan 2016)



------------------
This commit was generated by Migit
2016-01-21 11:00:38 +01:00
Thilo Graf
46948c2d27 CComponentsText: try to fix mismatching calculation of y pos inside form
Origin commit data
------------------
Branch: ni/coolstream
Commit: 60c9dc8432
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-11 (Mon, 11 Jan 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-01-21 11:00:19 +01:00
Thilo Graf
9e3882b7bc 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
------------------
Branch: ni/coolstream
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


------------------
This commit was generated by Migit
2015-12-27 14:42:27 +01:00
Thilo Graf
b8c4a64385 CComponentsText: add switch for utf8 disable/enable
Origin commit data
------------------
Branch: ni/coolstream
Commit: ccdaacb0a0
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-07-12 (Sun, 12 Jul 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-07-12 21:08:25 +02:00
Michael Liebmann
dabf8d2d8c CComponentsText: Fix default font
Origin commit data
------------------
Branch: ni/coolstream
Commit: ae139d4ec2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-03-31 (Tue, 31 Mar 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-03-31 12:00:48 +02:00
Thilo Graf
31de47022f 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
------------------
Branch: ni/coolstream
Commit: 341b142aa0
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-22 (Sun, 22 Feb 2015)



------------------
This commit was generated by Migit
2015-03-29 22:40:13 +02:00
Thilo Graf
380b76f079 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
------------------
Branch: ni/coolstream
Commit: d2ae57e5b6
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-22 (Sun, 22 Feb 2015)



------------------
This commit was generated by Migit
2015-03-29 22:40:13 +02:00
Thilo Graf
4607a0acb1 CComponentsText: expand setTextColor() methode
apply color value direct in text box object


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4a0975eb90
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-24 (Sat, 24 Jan 2015)



------------------
This commit was generated by Migit
2015-03-29 22:40:10 +02:00
[CST] Focus
61eeb62d87 gui/components/cc_item_text.cpp: set CTextBox save screen flag
Origin commit data
------------------
Branch: ni/coolstream
Commit: 86a236bc7e
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-03-06 (Fri, 06 Mar 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2015-03-06 14:14:00 +03:00
Thilo Graf
6f9ffe7aeb CComponentsText: move setTextRenderModeFullBG() to text object
This is mostly required here


Origin commit data
------------------
Branch: ni/coolstream
Commit: 11c9d0780a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-09-20 (Sat, 20 Sep 2014)



------------------
This commit was generated by Migit
2014-09-25 11:08:00 +04:00
Thilo Graf
3ab6b5c1b8 CComponentsText: add parameter for text color in member function setText()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 745f7b70f1
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-10 (Sat, 10 May 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-05-22 21:50:51 +02:00
Thilo Graf
e794443428 CComponentsText: fix fit of textbox object inside cc text object dimensions
Position related to parent container was wrong. Some variables were
unused and removed.


Origin commit data
------------------
Branch: ni/coolstream
Commit: f4447b38e0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-04 (Sun, 04 May 2014)



------------------
This commit was generated by Migit
2014-05-16 09:08:26 +02:00
Thilo Graf
2e7e25cbd2 CComponentsText: rework constructor
allows usage of parent parameter without another parameter


Origin commit data
------------------
Branch: ni/coolstream
Commit: d21df99ed4
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-23 (Sun, 23 Mar 2014)



------------------
This commit was generated by Migit
2014-04-02 08:40:22 +02:00
Thilo Graf
ebd0111d37 CComponents: use neutrino debug mode for debug output
Origin commit data
------------------
Branch: ni/coolstream
Commit: 750691fbbf
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-08 (Sat, 08 Mar 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-04-02 08:40:21 +02:00
Thilo Graf
7c70aaa6df CComponents: add new parameter 'parent'
Use strictly CComponentsForm as parent parameter in constructors.
Some parts have been cleaned up (Constructors, init methodes removed)

New parameter makes it possible already add current item in constructor.
So in mostly situations is it not necessary to use explicit addCCItem(),
but addCCItem()is still valid and necessary in certain situations.

Affected are all cc-classes and their derivates.
Some classes must or can be adapted later. The function is
not currently restricted, because usage of parent parameter is not explicit
defined in constructors, see CImageInfo, here yet are used addCCItem()
methodes.

Generally this parameter is located in the constructors before bool has_shadow,
but it is not sure whether it would be better to use this parameter as the first.
That remains to be clarified.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 23d7b62cf0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-03 (Mon, 03 Mar 2014)



------------------
This commit was generated by Migit
2014-03-03 09:43:39 +01:00
Thilo Graf
66242f7641 CComponents: replace __FUNCTION__ with __func__
__func__ is more suitable for portability


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8442b39c28
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-15 (Sun, 15 Dec 2013)



------------------
This commit was generated by Migit
2013-12-18 15:13:19 +01:00
[CST] Focus
94a9bb4141 components: cleanup destructors - remove calls to functions,
already called inside base classes destructors


Origin commit data
------------------
Branch: ni/coolstream
Commit: dd7c7fc7ae
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-29 (Fri, 29 Nov 2013)



------------------
This commit was generated by Migit
2013-11-29 17:27:10 +04:00
[CST] Focus
a03b97d8a6 components: remove initVarBasic and initVarItem calls from derived classes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 93a326e9eb
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-11-29 17:27:10 +04:00
Thilo Graf
dd2d167dfe CComponents: add property to allow/disallow paint of items
This causes initialization of all properties, but
affects the behavior of item paint.
This can be understood as a counterpart to isPainted().


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8ae491a994
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-08 (Fri, 08 Nov 2013)



------------------
This commit was generated by Migit
2013-11-11 00:19:48 +01:00
Thilo Graf
df7394dcf6 CComponentsExtTextForm: add new class CComponentsExtTextForm
this provides a combining form, that contains a text object with label


Origin commit data
------------------
Branch: ni/coolstream
Commit: d8514b19ee
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-01 (Fri, 01 Nov 2013)



------------------
This commit was generated by Migit
2013-11-11 00:19:46 +01:00
Thilo Graf
f47146c6ea revert e813d9f32b
Was bad idea to rename. Other Classes can also inherit this. See CMenuTarget


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6dd1da0628
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-25 (Fri, 25 Oct 2013)



------------------
This commit was generated by Migit
2013-10-26 23:25:59 +02:00
Thilo Graf
e813d9f32b CComponents: rename hide() to hideCC()
There are too many name conflicts with hide-members in other classes.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6ee7fac1a5
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-24 (Thu, 24 Oct 2013)



------------------
This commit was generated by Migit
2013-10-24 21:39:04 +02:00
Michael Liebmann
bc1f7f1833 CComponentsText: Add function getTextLinesAutoHeight()
- Function is used for determine the number of lines
 in a text box in AUTO_HIGH mode.

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: ad630c5acb
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-23 (Wed, 23 Oct 2013)

Origin message was:
------------------
CComponentsText: Add function getTextLinesAutoHeight()

- Function is used for determine the number of lines
 in a text box in AUTO_HIGH mode.

Signed-off-by: Thilo Graf <dbt@novatux.de>


------------------
This commit was generated by Migit
2013-10-24 21:19:07 +02:00
Thilo Graf
1f917c4661 CComponentsText: use separated function to get text fro a file
Origin commit data
------------------
Branch: ni/coolstream
Commit: a1e5a60184
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-19 (Sat, 19 Oct 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-10-19 01:25:22 +02:00
Thilo Graf
1f9e832874 CComponentsText: add missing init in constructor
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2c3b86baa2
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-21 (Sun, 21 Jul 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-07-21 22:31:10 +02:00
Thilo Graf
74838376c3 CComponentsText: do also paint text on changed text color
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2cffcf53a3
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-20 (Sat, 20 Jul 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-07-21 22:05:07 +02:00
Thilo Graf
d592a3313a CComponentsText: try to use an inherited version of CBox class
It's a partial solution to use full functionality for size handling
of CTextBox in CComponentsText.


Origin commit data
------------------
Branch: ni/coolstream
Commit: a6c43a62bd
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-12 (Fri, 12 Jul 2013)



------------------
This commit was generated by Migit
2013-07-21 22:02:43 +02:00
Thilo Graf
b3790de620 CComponentsText: remove delete of CBox() object
Obtain of one instance of CBox() should working
just as like a new instance.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 25c40a63dd
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-07-07 (Sun, 07 Jul 2013)



------------------
This commit was generated by Migit
2013-07-21 22:02:33 +02:00
Michael Liebmann
221b6ee8b4 Replace color indexes of the text colors by real color values for RenderString()
- If necessary, Correct data types of the color values


Origin commit data
------------------
Branch: ni/coolstream
Commit: c60c5c5ce3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-11 (Thu, 11 Jul 2013)



------------------
This commit was generated by Migit
2013-07-21 22:00:58 +02:00
FlatTV
6a4aa31209 CTextBox: expand parameters of member setTextBorderWidth()
This allows to use different horizontal and vertical width of borders
in text boxes.

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 153d2f3c78
Author: FlatTV <FlatTV@gmx.de>
Date: 2013-07-01 (Mon, 01 Jul 2013)



------------------
This commit was generated by Migit
2013-07-07 14:24:02 +02:00
Thilo Graf
5380b1bacb CComponentsText: fix position handling in sub forms
Origin commit data
------------------
Branch: ni/coolstream
Commit: 940576f0a0
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-16 (Sun, 16 Jun 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-06-16 00:34:07 +02:00
Michael Liebmann
73bd5928e5 CTextBox: Remove workaround for minimally text_border_width
- Default value is now 1 in CComponentsText


Origin commit data
------------------
Branch: ni/coolstream
Commit: ba1e514747
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-12 (Wed, 12 Jun 2013)



------------------
This commit was generated by Migit
2013-06-12 01:32:24 +02:00
FlatTV
1fce3ad769 CComponentsText: add possibility to set a text border
Origin commit data
------------------
Branch: ni/coolstream
Commit: 96da2f95b8
Author: FlatTV <FlatTV@gmx.de>
Date: 2013-06-06 (Thu, 06 Jun 2013)

Origin message was:
------------------
- CComponentsText: add possibility to set a text border

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-06-06 22:08:46 +02:00
vanhofen
c77c9b716b cc_frm_header: rework positions/dimensions calculations
Origin commit data
------------------
Branch: ni/coolstream
Commit: b318c15895
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-05-30 (Thu, 30 May 2013)

Origin message was:
------------------
- cc_frm_header: rework positions/dimensions calculations

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-05-30 21:51:12 +02:00
Thilo Graf
fc53c928a3 CComponents: split some header files
CComponentsInfoBox
CComponentsShapeCircle/Square
CComponentsDetailLine
CComponentsPIP
CComponentsText/CComponentsLabel
CComponentsPicture


Origin commit data
------------------
Branch: ni/coolstream
Commit: d39eaa22fc
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-26 (Sun, 26 May 2013)



------------------
This commit was generated by Migit
2013-05-27 09:30:50 +02:00
Thilo Graf
4cb5e5e4fc CComponentsText: force text paint after hide
After hide()it was not possible to paint text without forceTextPaint()
and define of ct_old_text in setText() was not enough.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 76a2c44014
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-27 (Sat, 27 Apr 2013)



------------------
This commit was generated by Migit
2013-04-28 16:48:11 +02:00