Commit Graph

32 Commits

Author SHA1 Message Date
Michael Liebmann
8300ae9620 CMoviePlayerGui: Bind enable/disable FileTime to enableInfoClock()
Origin commit data
------------------
Commit: dc4ce280ed
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-01-30 (Mon, 30 Jan 2017)
2017-01-30 07:15:46 +01:00
Thilo Graf
c310f69985 CVolumeHelper: fix info clock position after changed clock osd settings
After increased clock height settings, position of infoclock was wrong.
Old font instance and old width were not changed related to new instance.

TODO: 	It works but procedure with helper class seems is rather elaborate
	and should be thoroughly revised.
	I recommend callbacks via native type save signal/slot handler.


Origin commit data
------------------
Commit: 236ca53954
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-08 (Sun, 08 Jan 2017)
2017-01-08 15:03:25 +01:00
Thilo Graf
ffa2a927a2 CVolumeHelper: remove unnecessary reinit of font
Is already done in previous block.


Origin commit data
------------------
Commit: 9839db9729
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-21 (Wed, 21 Dec 2016)
2016-12-21 10:19:35 +01:00
TangoCash
9dbb076f26 volumebar font reset after change (thx dboxoldie)
to avoid segfault

Signed-off-by: Thilo Graf <dbt@novatux.de>

picked from Duckbox-Developers/neutrino-mp-cst-next
4365761b2a47e12666154821c2ce982f74ef0627

needs supplements


Origin commit data
------------------
Commit: 1ea12764da
Author: TangoCash <eric@loxat.de>
Date: 2016-12-21 (Wed, 21 Dec 2016)
2016-12-21 10:13:48 +01:00
vanhofen
f21851aec0 rename SHADOW_OFFSET -> OFFSET_SHADOW
Origin commit data
------------------
Commit: 5d450c60d3
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- rename SHADOW_OFFSET -> OFFSET_SHADOW
2016-10-10 14:19:55 +02:00
Thilo Graf
72a289a90c components: rework classes
- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
 enable/disable clock with external timer events,
 tryed to fix some display issues related with infoclock and
 time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
 cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
 arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large


Origin commit data
------------------
Commit: 0146511f38
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-18 (Wed, 18 Nov 2015)

Origin message was:
------------------
components: rework classes

- outsourced some classes cc_item.cpp/h, cc_draw.cpp/h
- added extra methodes for simple use of some basic components extra.cpp/h
- rework clock handling: use timer class, reworked members for
 enable/disable clock with external timer events,
 tryed to fix some display issues related with infoclock and
 time osd clock in moviebrowser, channellist, menuus
- reworked hide/kill handling, removed parameter for hide(), try to use
 cached backgrounds for other constallations, paint cache, image cache (all beta)
- reworked shadow/frame handling, add shadow modes for left/right
 arrangement, TODO: repaint for existant instances required
- reworked color gradient assignment (beta)

... Note: I had a data crash in my local git tree
and i tryed to restore my historie, but most was lost. Therefore here
the commit is large
2015-12-27 14:42:27 +01:00
Thilo Graf
ad5eb1e2a2 CVolumeBar: optimize icon position
Origin commit data
------------------
Commit: 6a50e56321
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-25 (Sun, 25 Jan 2015)
2015-03-29 22:40:11 +02:00
Thilo Graf
d436fff1c1 CVolumeBar: use defined volumebar size as default height
Origin commit data
------------------
Commit: 84ee2dd059
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-25 (Sun, 25 Jan 2015)
2015-03-29 22:40:11 +02:00
Thilo Graf
b81d63802a CVolumeBar: fix icon postion
Icon was not centered in y position.


Origin commit data
------------------
Commit: 8a1965fcca
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-06 (Thu, 06 Nov 2014)
2015-03-29 22:39:55 +02:00
[CST] Focus
17c40a5d6e merge neutrino-mp progressbar code, (C) martii
Origin commit data
------------------
Commit: 416646bbff
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-07-17 (Thu, 17 Jul 2014)
2014-07-17 17:02:37 +04:00
Thilo Graf
46495cbf40 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.


Origin commit data
------------------
Commit: 5eb63b9515
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-20 (Fri, 20 Jun 2014)

Origin message was:
------------------
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
Michael Liebmann
406b287a29 Fix display volumebar when channellist is visible
Origin commit data
------------------
Commit: 65859318d0
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-28 (Tue, 28 Jan 2014)
2014-01-28 12:59:17 +01:00
martii
8ce5ae5e9b gui/timeosd: rewrite based on infoclock implementation
Origin commit data
------------------
Commit: 1c53781218
Author: martii <m4rtii@gmx.de>
Date: 2013-12-17 (Tue, 17 Dec 2013)
2013-12-17 00:11:43 +01:00
Michael Liebmann
742cb69289 CInfoClock: Fix size & position calculation
Origin commit data
------------------
Commit: a4dc972774
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-12-10 (Tue, 10 Dec 2013)
2013-12-11 15:55:14 +01:00
martii
4c2c559da3 remove widest_number definition and usage, add Font::getMaxDigitWidth() method instead
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>


