Commit Graph

31 Commits

Author SHA1 Message Date
Thilo Graf
f74724ceb6 CSignalBox: remove CC_APPEND flag
Should be gradually removed in all affected classes
2017-04-17 17:43:59 +02:00
Thilo Graf
b8822803d9 CSignalBar: use global offsets for init of min height 2017-04-17 17:43:48 +02:00
Stefan Seyfried
98b2461da7 reduce impact of zapit/frontend_c.h header
down from ~217 files to ~57...
2017-02-07 18:38:45 +01:00
Stefan Seyfried
2303d94300 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
2017-02-07 17:23:42 +01:00
Thilo Graf
04a75327dd 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.
2016-11-19 23:21:06 +01:00
vanhofen
be40e67b70 - colors: add COL_PROGRESSBAR wrapper 2016-10-10 14:19:55 +02:00
Thilo Graf
f68fd5ac19 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.
2016-09-28 21:12:32 +02:00
svenhoefer
59ac9e57e1 Revert "CSignalBox: Set current tuner as the default frontend"
This reverts commit c83f195637.

Conflicts:
	src/gui/components/cc_frm_signalbars.h
2016-09-28 21:12:32 +02:00
Thilo Graf
ff3f44d4d2 CSignalBar: use correct initial value
This should fix wrong values if signal = 0.
2016-06-02 20:34:51 +02:00
Thilo Graf
358b46cfa5 CSignalBar: remove dub init 2016-05-04 17:37:26 +02:00
Thilo Graf
e61a4e46c0 CSignalBar: unified var init inside constructors 2016-04-26 12:02:49 +02:00
Thilo Graf
9d72b086a2 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.
2016-01-21 11:00:38 +01:00
svenhoefer
3a1da74374 - cc_frm_signalbars: fix REF_PERCENT_TXT for 100% 2016-01-10 21:55:44 +01:00
Thilo Graf
648e01f401 CSignalBar: try to fix position and height of scale bars 2015-12-30 22:22:44 +01:00
Thilo Graf
4dfb2a75ae CSignalBar: unified reference percent text length 2015-12-30 17:31:42 +01:00
Thilo Graf
06686334bf signalbars: add missing parameters for signal type names 2015-12-30 16:56:45 +01: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
[CST] Focus
416646bbff merge neutrino-mp progressbar code, (C) martii 2014-07-17 17:02:37 +04:00
Thilo Graf
23d7b62cf0 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.
2014-03-03 09:43:39 +01:00
Thilo Graf
c2c79060b8 CComponentsForm, CSignalBar: rename offset vars 2014-02-13 16:26:16 +01:00
M. Liebmann
4fa3a245df CSignalBar: Fix display "value caption" 2014-01-21 18:09:46 +01:00
M. Liebmann
c83f195637 CSignalBox: Set current tuner as the default frontend 2014-01-20 21:35:39 +01:00
martii
fbbb0ac57d gui/components: CSignalBox: allow for horizontal arrangement; add methods to retrieve current value
Signed-off-by: Thilo Graf <dbt@novatux.de>
2013-12-18 20:39:54 +01:00
Thilo Graf
dff2733bc2 CSignalBar/CSignalNoiseRatioBar: reduce code, clean ups
Some var inits can be reduced, because of inheritance.
2013-11-30 00:41:45 +01:00
[CST] Focus
062b10be2a components: remove initVarForm calls in classes derived from CComponentsForm 2013-11-29 17:27:10 +04:00
[CST] Focus
5526bedc26 gui/components/cc_frm_signalbars.cpp: fix mem leak:
initVarSigBar call from CSignalNoiseRatioBar reset pointers created by initSBItems from CSignalBar ctor
2013-11-29 17:27:10 +04:00
Thilo Graf
b12ae03073 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
2013-11-17 16:58:41 +01:00
Thilo Graf
3438b23f68 CComponentsItem: move function isAdded() to CComponentsItem class 2013-10-19 01:25:23 +02:00
Thilo Graf
517313cd82 CSignalBar: optimize caption handling 2013-10-16 11:54:05 +02:00
Thilo Graf
33ec56ad6f CComponents: remove member setCornerRadius(),
setCorner() replaces this function, 2nd parameter sets type
2013-09-19 08:24:40 +02:00
Thilo Graf
f129db9b0c Signalbars: move sorce files to gui/components 2013-09-19 08:24:38 +02:00