Commit Graph

1345 Commits

Author SHA1 Message Date
Thilo Graf
05a6f46dbe CComponentsForm: fix position of replaced item
If cc-item is bound on a parent form, it's not enough
to replace the item object only, also properties like
parent and index must be moved to new item to ensure that positions are calculated correctly.
But it's matter for unbound cc-items.


Origin commit data
------------------
Commit: c66c778326
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-23 (Sun, 23 Jun 2013)
2013-06-23 20:34:19 +02:00
Thilo Graf
bd65d37101 CComponentsFrmClock: ensure update of possible changed property values
This also fixes a segfault in channellist when font settings
were changed und user is change back into channellist.


Origin commit data
------------------
Commit: 020d52ddbb
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-18 (Tue, 18 Jun 2013)
2013-06-18 19:33:35 +02:00
Thilo Graf
61837a058f CComponentsFrmClock: set font only with fontrender object
Origin commit data
------------------
Commit: 03ef18cdb9
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-18 (Tue, 18 Jun 2013)
2013-06-18 19:33:34 +02:00
Stefan Seyfried
fce4dbbe72 Merge branch 'check/next-cc'
it compiles, but is not really tested...

Conflicts:
	src/driver/netfile.cpp
	src/driver/volume.cpp
	src/eitd/sectionsd.cpp
	src/gui/audioplayer.cpp
	src/gui/bedit/bouqueteditor_bouquets.cpp
	src/gui/bedit/bouqueteditor_channels.cpp
	src/gui/bookmarkmanager.cpp
	src/gui/bouquetlist.cpp
	src/gui/eventlist.cpp
	src/gui/movieplayer.cpp
	src/gui/pictureviewer.cpp
	src/gui/scan.cpp
	src/gui/test_menu.h
	src/gui/timerlist.cpp
	src/gui/update.cpp
	src/gui/widget/listbox.cpp
	src/neutrino.cpp
	src/system/flashtool.cpp
	src/zapit/src/Makefile.am
	src/zapit/src/femanager.cpp


Origin commit data
------------------
Commit: d5d5a60261
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-06-16 (Sun, 16 Jun 2013)
2013-06-16 21:22:14 +02:00
Thilo Graf
89788cbc75 CComponents: move unmaintained files into own directory
Origin commit data
------------------
Commit: 3f8b127e3f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-16 (Sun, 16 Jun 2013)
2013-06-16 14:32:24 +02:00
Thilo Graf
ea1fb7abbd CComponentsPIP: show scaled aspect ratio in minitv box
Origin commit data
------------------
Commit: e8ddd8100f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-16 (Sun, 16 Jun 2013)
2013-06-16 02:01:42 +02:00
Thilo Graf
87c50eb551 CComponentsWindow: add more functionality
Window comes now with footer and body


Origin commit data
------------------
Commit: 2a7c712f25
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-16 (Sun, 16 Jun 2013)
2013-06-16 00:34:08 +02:00
Thilo Graf
8db24d0ab1 CComponentsText: fix position handling in sub forms
Origin commit data
------------------
Commit: 940576f0a0
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-16 (Sun, 16 Jun 2013)
2013-06-16 00:34:07 +02:00
Thilo Graf
2a050bd77c CComponentsButton: fix alignment of button items
Origin commit data
------------------
Commit: b18741efc7
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-16 (Sun, 16 Jun 2013)
2013-06-16 00:34:07 +02:00
Thilo Graf
d05f9843f7 CComponents: rework position handling
The real position already used here, if item is bound to a parent.
(bound or embedded means: added with addCCItem() to a form)
This causes no separate calculation in paint methodes of embedded
sub items or sub forms and more nested sub forms.

CComponentsForm have also some new members
- exchangeCCItem() to exchange the order items
- setAppendOffset() to set an offset for auto append mode
 Autoappend is enabled if x or y have value -1 (defined also in CC_APPEND)
 x=horizontal, y=vertical
 Is this activated, no separate calculation of incremental offset
 is required.

However items with independent rendered parts, needs
a separate calculation. In some subclasses was this necessary.


Origin commit data
------------------
Commit: 04300f1874
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-16 (Sun, 16 Jun 2013)

Origin message was:
------------------
CComponents: rework position handling

The real position already used here, if item is bound to a parent.
(bound or embedded means: added with addCCItem() to a form)
This causes no separate calculation in paint methodes of embedded
sub items or sub forms and more nested sub forms.

