Commit Graph

33 Commits

Author SHA1 Message Date
Thilo Graf
127e39904e CComponentsFrmClock: add members to control segment refreshing on interval
Refreshing of segments is now enabled on default.
In certain conditions this should be better.


Origin commit data
------------------
Commit: 511486c404
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-07 (Fri, 07 Apr 2017)
2017-04-07 22:00:33 +02:00
Stefan Seyfried
30fd1a003c cc: reduce impact of cc_draw header from 161 to 4 files
Origin commit data
------------------
Commit: 58c6dbf469
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-12 (Sun, 12 Feb 2017)
2017-02-12 22:50:44 +01:00
Thilo Graf
3bb81b5b73 CComponentsForm: add some usefull slots/signal to help paint backgrounds
Requried to paint form items only on changed contents and on repaint


Origin commit data
------------------
Commit: 5c8aa90e01
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
d35dd47eaa CComponentsFrmClock: add slot to handle enforced repaint of segments
If clock removed from screen and instance is not destroyed, then we must
ensure repaint of segments after painted background.

This is required if segments are only will paint if
their content was changed and attribut ct_force_text_paint = false.


Origin commit data
------------------
Commit: 81f26a327d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-18 (Wed, 18 Jan 2017)
2017-01-31 16:36:41 +01:00
Thilo Graf
0a8605fbd4 CComponentsFrmClock/CInfoClock: simplify font init
Origin commit data
------------------
Commit: ffeb2d6459
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-08 (Sun, 08 Jan 2017)
2017-01-08 14:39:38 +01:00
vanhofen
58b3052ab5 ccomponents: fix frame color
Origin commit data
------------------
Commit: 01f32241e4
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- ccomponents: fix frame color
2016-10-10 14:19:55 +02:00
vanhofen
9c8dabd7ba ccomponents: use COL_SHADOW for shadows
Origin commit data
------------------
Commit: 1f60557e0b
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-16 (Tue, 16 Aug 2016)

Origin message was:
------------------
- ccomponents: use COL_SHADOW for shadows
2016-08-16 08:37:54 +02:00
Thilo Graf
f5932d9cd8 CComponentsTimer: rework timer class
Origin commit data
------------------
Commit: 4904279fd5
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-25 (Mon, 25 Apr 2016)
2016-04-25 10:26:32 +02:00
Thilo Graf
b0db75af05 CComponentsFrmClock: remove unused parameter,fix possible compiler warnings
Origin commit data
------------------
Commit: 8573db8019
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-22 (Fri, 22 Apr 2016)
2016-04-22 13:29:34 +02:00
Thilo Graf
e4fbc51887 text screen save: try to rework screen save behavior for textbox objects
Screen save now always disabled by default and can be controlled
outside of relevant objects.


Origin commit data
------------------
Commit: 9d72b086a2
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-21 (Thu, 21 Jan 2016)
2016-01-21 11:00:38 +01: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
[CST] Focus
3d365aedeb gui/components/cc_frm_clock.cpp: set CTextBox save screen and paint background flag;
add option to call first paint with save bg - default dont save;
detach clock thread


Origin commit data
------------------
Commit: f50840ac96
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-03-06 (Fri, 06 Mar 2015)
2015-03-06 14:14:00 +03:00
martii
d727798be7 gui/components/cc_frm_clock.cpp: add method to enable/disable auto-blit()
Conflicts:
	src/gui/components/cc_frm_clock.cpp


Origin commit data
------------------
Commit: 84cf3865b5
Author: martii <m4rtii@gmx.de>
Date: 2014-06-19 (Thu, 19 Jun 2014)
2014-09-11 18:12:51 +04:00
martii
ab11bbbd82 [experimental] gui/components/cc_frm_clock: use a mutex around unsetting/evaluating paintClock. This may or may not help with the clock-still-showing-when-leaving-the-channellist problem. Pretty much untested, as that issue is quite irreproducible.
Origin commit data
------------------
Commit: 1c39a6edf4
Author: martii <m4rtii@gmx.de>
Date: 2014-04-08 (Tue, 08 Apr 2014)
2014-09-11 18:12:51 +04:00
martii
10985e7d43 gui/components/cc_frm_clock: simplify; setClockFormat/setClockBlink has now impact on running thread
Conflicts:
	src/gui/components/cc_frm_clock.cpp
	src/gui/timeosd.cpp


Origin commit data
------------------
Commit: 13118c1148
Author: martii <m4rtii@gmx.de>
Date: 2014-01-10 (Fri, 10 Jan 2014)
2014-09-11 18:12:51 +04:00
Thilo Graf
f33efdbdc4 CComponents: add new parameter 'parent'
Use strictly CComponentsForm as parent parameter in constructors.
Some parts have been cleaned up (Constructors, init methodes removed)

