Commit Graph

7 Commits

Author SHA1 Message Date
Michael Liebmann
2a63a85584 CVolumeBar: add enums for volume bar pos 2013-07-03 07:30:09 +02:00
Thilo Graf
a6cd3d8633 CVolumeBar: remove redundant code parts
corrections of position is already  calculated in paintInit()
2013-06-16 00:34:07 +02:00
Michael Liebmann
c70167b58f CVolumeBar: Reactivate position 'higher center' for volume bar 2013-06-06 12:00:06 +02:00
Thilo Graf
b010b3bd09 CVolumeBar: rework size handling
Signed-off-by: Michael Liebmann <tuxcode.bbg@gmail.com>
2013-06-03 22:12:48 +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
Michael Liebmann
cfd7b4b16b * Rework positioning of volumebar / mute icon / info clock
- Is required for custom icons
2013-05-10 11:32:12 +01:00
Thilo Graf
8baec6d62a CVolumeBar: rework volumebar handling
Use CComponenets and separates the gui part from driver part

- add new class CVolumeBar as CComponentsForm
- Various changes for reworked volume bar handling in some classes
- Move AudioMute() from CVolume to new class CAudioMute
- Use CComponentsPicture to paint muteicon
2013-05-08 05:11:24 +01:00