CComponentsForm have also some new members
- exchangeCCItem() to exchange the order items
- setAppendOffset() to set an offset for auto append mode
 Autoappend is enabled if x or y have value -1 (defined also in CC_APPEND)
 x=horizontal, y=vertical
 Is this activated, no separate calculation of incremental offset
 is required.

However items with independent rendered parts, needs
a separate calculation. In some subclasses was this necessary.
2013-06-16 00:34:06 +02:00
Thilo Graf
72b897f920 CComponentsPicture: add member initPosition()
Origin commit data
------------------
Commit: d88b28445f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-15 (Sat, 15 Jun 2013)
2013-06-16 00:34:06 +02:00
Thilo Graf
e77fd7fa3d CComponentsLabel: trivial format fix
Origin commit data
------------------
Commit: 3f02d391bc
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-15 (Sat, 15 Jun 2013)
2013-06-16 00:34:06 +02:00
Thilo Graf
bedc468943 CProgressBar: add member paintShapes()
paintShapes() replaces paintBoxRel()
TODO: paint v-lines with CComponents


Origin commit data
------------------
Commit: 44759766af
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-15 (Sat, 15 Jun 2013)
2013-06-16 00:34:05 +02:00
Thilo Graf
43a3d43735 CComponents: add define CC_APPEND
Is usable as default value for item position parameters


Origin commit data
------------------
Commit: 2a234d08ce
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-12 (Wed, 12 Jun 2013)
2013-06-16 00:34:05 +02:00
Thilo Graf
2517fc0151 CComponents: add new member getFrameThickness()
Origin commit data
------------------
Commit: f14141d49c
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-12 (Wed, 12 Jun 2013)
2013-06-16 00:34:05 +02:00
Thilo Graf
974338c86d CComponentsPicture: add member function paintPicture()
compact calling in paint()


Origin commit data
------------------
Commit: 4df8d1d088
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-15 (Sat, 15 Jun 2013)
2013-06-16 00:34:04 +02:00
Thilo Graf
d2cbb44c4d CComponentsForm: add new member isAdded()
Origin commit data
------------------
Commit: f968abe6c5
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-12 (Wed, 12 Jun 2013)
2013-06-16 00:34:04 +02:00
Thilo Graf
1a3048552e CComponentsForm: return id only if parameter is not 0
Origin commit data
------------------
Commit: 2af1c5d8b2
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-12 (Wed, 12 Jun 2013)
2013-06-16 00:34:04 +02:00
Thilo Graf
78530c5aa7 CComponentsInfoBox: comment precised
Origin commit data
------------------
Commit: 2e42455e25
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-11 (Tue, 11 Jun 2013)
2013-06-16 00:34:03 +02:00
Thilo Graf
b71dc91ee4 CComponentsForm: add missing item type
Origin commit data
------------------
Commit: d862de87eb
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-08 (Sat, 08 Jun 2013)
2013-06-16 00:34:03 +02:00
Thilo Graf
70686b7e37 CComponents: add members setRealXPos() and setRealYPos()
Origin commit data
------------------
Commit: 17a2bd59d1
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-06 (Thu, 06 Jun 2013)
2013-06-16 00:34:03 +02:00
Thilo Graf
84b8af1e24 CComponentsFrmClock: add missing comment
Origin commit data
------------------
Commit: 220c479b9e
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-04 (Tue, 04 Jun 2013)
2013-06-16 00:34:02 +02:00
Michael Liebmann
6d6a3336ca CComponentsFrmClock: set text border width to 0
Origin commit data
------------------
Commit: 587db33bbd
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-12 (Wed, 12 Jun 2013)
2013-06-12 01:32:24 +02:00
Michael Liebmann
09355f643a CTextBox: Remove workaround for minimally text_border_width
- Default value is now 1 in CComponentsText


Origin commit data
------------------
Commit: ba1e514747
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-12 (Wed, 12 Jun 2013)
2013-06-12 01:32:24 +02:00
Michael Liebmann
984a1691f9 CComponentsFrmClock: Move thread start/stop to constructor/destructor
Origin commit data
------------------
Commit: 6409cc8a19
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-12 (Wed, 12 Jun 2013)
2013-06-12 01:32:24 +02:00
FlatTV
6b933134f1 CComponentsText: add possibility to set a text border
Origin commit data
------------------
Commit: 96da2f95b8
Author: FlatTV <FlatTV@gmx.de>
Date: 2013-06-06 (Thu, 06 Jun 2013)