New parameter makes it possible already add current item in constructor.
So in mostly situations is it not necessary to use explicit addCCItem(),
but addCCItem()is still valid and necessary in certain situations.

Affected are all cc-classes and their derivates.
Some classes must or can be adapted later. The function is
not currently restricted, because usage of parent parameter is not explicit
defined in constructors, see CImageInfo, here yet are used addCCItem()
methodes.

Generally this parameter is located in the constructors before bool has_shadow,
but it is not sure whether it would be better to use this parameter as the first.
That remains to be clarified.


Origin commit data
------------------
Commit: 23d7b62cf0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-03 (Mon, 03 Mar 2014)
2014-03-03 09:43:39 +01:00
Thilo Graf
247a4d7c1c CComponentsFrmClock: change wording of comment, was unsuituable
Origin commit data
------------------
Commit: c6db496de6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-16 (Mon, 16 Dec 2013)
2014-03-03 08:54:08 +01:00
Michael Liebmann
c259eb1dc8 CComponentsFrmClock: Fix thread handling
- Set clock activ = false for default


Origin commit data
------------------
Commit: ddc826ab51
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-13 (Thu, 13 Feb 2014)
2014-02-13 18:26:04 +01:00
Thilo Graf
34249fc1d9 CComponentsFrmClock: fix shaodow warning
size is a member name of CComponentsForm


Origin commit data
------------------
Commit: 4e1caf8afe
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-08 (Wed, 08 Jan 2014)
2014-01-08 11:22:22 +01:00
Thilo Graf
53a2b66947 CComponentsFrmClock: cleanup constructors
Remove single constructor, usage of default parameters in main constructor
have same effect.


Origin commit data
------------------
Commit: bc8b81a190
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-25 (Wed, 25 Dec 2013)
2013-12-25 19:50:32 +01:00
Michael Liebmann
edcbca3868 CComponentsFrmClock: Add comment (THX dbt)
Origin commit data
------------------
Commit: f5f12b78b5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-12-17 (Tue, 17 Dec 2013)
2013-12-17 08:35:32 +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
0ebb965756 CComponentsFrmClock: Initialize 'activeClock' variable
- Add function setClockActiv()


Origin commit data
------------------
Commit: 0434061172
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-12-11 (Wed, 11 Dec 2013)
2013-12-11 15:55:14 +01:00
Michael Liebmann
52c8f0dce6 CComponentsFrmClock: Add blinking function
Origin commit data
------------------
Commit: 4f93850708
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-12-10 (Tue, 10 Dec 2013)
2013-12-11 15:55:14 +01: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
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
5d2aa4c3b3 CComponentsFrmClock: prepare members for usage as virtual members
Origin commit data
------------------
Commit: 72d2639a73
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-09 (Wed, 09 Oct 2013)
2013-10-09 22:50:58 +02:00
Thilo Graf
61837a058f CComponentsFrmClock: set font only with fontrender object
Origin commit data
------------------
Commit: 03ef18cdb9
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-18 (Tue, 18 Jun 2013)
2013-06-18 19:33:34 +02:00
Thilo Graf
84b8af1e24 CComponentsFrmClock: add missing comment
Origin commit data
------------------
Commit: 220c479b9e
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-04 (Tue, 04 Jun 2013)
2013-06-16 00:34:02 +02:00
Michael Liebmann
984a1691f9 CComponentsFrmClock: Move thread start/stop to constructor/destructor
Origin commit data
------------------
Commit: 6409cc8a19
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-12 (Wed, 12 Jun 2013)
2013-06-12 01:32:24 +02:00
Michael Liebmann
c83cbbd3f3 CComponentsFrmClock: Add member setTextColor()
- Add member refresh() for (re)calculate clock dimensions


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

Origin message was:
------------------
* CComponentsFrmClock: Add member setTextColor()

- Add member refresh() for (re)calculate clock dimensions
2013-06-01 19:37:46 +02:00
Thilo Graf
7cefe569ea CComponentsFrmClock: add missing statement for #include <config.h>
Origin commit data
------------------
Commit: 09d6881b20
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-26 (Sun, 26 May 2013)
2013-05-27 09:30:50 +02:00
Thilo Graf
7222de9168 CComponentsFrmClock: add new class CComponentsFrmClock
Origin commit data
------------------
Commit: 9d52071c39
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-25 (Sat, 25 May 2013)
2013-05-25 23:29:49 +02:00