Commit Graph

49 Commits

Author SHA1 Message Date
[CST] Focus
e8e5651b0c gui/components/cc_base.cpp: add flag to control CTextBox screen saving, default is false
Origin commit data
------------------
Branch: ni/coolstream
Commit: ab1b3b9008
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:13:59 +03:00
Thilo Graf
3385c662f3 CComponents: add setColBodyGradient() to set gradient properties
This provides possibility to set relevant gradiant properties in cc sub classes


Origin commit data
------------------
Branch: ni/coolstream
Commit: f9147d185a
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:08 +04:00
Thilo Graf
449c610b35 CComponents: rename gradient variables
Use convention for cc classes.
paintGradient probaly too general and
is related to body, other fb types can be also handled with gradient.


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



------------------
This commit was generated by Migit
2014-09-25 11:07:55 +04:00
Thilo Graf
404c0e2b94 CComponents: move variable cc_gradientData, paintGradient into base class
Variable now usable via g_settings in all subclasses. enable/disable.
TODO: gradient type handling


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



------------------
This commit was generated by Migit
2014-09-25 11:07:45 +04:00
Michael Liebmann
093d638920 CComponents: Add color gradient for CC_FBDATA_TYPE_BOX
Origin commit data
------------------
Branch: ni/coolstream
Commit: db6fd8480d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-09-20 (Sat, 20 Sep 2014)


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

------------------
This commit was generated by Migit
2014-09-25 11:06:01 +04:00
Thilo Graf
0fc4b61fc9 CComponents: add members to handle object tags
This can help to handle some useful values for any functions


Origin commit data
------------------
Branch: ni/coolstream
Commit: 67a42c3e96
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-25 (Mon, 25 Aug 2014)



------------------
This commit was generated by Migit
2014-09-25 11:02:00 +04:00
martii
bca9371e65 system/settings: move theme colors to dedicated struct
Conflicts:
	src/driver/pictureviewer/pictureviewer.cpp
	src/gui/epgview.cpp
	src/gui/osd_setup.cpp
	src/gui/pluginlist.cpp
	src/neutrino.cpp


Origin commit data
------------------
Branch: ni/coolstream
Commit: b21cb152b5
Author: martii <m4rtii@gmx.de>
Date: 2014-01-06 (Mon, 06 Jan 2014)



------------------
This commit was generated by Migit
2014-09-12 18:29:21 +04:00
martii
3cca8b1d3c gui/components: use COL_BACKGROUND_PLUS_0 instead of COL_BACKGROUND
Origin commit data
------------------
Branch: ni/coolstream
Commit: be29f644f0
Author: martii <m4rtii@gmx.de>
Date: 2014-06-09 (Mon, 09 Jun 2014)


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

------------------
This commit was generated by Migit
2014-09-11 18:12:51 +04:00
[CST] Focus
2c2c1161f0 gui/components/cc_base.cpp: try to fix screen save for CComponentsDetailLine
Origin commit data
------------------
Branch: ni/coolstream
Commit: 75f7ac1235
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-07-17 (Thu, 17 Jul 2014)


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

------------------
This commit was generated by Migit
2014-07-17 17:02:51 +04:00
Thilo Graf
d10a1b79e4 CComponents: epand method setFrameThickness() to change selected frame
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8bbd7024d9
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-13 (Fri, 13 Jun 2014)


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

------------------
This commit was generated by Migit
2014-06-23 18:43:47 +02:00
Thilo Graf
800cb803c8 CComponents: inherit COSDFader class
Allows a simplified implementation without prior declaration and
initialisation


Origin commit data
------------------
Branch: ni/coolstream
Commit: 53cf57876c
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-30 (Fri, 30 May 2014)



------------------
This commit was generated by Migit
2014-06-23 18:43:47 +02:00
Thilo Graf
ace6e896dd CComponents: fix screen rests
Frame of painted box was incomplete removed, eg hint box see also:
http://www.dbox2world.net/board293-cst-coolstream/board314-cst-coolstream-development/12230-r%C3%BCckst%C3%A4nde-auf-bildschirm-bei-apollo/


Origin commit data
------------------
Branch: ni/coolstream
Commit: f74a000929
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-01 (Sun, 01 Jun 2014)



------------------
This commit was generated by Migit
2014-06-01 23:12:29 +02:00
Thilo Graf
8bbea0b762 CComponents: use paintBoxRel() only in kill()
paintBackgroundBoxRel() ignores rounded corners. This avoids painting of
undesirable parts on corners.


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



------------------
This commit was generated by Migit
2014-05-22 21:50:55 +02:00
Thilo Graf
83ee5b6646 CComponents/CComponentsItem: add advanced version of kill()
kill() allows now paint with defined colors over rendered objects
without restore of background. It's similar to paintBackgroundBoxRel()
known from CFrameBuffer, but with possiblity to define color,
default color is 0 like before (empty background).
Items with parent bindings use the background color of its parent
as default, but can also be ignored.

This function can be useful before repaint of items and/or,
if required, to have a clean background inside item containers.


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