Origin message was:
------------------
- CComponentsText: add possibility to set a text border
2013-06-06 22:08:46 +02:00
Thilo Graf
d8e4aa483c CTestMenu: add sample code for footer buttons, disable debug spam
Origin commit data
------------------
Commit: fc3829d695
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-03 (Mon, 03 Jun 2013)
2013-06-03 22:12:49 +02:00
Thilo Graf
9cb86caf96 CComponentsButton: rework position handling for buttons and code comments
Origin commit data
------------------
Commit: 7d82da09ae
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-03 (Mon, 03 Jun 2013)
2013-06-03 22:12:48 +02:00
Thilo Graf
55512682b0 CProgressBar/CVolumeBar: fix position of active/passive bar
Assign real position values to progressbar if is bound (embedded) in a form.
This is dependently from its own parent status. Status of cc_parent==NULL
means, it's not bound and without parent form so we use x/y, otherwise
we use real values stored by cc_xr/cc_yr.
Values in cc_xr/cc_yr and cc_parent were assigned with addCCItem().

Signed-off-by: Michael Liebmann <tuxcode.bbg@gmail.com>


Origin commit data
------------------
Commit: fb812f38e8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-02 (Sun, 02 Jun 2013)
2013-06-03 22:12:48 +02:00
Thilo Graf
afaedb70db CComponents: rename and move real position attributes
These attributes are better placed in the basic class.


Origin commit data
------------------
Commit: 3c5f4867fb
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-31 (Fri, 31 May 2013)
2013-06-03 22:12:47 +02:00
Thilo Graf
46533626c2 CComponentsForm: fix position of items in added forms
Position of added items in subforms was fitted with wrong offset.
Usage of relative x/y position avoids wrong positions of items in subforms.


Origin commit data
------------------
Commit: d3d0bff7ac
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-29 (Wed, 29 May 2013)
2013-06-03 22:11:19 +02:00
Thilo Graf
26f6390906 CComponentsForm: add index to items
Helpers to identfie added items.


Origin commit data
------------------
Commit: ddaa7a876e
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-29 (Wed, 29 May 2013)
2013-06-03 22:06:30 +02:00
Thilo Graf
f83a9e6b19 CComponentsFooter: add new class CComponentsFooter
Origin commit data
------------------
Commit: e665ab18ab
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-29 (Wed, 29 May 2013)
2013-06-03 22:06:03 +02:00
Michael Liebmann
c83cbbd3f3 CComponentsFrmClock: Add member setTextColor()
- Add member refresh() for (re)calculate clock dimensions


Origin commit data
------------------
Commit: 39704b72c0
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-01 (Sat, 01 Jun 2013)

Origin message was:
------------------
* CComponentsFrmClock: Add member setTextColor()

- Add member refresh() for (re)calculate clock dimensions
2013-06-01 19:37:46 +02:00
vanhofen
0f01c062ea cc_frm_header: rework positions/dimensions calculations
Origin commit data
------------------
Commit: b318c15895
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-05-30 (Thu, 30 May 2013)

Origin message was:
------------------
- cc_frm_header: rework positions/dimensions calculations
2013-05-30 21:51:12 +02:00
vanhofen
5a164116d1 CComponentsHeader: add possibility to change font in header class
Origin commit data
------------------
Commit: 890d282315
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-05-28 (Tue, 28 May 2013)

Origin message was:
------------------
- CComponentsHeader: add possibility to change font in header class
2013-05-28 10:24:23 +02:00
Thilo Graf
ceec88cca1 CComponentsItem: typo fixes
Origin commit data
------------------
Commit: 1e0df8842e
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-28 (Tue, 28 May 2013)
2013-05-28 09:44:10 +02:00
Thilo Graf
7b5fd739be CComponentsItem: corrected comment for arg do_save_bg
Origin commit data
------------------
Commit: 6f480c7773
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-28 (Tue, 28 May 2013)
2013-05-28 09:21:10 +02:00
Thilo Graf
a9d856c892 CComponentsItem: add more comments
Origin commit data
------------------
Commit: cfc0c72daa
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-28 (Tue, 28 May 2013)
2013-05-28 09:10:25 +02:00
Thilo Graf
50d11243b1 CComponentsHeader: rename some members for plausible usage in subclasses
Some members are usable in subclasses, but current names could be not
suitable or not plausible with respect to the name of subclass.


