Commit Graph

6 Commits

Author SHA1 Message Date
Thilo Graf
44759766af CProgressBar: add member paintShapes()
paintShapes() replaces paintBoxRel()
TODO: paint v-lines with CComponents
2013-06-16 00:34:05 +02:00
Thilo Graf
fb812f38e8 CProgressBar/CVolumeBar: fix position of active/passive bar
Assign real position values to progressbar if is bound (embedded) in a form.
This is dependently from its own parent status. Status of cc_parent==NULL
means, it's not bound and without parent form so we use x/y, otherwise
we use real values stored by cc_xr/cc_yr.
Values in cc_xr/cc_yr and cc_parent were assigned with addCCItem().

Signed-off-by: Michael Liebmann <tuxcode.bbg@gmail.com>
2013-06-03 22:12:48 +02:00
Thilo Graf
f01a9071d2 CProgressBar: replace x/y position with real position on screen
Important to paint related to screen within form dimensions

btw: small cleanups
2013-04-16 08:26:55 +02:00
Thilo Graf
cd1a4c89a8 CProgressBar: use already calculated position var for diagonal line 2013-04-16 08:26:54 +02:00
Thilo Graf
210ae1491d CProgressBar: remove wrong intital value for frame thickness
Default value is 0, and should remain as specified in the base class.
2013-04-06 08:33:51 +02:00
Thilo Graf
860be9a412 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
2013-04-02 09:31:05 +02:00