Commit Graph

13 Commits

Author SHA1 Message Date
Thilo Graf
b1f9c3c7f3 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.
2020-01-05 21:17:59 +01:00
Thilo Graf
679f929a6b neutrino.h: change return type of signal OnBeforeRestart
unifiy with other signals
2019-05-06 11:47:06 +02:00
Thilo Graf
8b9a268a0c cc_timer.h: fix threadname assignment
Parameter not really passed in some some conditions.
2018-12-31 11:46:55 +01:00
Thilo Graf
caface0a88 CComponentsTimer: try to fix timing on non cst hardware
On hd51 and pc hardware was observed full visual timeout progress in message boxes.
Timeoout was displayed always without visible progress.
This should fix this.
2017-11-23 16:37:48 +01:00
Jacek Jendrzej
bdd23e0ece fix stack buffer underflow 2017-09-21 18:46:21 +02:00
Stefan Seyfried
6fdd920e42 CComponentsTimer: allow to set a thread name 2017-02-12 22:51:01 +01:00
Thilo Graf
d0dd14040f CComponentsTimer: add support for nano seconds
To enable nano mode, parameter is_nano must set to true.
2016-10-24 10:31:28 +02:00
Thilo Graf
4904279fd5 CComponentsTimer: rework timer class 2016-04-25 10:26:32 +02:00
Thilo Graf
0146511f38 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
1d574d93bc CComponentsTimer: simplify isRun function 2015-03-29 22:40:01 +02:00
Thilo Graf
28ef6e147e CComponentsTimer: add slot for auto timer start/stop
Connection with OnBeforeRestart ensures closing threads.
Under certain circumstances, eg. running thread, a restart could fail.
2015-03-29 22:39:49 +02:00
Thilo Graf
cfd1510a5c CComponentsTimer: add mutex handling, use neutrino log 2014-09-25 11:03:03 +04:00
Thilo Graf
4731521070 CComponents: add new header file cc_signals.h with some basic members 2014-09-25 10:58:22 +04:00