Commit Graph

22 Commits

Author SHA1 Message Date
Thilo Graf
5eb63b9515 CComponentsPicture: structure of class highly simplified
It should  be now easier to use images as objects. An initialized
picture object should provide all relevant properties and some
functionalities of picture viewer.
2014-06-23 18:43:47 +02:00
M. Liebmann
65859318d0 Fix display volumebar when channellist is visible 2014-01-28 12:59:17 +01:00
martii
1c53781218 gui/timeosd: rewrite based on infoclock implementation 2013-12-17 00:11:43 +01:00
M. Liebmann
a4dc972774 CInfoClock: Fix size & position calculation 2013-12-11 15:55:14 +01:00
martii
15b2b2ec05 remove widest_number definition and usage, add Font::getMaxDigitWidth() method instead
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>
2013-11-29 23:02:50 +01:00
[CST] Focus
062b10be2a components: remove initVarForm calls in classes derived from CComponentsForm 2013-11-29 17:27:10 +04:00
M. Liebmann
1bfb6d2cd3 CComponentsFrmClock: Rework font handling
- Use setClockFont(enum FONT_TYPES) for selection of neutrino fonts
- Use setClockFontSize(size) for Dynamic Font
2013-11-28 16:07:48 +01:00
M. Liebmann
0c18d4a6db CInfoClock: Rework calculate size & position
- Fix display info clock
- Preparation for alternative use of neutrino fonts / DynFonts
2013-11-28 16:07:48 +01:00
M. Liebmann
7466d6f19c InfoClock: Fix display clock in movie browser, file browser etc. 2013-11-22 10:01:35 +01:00
M. Liebmann
6a5d335430 CInfoClock: Fix paint info clock when mute icon is displayed 2013-11-20 09:38:38 +01:00
Thilo Graf
b8b61684df CInfoClock: rework infocklock 2013-11-20 09:38:37 +01:00
Thilo Graf
33ec56ad6f CComponents: remove member setCornerRadius(),
setCorner() replaces this function, 2nd parameter sets type
2013-09-19 08:24:40 +02:00
Michael Liebmann
0a0035c2ae Add option to resize the VolumeBar
- Minimum height: Height of NEUTRINO_ICON_VOLUME + 2 pixels
- Maximum height: 50 pixels
- Setting can be changed with:
  Menu -> Settings -> OSD -> Volume -> Height of display
2013-07-21 22:06:05 +02:00
Michael Liebmann
5267667cfb Use dynamic font in CVolumeBar 2013-07-21 22:06:00 +02:00
Michael Liebmann
c60c5c5ce3 Replace color indexes of the text colors by real color values for RenderString()
- If necessary, Correct data types of the color values
2013-07-21 22:00:58 +02:00
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