Commit Graph

80 Commits

Author SHA1 Message Date
Thilo Graf
55381e778d cc_timer/cc_frm_clock: allow use of milisecond intervals
Should be easier and more flexible to handle without nano parameter,
some reworkes in other classes and thread handlings are required.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5afe92e526
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-01-05 (Sun, 05 Jan 2020)



------------------
This commit was generated by Migit
2020-01-06 22:25:46 +01:00
Thilo Graf
1235ee4f55 cc_frm_clock: replaced paintClock with cl_blocked
for better readability


Origin commit data
------------------
Branch: ni/coolstream
Commit: e7d36360a4
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-12-30 (Mon, 30 Dec 2019)



------------------
This commit was generated by Migit
2019-12-30 17:40:32 +01:00
Thilo Graf
99139dc663 cc_frm_clock: Removed not required digit of slot method name
only to simplify.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 40de1b7a46
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-12-30 (Mon, 30 Dec 2019)



------------------
This commit was generated by Migit
2019-12-30 17:40:32 +01:00
Thilo Graf
e8929e8cbd components: use const bool& parameter in paint methodes
Origin commit data
------------------
Branch: ni/coolstream
Commit: 07d8f07d4d
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-10-27 (Sun, 27 Oct 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2019-10-27 22:56:49 +01:00
Thilo Graf
7931bf989c cc_frm_clock.cpp: ensure set of thread name
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5c31eb0d06
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-05-25 (Sat, 25 May 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2019-05-25 00:43:35 +02:00
Thilo Graf
ed5b09a97f cc_frm_clock.cpp: declare force_repaint as const
Origin commit data
------------------
Branch: ni/coolstream
Commit: cd042bd936
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-01-01 (Tue, 01 Jan 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2019-01-01 21:50:50 +01:00
Thilo Graf
8621c9532e cc_frm_clock.cpp/h: fix incomplete result of isRun() methode
Origin commit data
------------------
Branch: ni/coolstream
Commit: fa73c2784f
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-11-21 (Wed, 21 Nov 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2018-11-21 00:00:18 +01:00
Thilo Graf
2d36f08ca0 cc: expand cc-type with name
Required for internal operations where it is useful to have object
names and for better debugging.


Origin commit data
------------------
Branch: ni/coolstream
Commit: fd55de0ff4
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-01-03 (Wed, 03 Jan 2018)



------------------
This commit was generated by Migit
2018-01-03 22:35:01 +01:00
Thilo Graf
9569be0ff1 CComponentsFrmClock: fix wrong initialization of w_tmp
Origin commit data
------------------
Branch: ni/coolstream
Commit: 758081a0ac
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-28 (Mon, 28 Aug 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-08-28 12:16:45 +02:00
Thilo Graf
a652c229aa CComponentsFrmClock: ensure clean timer instance
For safety only.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 08e610859f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)



------------------
This commit was generated by Migit
2017-06-15 01:01:54 +02:00
Thilo Graf
9fa536bc45 CComponentsFrmClock: init OnTimer after ititialized timer object
Content of OnTimer was not considered after init of timer object.


Origin commit data
------------------
Branch: ni/coolstream
Commit: de3c14a881
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-27 (Sat, 27 May 2017)



------------------
This commit was generated by Migit
2017-05-27 17:26:59 +02:00
Thilo Graf
cf709ec985 CComponentsFrmClock: fix wrong comparison
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4455c65225
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-27 (Sat, 27 May 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-05-27 02:51:36 +02:00
Thilo Graf
0ab82cab7c CComponentsFrmClock: use correct setHeight()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 04f9468ddb
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-17 (Mon, 17 Apr 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-04-17 16:45:00 +02:00
Jacek Jendrzej
a09507d832 fix init cl_force_repaint
Origin commit data
------------------
Branch: ni/coolstream
Commit: b4bb9ef5ea
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-04-13 (Thu, 13 Apr 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-04-13 17:32:24 +02:00
Thilo Graf
8c23e7cc90 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
------------------
Branch: ni/coolstream
Commit: 511486c404
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-07 (Fri, 07 Apr 2017)



------------------
This commit was generated by Migit
2017-04-07 22:00:33 +02:00
Stefan Seyfried
184f520208 set useful thread names for all spawned threads
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5188f721c4
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-12 (Sun, 12 Feb 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-02-12 22:55:36 +01:00
Stefan Seyfried
5cc48eb30a cc: reduce impact of cc_draw header from 161 to 4 files
Origin commit data
------------------
Branch: ni/coolstream
Commit: 58c6dbf469
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-12 (Sun, 12 Feb 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-02-12 22:50:44 +01:00
Michael Liebmann
7ecb045555 Merge branch 'master' into pu/fb-modules
Origin commit data
------------------
Branch: ni/coolstream
Commit: ef61905a2d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-02-08 (Wed, 08 Feb 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-02-08 20:16:41 +01:00
Stefan Seyfried
86f609bc17 replace fontrenderer.h include with forward declaration
in order to flatten the build dependency tree further, include
fontrenderer.h directly where needed, in header files a forward
declaration is enough


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2303d94300
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-05 (Sun, 05 Feb 2017)



------------------
This commit was generated by Migit
2017-02-07 17:23:42 +01:00
Thilo Graf
112973c3ae CComponentsForm: move slots into base classes
Usable for all form classes


Origin commit data
------------------
Branch: ni/coolstream
Commit: 06fa3f2488
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-06 (Mon, 06 Feb 2017)



------------------
This commit was generated by Migit
2017-02-07 17:12:25 +01:00
Thilo Graf
11d4052f03 signals: reduce multiple includes for sigc++/bind.h
Origin commit data
------------------
Branch: ni/coolstream
Commit: e4d0abc7dc
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-06 (Mon, 06 Feb 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-02-07 17:12:25 +01:00
Thilo Graf
53f75282ce Forms/header/clock: implement slot into OnBeforeRePaint
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1c217b404f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-02 (Thu, 02 Feb 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-02-02 11:18:27 +01:00
Thilo Graf
7550c7276c 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
------------------
Branch: ni/coolstream
Commit: 5c8aa90e01
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-24 (Tue, 24 Jan 2017)



------------------
This commit was generated by Migit
2017-01-31 16:36:41 +01:00
Thilo Graf
151b2f0324 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
------------------
Branch: ni/coolstream
Commit: 81f26a327d
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-18 (Wed, 18 Jan 2017)



------------------
This commit was generated by Migit
2017-01-31 16:36:41 +01:00
Thilo Graf
167f8ad58e CComponentsFrmClock: add missing reinit
Origin commit data
------------------
Branch: ni/coolstream
Commit: 002cc4c74e
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-09 (Mon, 09 Jan 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-01-09 21:28:59 +01:00
Thilo Graf
d79cb83f63 CComponentsFrmClock: disable digit height
Using of digit height is not really required here.
eg. better centering


Origin commit data
------------------
Branch: ni/coolstream
Commit: d0aa901d70
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-09 (Mon, 09 Jan 2017)



------------------
This commit was generated by Migit
2017-01-09 20:47:46 +01:00
Thilo Graf
bcf299030f CComponentsFrmClock/CInfoClock: simplify font init
Origin commit data
------------------
Branch: ni/coolstream
Commit: ffeb2d6459
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-08 (Sun, 08 Jan 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2017-01-08 14:39:38 +01:00
Thilo Graf
fe5586d27f CComponentsFrmClock: ensure that no radius is defined for inner items
Radius is not required for inner segments.
TODO: single segment


Origin commit data
------------------
Branch: ni/coolstream
Commit: 02c6df782c
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-21 (Mon, 21 Nov 2016)



------------------
This commit was generated by Migit
2016-11-21 10:55:10 +01:00
vanhofen
b59278067e rename SHADOW_OFFSET -> OFFSET_SHADOW
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5d450c60d3
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- rename SHADOW_OFFSET -> OFFSET_SHADOW

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-10-10 14:19:55 +02:00
Thilo Graf
5040b828c0 CComponentsFrmClock: disable non-essential debug output
It was just important to see how the texts are fitted inside
a parent element. It's just a debugging relic.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8d3f70b112
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-06-26 (Sun, 26 Jun 2016)



------------------
This commit was generated by Migit
2016-06-26 15:32:33 +02:00
Thilo Graf
461b61badf CComponentsTimer: rework timer class
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4904279fd5
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-25 (Mon, 25 Apr 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-04-25 10:26:32 +02:00
Thilo Graf
32c34c39c5 CComponentsFrmClock: remove unused parameter,fix possible compiler warnings
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8573db8019
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-22 (Fri, 22 Apr 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-04-22 13:29:34 +02:00
Thilo Graf
0fad6b7256 CComponentsFrmClock: remove unnecessary paint
Is already handled with OnTimer signal.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 71adac0a0b
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-20 (Wed, 20 Apr 2016)



------------------
This commit was generated by Migit
2016-04-20 22:49:52 +02:00
Thilo Graf
af444ecf03 CComponentsFrmClock: ensure slot connect, if it is empty
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2b41e1c60f
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-17 (Sun, 17 Apr 2016)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2016-04-18 17:58:02 +02:00
Thilo Graf
a9aa78ca3e 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
------------------
Branch: ni/coolstream
Commit: 9d72b086a2
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-21 (Thu, 21 Jan 2016)



------------------
This commit was generated by Migit
2016-01-21 11:00:38 +01:00
Thilo Graf
9e3882b7bc 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
------------------
Branch: ni/coolstream
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


------------------
This commit was generated by Migit
2015-12-27 14:42:27 +01:00
[CST] Focus
22673fc30f 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
------------------
Branch: ni/coolstream
Commit: f50840ac96
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-03-06 (Fri, 06 Mar 2015)



------------------
This commit was generated by Migit
2015-03-06 14:14:00 +03:00
Stefan Seyfried
f26ada9d5b CC-Clock: remove unnecessary cast
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Branch: ni/coolstream
Commit: cf0b9f944a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-21 (Sat, 21 Feb 2015)



------------------
This commit was generated by Migit
2015-02-22 15:58:30 +01:00
Michael Liebmann
55421883bf Fix background paint header clock in channellist
Origin commit data
------------------
Branch: ni/coolstream
Commit: 862a724a3d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-09-25 (Thu, 25 Sep 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-09-26 14:22:30 +04:00
martii
984f4e1032 gui/components/cc_frm_clock.cpp: add method to enable/disable auto-blit()
Conflicts:
	src/gui/components/cc_frm_clock.cpp


Origin commit data
------------------
Branch: ni/coolstream
Commit: 84cf3865b5
Author: martii <m4rtii@gmx.de>
Date: 2014-06-19 (Thu, 19 Jun 2014)



------------------
This commit was generated by Migit
2014-09-11 18:12:51 +04:00
martii
9ca9388976 [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
------------------
Branch: ni/coolstream
Commit: 1c39a6edf4
Author: martii <m4rtii@gmx.de>
Date: 2014-04-08 (Tue, 08 Apr 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-09-11 18:12:51 +04:00
martii
03d91b7b1a 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
------------------
Branch: ni/coolstream
Commit: 13118c1148
Author: martii <m4rtii@gmx.de>
Date: 2014-01-10 (Fri, 10 Jan 2014)



------------------
This commit was generated by Migit
2014-09-11 18:12:51 +04:00
martii
fe4429fc79 gui/components/cc_frm_clock: disable thread idle timeout; clear clock when thread exits
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9472155b88
Author: martii <m4rtii@gmx.de>
Date: 2014-01-02 (Thu, 02 Jan 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-09-11 18:12:51 +04:00
vanhofen
108a1c1b93 change getRenderWidth() default to UTF8
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8b91cda918
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)

Origin message was:
------------------
- change getRenderWidth() default to UTF8

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-06-11 23:07:00 +02:00
Thilo Graf
bc4f685270 CComponentsFrmClock: add missing init of items
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2997b5eea2
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-25 (Tue, 25 Mar 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-04-02 08:40:22 +02:00
Thilo Graf
7c70aaa6df 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
------------------
Branch: ni/coolstream
Commit: 23d7b62cf0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-03 (Mon, 03 Mar 2014)



------------------
This commit was generated by Migit
2014-03-03 09:43:39 +01:00
Thilo Graf
09bdd6f5a1 CComponentsFrmClock: remove statement
stopThread() is doing check against NULL itself


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2b65f1d1b3
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-16 (Mon, 16 Dec 2013)



------------------
This commit was generated by Migit
2014-03-03 08:54:09 +01:00
Michael Liebmann
2c93f6538a CComponentsFrmClock: Fix thread handling
- Set clock activ = false for default


Origin commit data
------------------
Branch: ni/coolstream
Commit: ddc826ab51
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-13 (Thu, 13 Feb 2014)



------------------
This commit was generated by Migit
2014-02-13 18:26:04 +01:00
Thilo Graf
88f4bfb1b2 CComponentsFrmClock: fix shaodow warning
size is a member name of CComponentsForm


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4e1caf8afe
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-08 (Wed, 08 Jan 2014)



------------------
This commit was generated by Migit
2014-01-08 11:22:22 +01:00
Thilo Graf
a8fb10a4f0 CComponentsFrmClock: update license text
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8828e27968
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-08 (Wed, 08 Jan 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-08 11:20:18 +01:00