Commit Graph

1345 Commits

Author SHA1 Message Date
Stefan Seyfried
4c7a2f38df Merge branch 'check/next-cc'
Only compile-tested.


Origin commit data
------------------
Commit: b5e736e81b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-11-30 (Sat, 30 Nov 2013)
2013-11-30 20:17:31 +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
martii
4c2c559da3 remove widest_number definition and usage, add Font::getMaxDigitWidth() method instead
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>


Origin commit data
------------------
Commit: 15b2b2ec05
Author: martii <m4rtii@gmx.de>
Date: 2013-11-29 (Fri, 29 Nov 2013)
2013-11-29 23:02:50 +01:00
martii
189db5deb2 gui/components/cc_frm_clock: fix label widths for non-standard fonts
Origin commit data
------------------
Commit: c88ad39c67
Author: martii <m4rtii@gmx.de>
Date: 2013-11-29 (Fri, 29 Nov 2013)
2013-11-29 23:02:50 +01:00
[CST] Focus
d1a54573ae components: cleanup destructors - remove calls to functions,
already called inside base classes destructors


Origin commit data
------------------
Commit: dd7c7fc7ae
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-29 (Fri, 29 Nov 2013)
2013-11-29 17:27:10 +04:00
[CST] Focus
92a0da51a1 cc_item_progressbar.cpp: fix attempt to draw box with width=0
Origin commit data
------------------
Commit: 1e5e36b7c8
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-28 (Thu, 28 Nov 2013)
2013-11-29 17:27:10 +04:00
[CST] Focus
3bef5be320 components: remove initVarHeader calls in classes derived from CComponentsHeader
Origin commit data
------------------
Commit: 90c76a2985
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)

Origin message was:
------------------
components: remove initVarHeader calls in classes derived from CComponentsHeader
2013-11-29 17:27:10 +04: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
a77269ffc3 cc_item_progressbar.cpp: for advanced paint, replace paintShapes with paintBoxRel:
too much overhead to replace single paintBoxRel call


Origin commit data
------------------
Commit: 9897b9045c
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
ea03f3c7a5 components: remove initVarBasic and initVarItem calls from derived classes
Origin commit data
------------------
Commit: 93a326e9eb
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
9722af5f56 cc_base.h: make private initVarBasic and initVarItem, they are is called from constructors
Origin commit data
------------------
Commit: 5f80ab6450
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
[CST] Focus
b8faa03ec8 gui/components/cc_item_infobox.cpp: fix memleak:
CComponentsInfoBox ctor -> CComponentsText ctor -> initCCText(), initVarInfobox() -> initVarText() ->
created ct_textbox = NULL, pointer lost;
comment calls in CComponentsInfoBox dtor, which already called from base CComponentsText dtor


Origin commit data
------------------
Commit: 1378ef4ad0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-26 (Tue, 26 Nov 2013)
2013-11-29 17:27:10 +04:00
Michael Liebmann
fd896cb6fd CComponentsFrmClock: Remove double call of initCCLockItems()
- initCCLockItems() is called by the refresh() function
 and the paint() function in initClockThread()


Origin commit data
------------------
Commit: 05cc6f18c1
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-28 (Thu, 28 Nov 2013)

Origin message was:
------------------
CComponentsFrmClock: Remove double call of initCCLockItems()

- initCCLockItems() is called by the refresh() function
 and the paint() function in initClockThread()
2013-11-28 16:07:49 +01:00
Michael Liebmann
e8d55630df CComponentsFrmClock: Rework font handling
- Use setClockFont(enum FONT_TYPES) for selection of neutrino fonts
- Use setClockFontSize(size) for Dynamic Font


Origin commit data
------------------
Commit: 1bfb6d2cd3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)
2013-11-28 16:07:48 +01:00
Thilo Graf
7218b95281 CComponentsFrmClock: disable separate handle of label paint
This is already handled in CTextBox object itself and should be enough.


Origin commit data
------------------
Commit: 1107e4f89b
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-26 (Tue, 26 Nov 2013)
2013-11-26 12:00:03 +01:00
Michael Liebmann
c6eeb420d4 InfoClock: Fix display clock in movie browser, file browser etc.
Origin commit data
------------------
Commit: 7466d6f19c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-22 (Fri, 22 Nov 2013)
2013-11-22 10:01:35 +01:00
Thilo Graf
a2967e2488 CInfoClock: rework infocklock
Origin commit data
------------------
Commit: b8b61684df
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-12 (Tue, 12 Nov 2013)
2013-11-20 09:38:37 +01:00
Thilo Graf
69182af8f6 CComponentsWindow: add missing member paint()
This is a partial revert of b9fc266721


