Commit Graph

24 Commits

Author SHA1 Message Date
Thilo Graf
c9d2e43271 CComponents: replace __FUNCTION__ with __func__
__func__ is more suitable for portability


Origin commit data
------------------
Commit: 8442b39c28
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-15 (Sun, 15 Dec 2013)
2013-12-18 15:13:19 +01:00
Thilo Graf
8484ec946d CComponents: use DEBUG_CC for debug output
Origin commit data
------------------
Commit: a7379d6cee
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-12 (Tue, 12 Nov 2013)
2013-11-17 15:19:43 +01:00
Thilo Graf
3a7ffa7a8b CComponents: remove log spam
Origin commit data
------------------
Commit: a6e0564c2b
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-12 (Tue, 12 Nov 2013)
2013-11-12 10:52:24 +01:00
Thilo Graf
4d5a5fef27 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
------------------
Commit: e5b0673259
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-10 (Sun, 10 Nov 2013)
2013-11-11 00:19:48 +01:00
Thilo Graf
1f85322357 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
------------------
Commit: 8ae491a994
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-08 (Fri, 08 Nov 2013)
2013-11-11 00:19:48 +01:00
Thilo Graf
9a540db7ae CComponents: use correct initial values screen start position
Value '0' is wrong.


Origin commit data
------------------
Commit: 72705b19de
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-02 (Sat, 02 Nov 2013)
2013-11-11 00:19:47 +01:00
Thilo Graf
5f9bb84b28 revert 2649ca147a
Was bad idea to rename. Other Classes can also inherit this. See CMenuTarget


Origin commit data
------------------
Commit: 6dd1da0628
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-25 (Fri, 25 Oct 2013)
2013-10-26 23:25:59 +02:00
Thilo Graf
2649ca147a CComponents: rename hide() to hideCC()
There are too many name conflicts with hide-members in other classes.


Origin commit data
------------------
Commit: 6ee7fac1a5
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-24 (Thu, 24 Oct 2013)
2013-10-24 21:39:04 +02:00
Thilo Graf
41d131eb32 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
------------------
Commit: f7798affc6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-24 (Thu, 24 Oct 2013)
2013-10-24 21:19:07 +02:00
Thilo Graf
afaedb70db CComponents: rename and move real position attributes
These attributes are better placed in the basic class.


Origin commit data
------------------
Commit: 3c5f4867fb
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-31 (Fri, 31 May 2013)
2013-06-03 22:12:47 +02:00
Michael Liebmann
860a7c8385 CComponents: Reworked paint the shadows
- Paint rounded corners only where it is required
- Skip paint frame/paint shadow, if not defined


Origin commit data
------------------
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
2013-05-24 21:48:56 +02:00
Michael Liebmann
6ee44a7687 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
------------------
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
2013-05-18 14:44:20 +01:00
Michael Liebmann
fb34a0fc68 CComponents: Add corner_type to paintFbItems() => paintBoxFrame()
Origin commit data
------------------
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()
2013-05-16 11:01:41 +01:00
Thilo Graf
2b284c0978 CComponents: fix missing save of background in paint_bg=false mode
Exit in initVarItem() on !paint_bg was too early.


Origin commit data
------------------
Commit: 9ae72bf02d
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-12 (Sun, 12 May 2013)
2013-05-12 14:17:10 +02:00
Michael Liebmann
60b0c9dfd6 CComponents::paintFbItems: Fix paint frame
- Remove function CComponents::allowPaint()


Origin commit data
------------------
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()
2013-05-10 11:32:12 +01:00
Michael Liebmann
1c8eab938d CComponents::paintFbItems: Don't paint item if dx or dy are 0
Origin commit data
------------------
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
2013-05-08 07:06:12 +01:00
Thilo Graf
109a0ba9ac 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
------------------
Commit: a4c3e08f77
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-03 (Fri, 03 May 2013)
2013-05-03 19:51:57 +02:00
Thilo Graf
a34b353f06 CComponents: add vars to modifie frames in selected mode
Origin commit data
------------------
Commit: 894d229b09
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-16 (Tue, 16 Apr 2013)
2013-04-16 08:32:42 +02:00
Thilo Graf
9bec663650 CComonents: use allowPaint() as private, parameter as by rev
not used in sub classes


Origin commit data
------------------
Commit: d7c35b07e4
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-14 (Sun, 14 Apr 2013)
2013-04-16 08:26:56 +02:00
Jacek Jendrzej
ba1e24ee31 CComponents: don't paint the same box with different colors as background
Origin commit data
------------------
Commit: d18217effb
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-04-04 (Thu, 04 Apr 2013)
2013-04-04 12:19:31 +02:00
Thilo Graf
03b22f2d23 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
------------------
Commit: 860be9a412
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-01 (Mon, 01 Apr 2013)
2013-04-02 09:31:05 +02:00
Thilo Graf
0e9ff3d23c fix license text, sorry, was a c&p error
Origin commit data
------------------
Commit: 0dc4686874
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-20 (Wed, 20 Mar 2013)
2013-03-21 11:37:00 +01:00
Thilo Graf
de00ec3d5e 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
------------------
Commit: 3ed9af87ad
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-26 (Tue, 26 Feb 2013)
2013-03-06 11:28:18 +01:00
Thilo Graf
3e41a76a1d CComponents: move components.cpp to cc_base.cpp, move types to own header
Origin commit data
------------------
Commit: 10f429ee0f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-02-23 (Sat, 23 Feb 2013)
2013-03-06 11:28:18 +01:00