------------------
This commit was generated by Migit
2014-05-16 09:08:25 +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
2af5c1a7c3 CComponents: remove error message.
Log output should be enough.


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



------------------
This commit was generated by Migit
2014-03-05 12:10:17 +01:00
Michael Liebmann
dc88ba25cc CComponents: More precise error message (commit aa87ed1)
Origin commit data
------------------
Branch: ni/coolstream
Commit: d1b8246316
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-03-03 (Mon, 03 Mar 2014)


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

------------------
This commit was generated by Migit
2014-03-03 20:20:57 +01: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
d00ab87de8 CComponentsItem: add members to set item position via percent value
Origin commit data
------------------
Branch: ni/coolstream
Commit: 38dffb8456
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-26 (Wed, 26 Feb 2014)


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

------------------
This commit was generated by Migit
2014-03-03 08:54:10 +01:00
Thilo Graf
aa87ed10aa CComponents: add member CheckFbData() for fbdata check
This check happens several times, therefore it is senseful, to move into own member.
Function returns false on error and is used here to show an error message if
something was wrong.
Such errors can happen on position or dimension errors e.g. out of screen or
too large display values.

Note: this is only an emergency helper for debugging on
fatal errors during developing of window stuff. Mostly errors
of this kind causing crashes and must be fixed.


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

Origin message was:
------------------
CComponents: add member CheckFbData() for fbdata check

This check happens several times, therefore it is senseful, to move into own member.
Function returns false on error and is used here to show an error message if
something was wrong.
Such errors can happen on position or dimension errors e.g. out of screen or
too large display values.

Note: this is only an emergency helper for debugging on
fatal errors during developing of window stuff. Mostly errors
of this kind causing crashes and must be fixed.


------------------
This commit was generated by Migit
2014-03-03 08:54:09 +01:00
Thilo Graf
6eba3a1467 CComponents: remove wrong init value for item position
This causes an unnecessary offset and possible fb-remains.
This was observed at the header in Imageinfo, but only without shadow.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 57a6c36329
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-31 (Fri, 31 Jan 2014)



------------------
This commit was generated by Migit
2014-02-05 11:56:48 +01:00
Thilo Graf
054c3e4fad CComponents: rework some debug outputs
This shows also x or y values < 0.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 39d6340598
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-18 (Sat, 18 Jan 2014)



------------------
This commit was generated by Migit
2014-01-24 23:13:45 +01:00
Thilo Graf
36e40e2a67 CComponents: replace clear() with clearFbData(), remove cleanCCForm()
clear() replaces now clearCCItems() and cleanCCForm() is superfluous.


Origin commit data
------------------
Branch: ni/coolstream
Commit: ed7a2fd625
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-07 (Tue, 07 Jan 2014)



------------------
This commit was generated by Migit
2014-01-07 09:41:06 +01:00
Thilo Graf
d30e17ddac CComponents: prevent possible segfaults, remove redundant delete
- if dx, dy == 0, it is not senseful to save screen.
- delete[] v_fbdata[i].pixbuf is also called in clear()


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



------------------
This commit was generated by Migit
2013-12-22 20:07:33 +01:00
Stefan Seyfried
4908089769 CComponents: fix compiler warnings with DEBUG_CC
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9eddaedfdd
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-11-15 (Fri, 15 Nov 2013)


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

------------------
This commit was generated by Migit
2013-12-18 21:10:17 +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
Thilo Graf
a3d3bd7bb3 CComponents: use DEBUG_CC for debug output
Origin commit data
------------------
Branch: ni/coolstream
Commit: a7379d6cee
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-12 (Tue, 12 Nov 2013)


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

------------------
This commit was generated by Migit
2013-11-17 15:19:43 +01:00
Thilo Graf
bf531c0815 CComponents: remove log spam
Origin commit data
------------------
Branch: ni/coolstream
Commit: a6e0564c2b
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-12 (Tue, 12 Nov 2013)


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

------------------
This commit was generated by Migit
2013-11-12 10:52:24 +01:00
Thilo Graf
c654fd1268 CComponents: add log warning if position = 0
Value 0 for embedded items should be unproblematic, buy single items
should have minimum value = 1.


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



------------------
This commit was generated by Migit
2013-11-11 00:19:48 +01: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
3fc80c48da CComponents: use correct initial values screen start position
Value '0' is wrong.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 72705b19de
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-02 (Sat, 02 Nov 2013)



------------------
This commit was generated by Migit
2013-11-11 00:19:47 +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
Thilo Graf
cbc2b193af CComponents: add unfied header file for general include of cc classes
Provides a unified header file, so it is not required to select a
certain header file.


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



------------------
This commit was generated by Migit
2013-10-24 21:19:07 +02:00
Thilo Graf
ef51918563 CComponents: rename and move real position attributes
These attributes are better placed in the basic class.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3c5f4867fb
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-31 (Fri, 31 May 2013)



------------------
This commit was generated by Migit
2013-06-03 22:12:47 +02:00
Michael Liebmann
9211765608 CComponents: Reworked paint the shadows
- Paint rounded corners only where it is required
- Skip paint frame/paint shadow, if not defined


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4da83b546c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-24 (Fri, 24 May 2013)