Origin commit data
------------------
Commit: 0ae3d34ceb
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-17 (Sun, 17 Nov 2013)
2013-11-17 20:53:45 +01: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
76bf2c1d38 CComponentsExtTextForm: use correct declared type
Origin commit data
------------------
Commit: cf32badb10
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-17 (Sun, 17 Nov 2013)
2013-11-17 15:19:43 +01:00
Thilo Graf
d44b1a488d CComponents: move debug enable switch to cc_types.h
Origin commit data
------------------
Commit: b8bd8c3704
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-17 (Sun, 17 Nov 2013)
2013-11-17 15:19:43 +01:00
Thilo Graf
8484ec946d CComponents: use DEBUG_CC for debug output
Origin commit data
------------------
Commit: a7379d6cee
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-12 (Tue, 12 Nov 2013)
2013-11-17 15:19:43 +01:00
Stefan Seyfried
855d7714df CComponents: fix compiler warnings with DEBUG_CC
Origin commit data
------------------
Commit: 518612d601
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-11-15 (Fri, 15 Nov 2013)
2013-11-15 11:38:01 +01:00
Stefan Seyfried
261ea85af6 Merge branch 'check/next-cc'
Only compile-tested.


Origin commit data
------------------
Commit: 548448456a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-11-13 (Wed, 13 Nov 2013)
2013-11-13 14:04:15 +01:00
Stefan Seyfried
68e18e35d3 fix format string warnings
Origin commit data
------------------
Commit: 630c66330d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-11-10 (Sun, 10 Nov 2013)
2013-11-13 10:38:27 +01:00
Thilo Graf
3a7ffa7a8b CComponents: remove log spam
Origin commit data
------------------
Commit: a6e0564c2b
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-12 (Tue, 12 Nov 2013)
2013-11-12 10:52:24 +01:00
Stefan Seyfried
4d7f78c8a0 Makefiles: simplify includes for libcoolstream/libstb-hal
Origin commit data
------------------
Commit: 3a728f9ee1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-11-11 (Mon, 11 Nov 2013)
2013-11-11 21:51:08 +01:00
Thilo Graf
346feb80d4 CComponentsExtTextForm: remove check for empty strings
This check causes possible segfault and check is already in ccx_text_obj.


Origin commit data
------------------
Commit: 05ce023278
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-10 (Sun, 10 Nov 2013)
2013-11-11 00:19:49 +01:00
Thilo Graf
2a5f6dd9c5 CComponentsExtTextForm: fix assign of width with percent value
Assigning of value before width was set, had no effect


Origin commit data
------------------
Commit: 74d25a6089
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-10 (Sun, 10 Nov 2013)
2013-11-11 00:19:48 +01:00
Thilo Graf
4d5a5fef27 CComponents: add log warning if position = 0
Value 0 for embedded items should be unproblematic, buy single items
should have minimum value = 1.


Origin commit data
------------------
Commit: e5b0673259
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-10 (Sun, 10 Nov 2013)
2013-11-11 00:19:48 +01:00
Thilo Graf
0fe6ad13d9 CComponentsButton: add members to get caption properties
Origin commit data
------------------
Commit: 812168416f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-09 (Sat, 09 Nov 2013)
2013-11-11 00:19:48 +01:00
Thilo Graf
b9fc266721 CComponentsWindow: remove paint() member
The derived member of ComponentsForm() should be sufficiently
and should serve its purpose.


Origin commit data
------------------
Commit: cbeb9f3ac6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-08 (Fri, 08 Nov 2013)
2013-11-11 00:19:48 +01:00
Thilo Graf
1f85322357 CComponents: add property to allow/disallow paint of items
This causes initialization of all properties, but
affects the behavior of item paint.
This can be understood as a counterpart to isPainted().