Origin commit data
------------------
Commit: 8e46f63900
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-27 (Mon, 27 May 2013)

Origin message was:
------------------
CComponentsHeader: rename some members for plausible usage in subclasses

Some members are usable in subclasses, but current names could be not
suitable or not plausible with respect to the name of subclass.
2013-05-27 11:58:05 +02:00
Thilo Graf
941295e048 CComponents: split some header files
CComponentsInfoBox
CComponentsShapeCircle/Square
CComponentsDetailLine
CComponentsPIP
CComponentsText/CComponentsLabel
CComponentsPicture


Origin commit data
------------------
Commit: d39eaa22fc
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-26 (Sun, 26 May 2013)
2013-05-27 09:30:50 +02:00
Thilo Graf
7cefe569ea CComponentsFrmClock: add missing statement for #include <config.h>
Origin commit data
------------------
Commit: 09d6881b20
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-26 (Sun, 26 May 2013)
2013-05-27 09:30:50 +02:00
Thilo Graf
aced8dd484 CComponents: add comments for documentations
Comments contains doxygen tags.
for results see also: http://www.tuxbox.org/neutrinohd/doc/html/
Help welcome!


Origin commit data
------------------
Commit: 47691515d1
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-25 (Sat, 25 May 2013)
2013-05-27 09:22:08 +02:00
vanhofen
11188c41e3 cc_frm_header: improve "fix neutrino locales in CComponentsHeader"
* supplement to 31394a2


Origin commit data
------------------
Commit: 784d8d3de2
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-05-26 (Sun, 26 May 2013)

Origin message was:
------------------
- cc_frm_header: improve "fix neutrino locales in CComponentsHeader"

* supplement to 31394a2
2013-05-26 23:27:23 +02:00
vanhofen
31394a2dda cc_frm_header: fix neutrino locales in CComponentsHeader
Origin commit data
------------------
Commit: 4cc9e7691a
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-05-26 (Sun, 26 May 2013)

Origin message was:
------------------
- cc_frm_header: fix neutrino locales in CComponentsHeader
2013-05-26 22:49:46 +02:00
Thilo Graf
7222de9168 CComponentsFrmClock: add new class CComponentsFrmClock
Origin commit data
------------------
Commit: 9d52071c39
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-05-25 (Sat, 25 May 2013)
2013-05-25 23:29:49 +02:00
Michael Liebmann
860a7c8385 CComponents: Reworked paint the shadows
- Paint rounded corners only where it is required
- Skip paint frame/paint shadow, if not defined


Origin commit data
------------------
Commit: 4da83b546c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-24 (Fri, 24 May 2013)

Origin message was:
------------------
* CComponents: Reworked paint the shadows

- Paint rounded corners only where it is required
- Skip paint frame/paint shadow, if not defined
2013-05-24 21:48:56 +02:00
Stefan Seyfried
b6e65d0300 Merge remote-tracking branch 'check/next-cc'
needs buildfixing in framebuffer class...

Conflicts:
	data/locale/deutsch.locale
	data/locale/english.locale
	src/driver/fontrenderer.cpp
	src/driver/volume.cpp
	src/gui/audiomute.cpp
	src/gui/audioplayer.cpp
	src/gui/osd_setup.cpp
	src/gui/widget/stringinput.cpp
	src/neutrino.cpp


Origin commit data
------------------
Commit: a7f1e0e25e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-05-24 (Fri, 24 May 2013)
2013-05-24 20:24:39 +02:00
Michael Liebmann
b0f334de56 CComponentsItem::paintInit(): Corrected calculation of sw_cur
- Summarized calculate the values of shadow box


Origin commit data
------------------
Commit: b1c7c7a34c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-22 (Wed, 22 May 2013)

Origin message was:
------------------
* CComponentsItem::paintInit(): Corrected calculation of sw_cur

- Summarized calculate the values of shadow box
2013-05-22 22:02:17 +02:00
Michael Liebmann
24c8d962d4 src/gui/components/cc_types.h: Renumbering 'align types' of correct evaluation
Origin commit data
------------------
Commit: 2a6d12c332
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-05-21 (Tue, 21 May 2013)

Origin message was:
------------------
* src/gui/components/cc_types.h: Renumbering 'align types' of correct evaluation
2013-05-21 19:34:53 +02:00