Origin message was:
------------------
* CComponents: Reworked paint the shadows

- Paint rounded corners only where it is required
- Skip paint frame/paint shadow, if not defined


------------------
This commit was generated by Migit
2013-05-24 21:48:56 +02:00
Michael Liebmann
a698ce281f Fix CComponents::getScreen()/hide() & CComponentsItem::hideCCItem()
- Use CFrameBuffer::waitForIdle() to ensure that all GXA commands
 are finished before SaveScreen() / RestoreScreen() is executed


Origin commit data
------------------
Branch: ni/coolstream
Commit: 072097cd06
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-17 (Fri, 17 May 2013)

Origin message was:
------------------
* Fix CComponents::getScreen()/hide() & CComponentsItem::hideCCItem()

- Use CFrameBuffer::waitForIdle() to ensure that all GXA commands
 are finished before SaveScreen() / RestoreScreen() is executed


------------------
This commit was generated by Migit
2013-05-18 14:44:20 +01:00
Michael Liebmann
7f1589770d CComponents: Add corner_type to paintFbItems() => paintBoxFrame()
Origin commit data
------------------
Branch: ni/coolstream
Commit: c5e223a231
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-16 (Thu, 16 May 2013)

Origin message was:
------------------
* CComponents: Add corner_type to paintFbItems() => paintBoxFrame()

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

------------------
This commit was generated by Migit
2013-05-16 11:01:41 +01:00
Thilo Graf
70501b38d0 CComponents: fix missing save of background in paint_bg=false mode
Exit in initVarItem() on !paint_bg was too early.


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



------------------
This commit was generated by Migit
2013-05-12 14:17:10 +02:00
Michael Liebmann
cc3927aa46 CComponents::paintFbItems: Fix paint frame
- Remove function CComponents::allowPaint()


Origin commit data
------------------
Branch: ni/coolstream
Commit: 612ef514a3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-09 (Thu, 09 May 2013)

Origin message was:
------------------
* CComponents::paintFbItems: Fix paint frame

- Remove function CComponents::allowPaint()


------------------
This commit was generated by Migit
2013-05-10 11:32:12 +01:00
Michael Liebmann
0f4479bdbd CComponents::paintFbItems: Don't paint item if dx or dy are 0
Origin commit data
------------------
Branch: ni/coolstream
Commit: 309b371060
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-08 (Wed, 08 May 2013)

Origin message was:
------------------
* CComponents::paintFbItems: Don't paint item if dx or dy are 0

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

------------------
This commit was generated by Migit
2013-05-08 07:06:12 +01:00
Thilo Graf
1d32a145d6 CComponents: rework kill()
There was some problems with restore, hide, clean and save background of item parts,
seen in detailsline. kill() worked not really clean.
kill() works now as virtual member and uses paintBackgroundBoxRel().

In consequence of which:
-unnecessary members in subclasses removed.
-add some comments


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



------------------
This commit was generated by Migit
2013-05-03 19:51:57 +02:00
Thilo Graf
b50b6df9d2 CComponents: add vars to modifie frames in selected mode
Origin commit data
------------------
Branch: ni/coolstream
Commit: 894d229b09
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-16 (Tue, 16 Apr 2013)


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

------------------
This commit was generated by Migit
2013-04-16 08:32:42 +02:00
Thilo Graf
da2497c8c5 CComonents: use allowPaint() as private, parameter as by rev
not used in sub classes


Origin commit data
------------------
Branch: ni/coolstream
Commit: d7c35b07e4
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-14 (Sun, 14 Apr 2013)



------------------
This commit was generated by Migit
2013-04-16 08:26:56 +02:00
Jacek Jendrzej
db0b328b0d CComponents: don't paint the same box with different colors as background
Origin commit data
------------------
Branch: ni/coolstream
Commit: d18217effb
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-04-04 (Thu, 04 Apr 2013)


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

------------------
This commit was generated by Migit
2013-04-04 12:19:31 +02:00
Thilo Graf
71248e0dc7 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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 860be9a412
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-01 (Mon, 01 Apr 2013)



------------------
This commit was generated by Migit
2013-04-02 09:31:05 +02:00
Thilo Graf
6d6cf7e177 fix license text, sorry, was a c&p error
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0dc4686874
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-20 (Wed, 20 Mar 2013)


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

------------------
This commit was generated by Migit
2013-03-21 11:37:00 +01:00
Thilo Graf
5e27da7def CComponents: split cc_base.cpp
It's easier to work with smaller files.
Most files contain only one cc-class and their names are
derived on the particular class that is contained therein.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3ed9af87ad
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-26 (Tue, 26 Feb 2013)



------------------
This commit was generated by Migit
2013-03-06 11:28:18 +01:00
Thilo Graf
b35d23be61 CComponents: move components.cpp to cc_base.cpp, move types to own header
Origin commit data
------------------
Branch: ni/coolstream
Commit: 10f429ee0f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-23 (Sat, 23 Feb 2013)


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

------------------
This commit was generated by Migit
2013-03-06 11:28:18 +01:00