Commit Graph

29 Commits

Author SHA1 Message Date
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