Origin commit data
------------------
Commit: 8ae491a994
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-08 (Fri, 08 Nov 2013)
2013-11-11 00:19:48 +01:00
Thilo Graf
07454cd891 CComponentsExtTextForm: add member setLabelAndTextFont()
Origin commit data
------------------
Commit: a0e00387b6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-07 (Thu, 07 Nov 2013)
2013-11-11 00:19:47 +01:00
Thilo Graf
689fa0a4b0 CComponentsButton: add constructors with loacalized caption parameter
Origin commit data
------------------
Commit: 989ec25360
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-06 (Wed, 06 Nov 2013)
2013-11-11 00:19:47 +01:00
Thilo Graf
9a540db7ae CComponents: use correct initial values screen start position
Value '0' is wrong.


Origin commit data
------------------
Commit: 72705b19de
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-02 (Sat, 02 Nov 2013)
2013-11-11 00:19:47 +01:00
Thilo Graf
907371b58c CComponentsLabel: use correct body color
Origin commit data
------------------
Commit: ffe50db001
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-01 (Fri, 01 Nov 2013)
2013-11-11 00:19:46 +01:00
Thilo Graf
3e2fe115de CComponentsExtTextForm: add new class CComponentsExtTextForm
this provides a combining form, that contains a text object with label


Origin commit data
------------------
Commit: d8514b19ee
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-01 (Fri, 01 Nov 2013)
2013-11-11 00:19:46 +01:00
Thilo Graf
d31fe6eef8 CComponentsItem: add missing is_painted to hideCCItem()
Origin commit data
------------------
Commit: 4ed6e54da6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-30 (Wed, 30 Oct 2013)
2013-11-11 00:19:46 +01:00
Thilo Graf
5a6f74eab6 CComponentsLabel: remove alternate constructor
default parameters can also be used


Origin commit data
------------------
Commit: 5fb7959ddb
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-01 (Fri, 01 Nov 2013)
2013-11-11 00:19:45 +01:00
Stefan Seyfried
639a9b353d fix format string warnings
Origin commit data
------------------
Commit: c82bfbaec2
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-11-10 (Sun, 10 Nov 2013)
2013-11-10 19:48:58 +01:00
Stefan Seyfried
80b809a370 Merge branch 'check/next-cc'
Compiles on most platforms, starts. Not really tested.


Origin commit data
------------------
Commit: b93a372b54
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-11-10 (Sun, 10 Nov 2013)
2013-11-10 16:55:53 +01:00
Thilo Graf
5f9bb84b28 revert 2649ca147a
Was bad idea to rename. Other Classes can also inherit this. See CMenuTarget


Origin commit data
------------------
Commit: 6dd1da0628
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-25 (Fri, 25 Oct 2013)
2013-10-26 23:25:59 +02:00
Thilo Graf
2649ca147a CComponents: rename hide() to hideCC()
There are too many name conflicts with hide-members in other classes.


Origin commit data
------------------
Commit: 6ee7fac1a5
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-24 (Thu, 24 Oct 2013)
2013-10-24 21:39:04 +02:00
Thilo Graf
41d131eb32 CComponents: add unfied header file for general include of cc classes
Provides a unified header file, so it is not required to select a
certain header file.


Origin commit data
------------------
Commit: f7798affc6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-24 (Thu, 24 Oct 2013)
2013-10-24 21:19:07 +02:00
Michael Liebmann
158a943771 CComponentsText: Add function getTextLinesAutoHeight()
- Function is used for determine the number of lines
 in a text box in AUTO_HIGH mode.

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: ad630c5acb
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-23 (Wed, 23 Oct 2013)

Origin message was:
------------------
CComponentsText: Add function getTextLinesAutoHeight()

- Function is used for determine the number of lines
 in a text box in AUTO_HIGH mode.

Signed-off-by: Thilo Graf <dbt@novatux.de>
2013-10-24 21:19:07 +02:00
Thilo Graf
cf38a73a3a CComponentsHeader: add possibility to modify text alignment
usable in header and its derived classes and in class CComponentsWindow


Origin commit data
------------------
Commit: 64c6eb5945
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-23 (Wed, 23 Oct 2013)
2013-10-24 21:19:07 +02:00
Thilo Graf
25c3bc51db CComponentsHeader: use isAdded() to avoid add multiple items
Origin commit data
------------------
Commit: ad102b69fd
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-22 (Tue, 22 Oct 2013)
2013-10-24 21:19:06 +02:00
Thilo Graf
1a636f462d CComponentsWindow: add member showHeader()
Provides show or hide window header


Origin commit data
------------------
Commit: 5323e92a6f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-21 (Mon, 21 Oct 2013)
2013-10-24 21:19:06 +02:00