Commit Graph

31 Commits

Author SHA1 Message Date
Thilo Graf
e9f7c0159d CSignalBox: remove CC_APPEND flag
Should be gradually removed in all affected classes


Origin commit data
------------------
Commit: f74724ceb6
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-17 (Mon, 17 Apr 2017)
2017-04-17 17:43:59 +02:00
Thilo Graf
fc8969cece CSignalBar: use global offsets for init of min height
Origin commit data
------------------
Commit: b8822803d9
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-17 (Mon, 17 Apr 2017)
2017-04-17 17:43:48 +02:00
Stefan Seyfried
b68b8fc4fb reduce impact of zapit/frontend_c.h header
down from ~217 files to ~57...


Origin commit data
------------------
Commit: 98b2461da7
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-06 (Mon, 06 Feb 2017)
2017-02-07 18:38:45 +01:00
Stefan Seyfried
f6d5a96838 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
------------------
Commit: 2303d94300
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-05 (Sun, 05 Feb 2017)
2017-02-07 17:23:42 +01:00
Thilo Graf
5d258a58dd CSignalBar: remove offset for signal name and remove right allignment
Text have more space, otherwise it's possible it can be truncated.
Indent from left site of text don't looks not so good.


Origin commit data
------------------
Commit: 04a75327dd
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-19 (Sat, 19 Nov 2016)
2016-11-19 23:21:06 +01:00
vanhofen
64744ba140 colors: add COL_PROGRESSBAR wrapper
Origin commit data
------------------
Commit: be40e67b70
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_PROGRESSBAR wrapper
2016-10-10 14:19:55 +02:00
Thilo Graf
c8f5eeea31 CSignalBox: add missing member to set frontend
Remove double init of sig items; Will be done already by paintScale().
Ensure reset of last sig value on fe change.
Prevent possible segfault if fe is not defined.


Origin commit data
------------------
Commit: f68fd5ac19
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
2016-09-28 21:12:32 +02:00
vanhofen
7eb33a8bae Revert "CSignalBox: Set current tuner as the default frontend"
This reverts commit 128047f61f.

Conflicts:
	src/gui/components/cc_frm_signalbars.h


Origin commit data
------------------
Commit: 59ac9e57e1
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-28 (Wed, 28 Sep 2016)
2016-09-28 21:12:32 +02:00
Thilo Graf
878de7f24a CSignalBar: use correct initial value
This should fix wrong values if signal = 0.


Origin commit data
------------------
Commit: ff3f44d4d2
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-06-02 (Thu, 02 Jun 2016)
2016-06-02 20:34:51 +02:00
Thilo Graf
85b1b23b90 CSignalBar: remove dub init
Origin commit data
------------------
Commit: 358b46cfa5
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-26 (Tue, 26 Apr 2016)
2016-05-04 17:37:26 +02:00
Thilo Graf
301046f963 CSignalBar: unified var init inside constructors
Origin commit data
------------------
Commit: e61a4e46c0
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-26 (Tue, 26 Apr 2016)
2016-04-26 12:02:49 +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
vanhofen
2a77d96456 cc_frm_signalbars: fix REF_PERCENT_TXT for 100%
Origin commit data
------------------
Commit: 3a1da74374
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-01-10 (Sun, 10 Jan 2016)

Origin message was:
------------------
- cc_frm_signalbars: fix REF_PERCENT_TXT for 100%
2016-01-10 21:55:44 +01:00
Thilo Graf
91e598174e CSignalBar: try to fix position and height of scale bars
Origin commit data
------------------
Commit: 648e01f401
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-30 (Wed, 30 Dec 2015)
2015-12-30 22:22:44 +01:00
Thilo Graf
c88c4ac340 CSignalBar: unified reference percent text length
Origin commit data
------------------
Commit: 4dfb2a75ae
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-30 (Wed, 30 Dec 2015)
2015-12-30 17:31:42 +01:00
Thilo Graf
f484af573e signalbars: add missing parameters for signal type names
Origin commit data
------------------
Commit: 06686334bf
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-12-30 (Wed, 30 Dec 2015)
2015-12-30 16:56:45 +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
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
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
1dae34a82f CComponentsForm, CSignalBar: rename offset vars
Origin commit data
------------------
Commit: c2c79060b8
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-06 (Thu, 06 Feb 2014)
2014-02-13 16:26:16 +01:00
Michael Liebmann
336fa941e0 CSignalBar: Fix display "value caption"
Origin commit data
------------------
Commit: 4fa3a245df
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-21 (Tue, 21 Jan 2014)
2014-01-21 18:09:46 +01:00
Michael Liebmann
128047f61f CSignalBox: Set current tuner as the default frontend
Origin commit data
------------------
Commit: c83f195637
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-20 (Mon, 20 Jan 2014)
2014-01-20 21:35:39 +01:00
martii
0793be5f9c gui/components: CSignalBox: allow for horizontal arrangement; add methods to retrieve current value
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: fbbb0ac57d
Author: martii <m4rtii@gmx.de>
Date: 2013-12-18 (Wed, 18 Dec 2013)
2013-12-18 20:39:54 +01:00
Thilo Graf
b36d570c85 CSignalBar/CSignalNoiseRatioBar: reduce code, clean ups
Some var inits can be reduced, because of inheritance.


Origin commit data
------------------
Commit: dff2733bc2
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-30 (Sat, 30 Nov 2013)
2013-11-30 00:41:45 +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
[CST] Focus
e947f919b8 gui/components/cc_frm_signalbars.cpp: fix mem leak:
initVarSigBar call from CSignalNoiseRatioBar reset pointers created by initSBItems from CSignalBar ctor


Origin commit data
------------------
Commit: 5526bedc26
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-26 (Tue, 26 Nov 2013)
2013-11-29 17:27:10 +04:00
Thilo Graf
5ea5ab4ceb CSignalBox: add unified label mode and add member to get value label object
defaul mode for value is now CTextBox::NO_AUTO_LINEBREAK | CTextBox::RIGHT


Origin commit data
------------------
Commit: b12ae03073
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-17 (Sun, 17 Nov 2013)
2013-11-17 16:58:41 +01:00
Thilo Graf
a1b81db73e CComponentsItem: move function isAdded() to CComponentsItem class
Origin commit data
------------------
Commit: 3438b23f68
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-19 (Sat, 19 Oct 2013)
2013-10-19 01:25:23 +02:00
Thilo Graf
8a76a2dca3 CSignalBar: optimize caption handling
Origin commit data
------------------
Commit: 517313cd82
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-11 (Fri, 11 Oct 2013)
2013-10-16 11:54:05 +02: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
Thilo Graf
a9ec86959a Signalbars: move sorce files to gui/components
Origin commit data
------------------
Commit: f129db9b0c
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-07 (Sat, 07 Sep 2013)
2013-09-19 08:24:38 +02:00