Origin commit data
------------------
Commit: 15b2b2ec05
Author: martii <m4rtii@gmx.de>
Date: 2013-11-29 (Fri, 29 Nov 2013)
2013-11-29 23:02:50 +01:00
[CST] Focus
b476a667c6 components: remove initVarForm calls in classes derived from CComponentsForm
Origin commit data
------------------
Commit: 062b10be2a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)
2013-11-29 17:27:10 +04:00
Michael Liebmann
e8d55630df CComponentsFrmClock: Rework font handling
- Use setClockFont(enum FONT_TYPES) for selection of neutrino fonts
- Use setClockFontSize(size) for Dynamic Font


Origin commit data
------------------
Commit: 1bfb6d2cd3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)
2013-11-28 16:07:48 +01:00
Michael Liebmann
658f794ef5 CInfoClock: Rework calculate size & position
- Fix display info clock
- Preparation for alternative use of neutrino fonts / DynFonts


Origin commit data
------------------
Commit: 0c18d4a6db
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-26 (Tue, 26 Nov 2013)
2013-11-28 16:07:48 +01:00
Michael Liebmann
c6eeb420d4 InfoClock: Fix display clock in movie browser, file browser etc.
Origin commit data
------------------
Commit: 7466d6f19c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-22 (Fri, 22 Nov 2013)
2013-11-22 10:01:35 +01:00
Michael Liebmann
db1a003584 CInfoClock: Fix paint info clock when mute icon is displayed
Origin commit data
------------------
Commit: 6a5d335430
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-20 (Wed, 20 Nov 2013)
2013-11-20 09:38:38 +01:00
Thilo Graf
a2967e2488 CInfoClock: rework infocklock
Origin commit data
------------------
Commit: b8b61684df
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-12 (Tue, 12 Nov 2013)
2013-11-20 09:38:37 +01:00
Thilo Graf
975673532a CComponents: remove member setCornerRadius(),
setCorner() replaces this function, 2nd parameter sets type


Origin commit data
------------------
Commit: 33ec56ad6f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-15 (Sun, 15 Sep 2013)
2013-09-19 08:24:40 +02:00
Michael Liebmann
af1f9a1e14 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


Origin commit data
------------------
Commit: 0a0035c2ae
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-29 (Sat, 29 Jun 2013)

Origin message was:
------------------
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
1b938c2b08 Use dynamic font in CVolumeBar
Origin commit data
------------------
Commit: 5267667cfb
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-28 (Fri, 28 Jun 2013)
2013-07-21 22:06:00 +02:00
Michael Liebmann
7b6498d39f Replace color indexes of the text colors by real color values for RenderString()
- If necessary, Correct data types of the color values


Origin commit data
------------------
Commit: c60c5c5ce3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-11 (Thu, 11 Jul 2013)
2013-07-21 22:00:58 +02:00
Michael Liebmann
c91e7889aa CVolumeBar: add enums for volume bar pos
Origin commit data
------------------
Commit: 2a63a85584
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-26 (Wed, 26 Jun 2013)
2013-07-03 07:30:09 +02:00
Thilo Graf
0b5c82c184 CVolumeBar: remove redundant code parts
corrections of position is already calculated in paintInit()


Origin commit data
------------------
Commit: a6cd3d8633
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-16 (Sun, 16 Jun 2013)

Origin message was:
------------------
CVolumeBar: remove redundant code parts

corrections of position is already calculated in paintInit()
2013-06-16 00:34:07 +02:00
Michael Liebmann
56c1d0a7d5 CVolumeBar: Reactivate position 'higher center' for volume bar
Origin commit data
------------------
Commit: c70167b58f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-06 (Thu, 06 Jun 2013)
2013-06-06 12:00:06 +02:00
Thilo Graf
cbdfda6992 CVolumeBar: rework size handling
Signed-off-by: Michael Liebmann <tuxcode.bbg@gmail.com>


Origin commit data
------------------
Commit: b010b3bd09
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-10 (Fri, 10 May 2013)
2013-06-03 22:12:48 +02:00
Thilo Graf
55512682b0 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>


Origin commit data
------------------
Commit: fb812f38e8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-02 (Sun, 02 Jun 2013)
2013-06-03 22:12:48 +02:00
Michael Liebmann
f5abed1dd0 Rework positioning of volumebar / mute icon / info clock
- Is required for custom icons


Origin commit data
------------------
Commit: cfd7b4b16b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-10 (Fri, 10 May 2013)

Origin message was:
------------------
* Rework positioning of volumebar / mute icon / info clock

- Is required for custom icons
2013-05-10 11:32:12 +01:00
Thilo Graf
51e81122b5 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


Origin commit data
------------------
Commit: 8baec6d62a
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-04 (Sat, 04 May 2013)
2013-05-08 05:11:24 +01:00