Commit Graph

14 Commits

Author SHA1 Message Date
[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