Commit Graph

1345 Commits

Author SHA1 Message Date
Thilo Graf
8fc9b3a6a7 CComponentsFooter: add possibility to change font type
Origin commit data
------------------
Commit: 41c01cedad
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-30 (Wed, 30 Apr 2014)
2014-05-22 21:50:44 +02:00
Thilo Graf
1482cebcc6 CComponentsButton: add possibility to change font type, whitespace fixes
Origin commit data
------------------
Commit: 419fc12f2e
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-30 (Wed, 30 Apr 2014)
2014-05-22 21:50:44 +02:00
Thilo Graf
bd223cb6c9 CComponentsButton: simplify handling of init of buttons with chain class
Origin commit data
------------------
Commit: 7b279ddd33
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)
2014-05-22 21:50:43 +02:00
Thilo Graf
3ba2c24cad CComponentsFooter: add functionality to add button labels via struct
This function uses struct label like old button label function
see /gui/widget/buttons.cpp, but can also use strings in structs

also possible: add single button with text or locale


Origin commit data
------------------
Commit: 8797872d47
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)
2014-05-22 21:50:43 +02:00
Thilo Graf
c4e16ba42c CComponentsFrmChain: add possibility to use individual positions for items
Origin commit data
------------------
Commit: 40cfc7533d
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)
2014-05-22 21:50:43 +02:00
Thilo Graf
ce4710deb0 CComponentsHeader: add icons to button collection for use in headers or footers
Origin commit data
------------------
Commit: 9955fa9203
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-24 (Thu, 24 Apr 2014)
2014-05-22 21:50:42 +02:00
Thilo Graf
52b3760710 CComponentsHeader: add missing init of icon
Origin commit data
------------------
Commit: 1c39d08c60
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-24 (Thu, 24 Apr 2014)
2014-05-22 21:50:42 +02:00
Thilo Graf
2ba0546713 CComponentsHeader: remove superfluous semicolon
Origin commit data
------------------
Commit: e06d835396
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-11 (Sun, 11 May 2014)
2014-05-22 20:38:22 +02:00
Thilo Graf
a8175397f3 CComponentsText: fix fit of textbox object inside cc text object dimensions
Position related to parent container was wrong. Some variables were
unused and removed.


Origin commit data
------------------
Commit: f4447b38e0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-04 (Sun, 04 May 2014)
2014-05-16 09:08:26 +02:00
Thilo Graf
eae22e3579 CComponentsItem: don't increase x/y position if frame width already defined
Origin commit data
------------------
Commit: 6ba757bd9d
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-04 (Sun, 04 May 2014)
2014-05-16 09:08:25 +02:00
Thilo Graf
50ea0ad016 CComponentsIconForm: consider relevant paint direction, don't use 0 values
Value 0 can not be used without problems here, because explicit values
are required since a9a6a925240675c44243754e82dbee79f2d84698


Origin commit data
------------------
Commit: b038d1b6c1
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)
2014-05-16 09:08:25 +02:00
Thilo Graf
41218662ff CComponents/CComponentsItem: add advanced version of kill()
kill() allows now paint with defined colors over rendered objects
without restore of background. It's similar to paintBackgroundBoxRel()
known from CFrameBuffer, but with possiblity to define color,
default color is 0 like before (empty background).
Items with parent bindings use the background color of its parent
as default, but can also be ignored.

This function can be useful before repaint of items and/or,
if required, to have a clean background inside item containers.


Origin commit data
------------------
Commit: 6a2e701a7a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-05 (Mon, 05 May 2014)
2014-05-16 09:08:25 +02:00
Stefan Seyfried
64758452f0 cc_frm_header: fix format-string warning
Origin commit data
------------------
Commit: 38e524b385
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)
2014-04-27 19:27:24 +02:00
Stefan Seyfried
3f36062fe7 Merge remote-tracking branch 'check/next-cc'
build-tested only, needs fixing

Conflicts:
	data/locale/deutsch.locale
	data/locale/english.locale
	src/Makefile.am
	src/driver/rcinput.cpp
	src/driver/streamts.cpp
	src/eitd/sectionsd.cpp
	src/gui/Makefile.am
	src/gui/bouquetlist.cpp
	src/gui/hdd_menu.cpp
	src/gui/luainstance.cpp
	src/gui/luainstance.h
	src/gui/moviebrowser.cpp
	src/gui/movieplayer.cpp
	src/gui/pluginlist.cpp
	src/gui/plugins.cpp
	src/gui/plugins.h
	src/gui/scan.cpp
	src/gui/scan_setup.cpp
	src/gui/user_menue.cpp
	src/gui/videosettings.cpp
	src/gui/widget/menue.cpp
	src/neutrino.cpp
	src/neutrinoMessages.h
	src/system/locals.h
	src/system/locals_intern.h
	src/zapit/include/zapit/scan.h
	src/zapit/src/femanager.cpp
	src/zapit/src/frontend.cpp
	src/zapit/src/getservices.cpp
	src/zapit/src/transponder.cpp


Origin commit data
------------------
Commit: 44ba8fafca
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)
2014-04-27 19:14:06 +02:00
Thilo Graf
164ac60304 CComponentsFrmClock: add missing init of items
Origin commit data
------------------
Commit: 2997b5eea2
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-25 (Tue, 25 Mar 2014)
2014-04-02 08:40:22 +02:00
Thilo Graf
e36aba479b CComponentsText: rework constructor
allows usage of parent parameter without another parameter


Origin commit data
------------------
Commit: d21df99ed4
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-23 (Sun, 23 Mar 2014)
2014-04-02 08:40:22 +02:00
Thilo Graf
8b6c92681e CComponentsHeader: rework context button handling
CComponentsHeader uses now CComponentsIconForm, which is now derived
from CComponentsFrmChain. Some methods should be now simplified and
allow to handle some modifications easier.


Origin commit data
------------------
Commit: 6fe7b452c1
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-22 (Sat, 22 Mar 2014)
2014-04-02 08:40:21 +02:00
Thilo Graf
cc8fd42ceb CComponentsPIP: use a default frame with thickness 2 and small corner radius
Origin commit data
------------------
Commit: a573b02b85
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-16 (Sun, 16 Mar 2014)
2014-04-02 08:40:21 +02:00
Thilo Graf
54ec22af21 CComponentsFrmChain: add missing parameter 'parent'
supplement to f33efdbdc4


Origin commit data
------------------
Commit: 7cc66fea93
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-11 (Tue, 11 Mar 2014)
2014-04-02 08:40:21 +02:00
Thilo Graf
37915b1e2e CComponents: use neutrino debug mode for debug output
Origin commit data
------------------
Commit: 750691fbbf
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-08 (Sat, 08 Mar 2014)
2014-04-02 08:40:21 +02:00
Thilo Graf
342552c787 CComponents: remove error message.
Log output should be enough.


Origin commit data
------------------
Commit: e6a004be87
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-03-05 (Wed, 05 Mar 2014)
2014-03-05 12:10:17 +01:00
Michael Liebmann
570b793a76 CComponents: More precise error message (commit aa7a96a)
Origin commit data
------------------
Commit: d1b8246316
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-03-03 (Mon, 03 Mar 2014)
2014-03-03 20:20:57 +01: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
111a2f9946 cc_types.h: add forward declaration for CComponentsForm()
required for parameter in CComponentsItem constructors


Origin commit data
------------------
Commit: 4a76ca953e
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-27 (Thu, 27 Feb 2014)
2014-03-03 08:54:11 +01:00
Thilo Graf
fb883e238a CComponentsPicture: add comment to isPicPainted()
Not to confuse with isPainted(). Because isPicPainted() is related to
internal image.


Origin commit data
------------------
Commit: 2fade10a11
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-27 (Thu, 27 Feb 2014)
2014-03-03 08:54:11 +01:00
Thilo Graf
bafa64bba9 CComponentsItem: add methodes to set width and height via percent value
Percent value is related to current screen or parent size


Origin commit data
------------------
Commit: a33cad448a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-27 (Thu, 27 Feb 2014)
2014-03-03 08:54:10 +01:00
Thilo Graf
9aa9f374e6 CComponentsItem: comments corrected
Origin commit data
------------------
Commit: 9b18d0cf5b
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-27 (Thu, 27 Feb 2014)
2014-03-03 08:54:10 +01:00
Thilo Graf
cc24c195ee CComponentsItem: move/rename doCenter()to base class CComponentsItem
So it's possible to use this method for all cc-items.
setCenterPos() comes now with parameter 'along_mode' (CC_ALONG_X, CC_ALONG_Y).
So it's possible to center in x or y direction. As default are
both directions predefined.


Origin commit data
------------------
Commit: 8a897103ac
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-27 (Thu, 27 Feb 2014)
2014-03-03 08:54:10 +01:00
Thilo Graf
ecdc19e8bc CComponentsItem: add members to set item position via percent value
Origin commit data
------------------
Commit: 38dffb8456
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-26 (Wed, 26 Feb 2014)
2014-03-03 08:54:10 +01:00
Thilo Graf
20782a486c CComponentsInfoBox, CComponentsPicture: add overloaded members setPicture()
Origin commit data
------------------
Commit: c34f25bb7d
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-26 (Wed, 26 Feb 2014)
2014-03-03 08:54:09 +01:00
Thilo Graf
aa7a96a5a8 CComponents: add member CheckFbData() for fbdata check
This check happens several times, therefore it is senseful, to move into own member.
Function returns false on error and is used here to show an error message if
something was wrong.
Such errors can happen on position or dimension errors e.g. out of screen or
too large display values.

Note: this is only an emergency helper for debugging on
fatal errors during developing of window stuff. Mostly errors
of this kind causing crashes and must be fixed.


Origin commit data
------------------
Commit: f813b9ea98
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-23 (Sun, 23 Feb 2014)

Origin message was:
------------------
CComponents: add member CheckFbData() for fbdata check

This check happens several times, therefore it is senseful, to move into own member.
Function returns false on error and is used here to show an error message if
something was wrong.
Such errors can happen on position or dimension errors e.g. out of screen or
too large display values.

Note: this is only an emergency helper for debugging on
fatal errors during developing of window stuff. Mostly errors
of this kind causing crashes and must be fixed.
2014-03-03 08:54:09 +01:00
Thilo Graf
217b46e625 CComponentsFrmClock: remove statement
stopThread() is doing check against NULL itself


Origin commit data
------------------
Commit: 2b65f1d1b3
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-16 (Mon, 16 Dec 2013)
2014-03-03 08:54:09 +01:00
Thilo Graf
247a4d7c1c CComponentsFrmClock: change wording of comment, was unsuituable
Origin commit data
------------------
Commit: c6db496de6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-12-16 (Mon, 16 Dec 2013)
2014-03-03 08:54:08 +01:00
Stefan Seyfried
f853d06d3b Merge remote-tracking branch 'check/next-cc'
broken, needs buildfixing


Origin commit data
------------------
Commit: add688bbb8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-02-23 (Sun, 23 Feb 2014)
2014-02-23 15:17:48 +01:00
Michael Liebmann
8ef66ccda2 CComponentsButton: Incrase height for btn font
Origin commit data
------------------
Commit: c4bff391a5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-21 (Fri, 21 Feb 2014)
2014-02-21 00:02:46 +01:00
Stefan Seyfried
f9595188ff Merge remote-tracking branch 'check/next-cc'
Origin commit data
------------------
Commit: f6d8c02313
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-02-19 (Wed, 19 Feb 2014)
2014-02-19 11:29:29 +01:00
Thilo Graf
1b4e545c5d CComponentsPicture: fix item position
x/y position was not assigned here for internal pic_x/pic_y vars.
Therefore x/y was ignored.


Origin commit data
------------------
Commit: 27c6bdccaf
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-14 (Fri, 14 Feb 2014)
2014-02-16 19:11:38 +01:00
Stefan Seyfried
d06c1d8ad6 Merge remote-tracking branch 'check/next-cc'
...only build-tested, needs fixes


Origin commit data
------------------
Commit: ecd62d81d1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-02-15 (Sat, 15 Feb 2014)
2014-02-15 20:22:07 +01:00
Michael Liebmann
c259eb1dc8 CComponentsFrmClock: Fix thread handling
- Set clock activ = false for default


Origin commit data
------------------
Commit: ddc826ab51
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-13 (Thu, 13 Feb 2014)
2014-02-13 18:26:04 +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
Thilo Graf
caf0d7db19 CComponentsWindow: fix missing define of header position
Position is strictly top and left within of Window


Origin commit data
------------------
Commit: c6221581ed
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-07 (Fri, 07 Feb 2014)
2014-02-07 09:31:30 +01:00
Thilo Graf
0781fc000b CComponentsWindow: remove redundant init of header and footer
Origin commit data
------------------
Commit: a6eb67d456
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-05 (Wed, 05 Feb 2014)
2014-02-05 11:56:48 +01:00
Thilo Graf
6327804c8a CComponentsPicture: add debug output for handled item dimensions and pos
Origin commit data
------------------
Commit: 14a3546b5f
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-03 (Mon, 03 Feb 2014)
2014-02-05 11:56:48 +01:00
Thilo Graf
83afb37b11 CComponentsPicture: rework constructors, clean ups
Origin commit data
------------------
Commit: 34fcdec276
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-03 (Mon, 03 Feb 2014)
2014-02-05 11:56:48 +01:00
Thilo Graf
c0b74d30e8 CComponentsPicture: show paint mode in debug output
Origin commit data
------------------
Commit: 718824015a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-02-03 (Mon, 03 Feb 2014)
2014-02-05 11:56:48 +01:00
Thilo Graf
1c21514660 CComponents: remove wrong init value for item position
This causes an unnecessary offset and possible fb-remains.
This was observed at the header in Imageinfo, but only without shadow.


Origin commit data
------------------
Commit: 57a6c36329
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-31 (Fri, 31 Jan 2014)
2014-02-05 11:56:48 +01:00
Thilo Graf
10289e5d36 CComponentsWindowMax: add missing parameters to constructors
Origin commit data
------------------
Commit: 9482613d4c
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-31 (Fri, 31 Jan 2014)
2014-02-05 11:56:47 +01:00
Thilo Graf
1cc801f931 CComponentsWindow: fix handling of window size
On some several cases it's possible that full resulution is not
visible on SD output or video-out modes like 576i/p.
So it's makes more sense to use current osd-settings for max size and
position.
This fixes also current behavior of Imageinfo.


Origin commit data
------------------
Commit: 9d3febd080
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-31 (Fri, 31 Jan 2014)
2014-02-05 11:56:47 +01:00
Thilo Graf
b48decae3a CComponentsIconForm: rework constructors
Origin commit data
------------------
Commit: 59723d89f0
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-30 (Thu, 30 Jan 2014)
2014-02-05 11:56:46 +01:00
Thilo Graf
e15a28753e CComponentsHeader/CComponentsFooter: move footer class into its own file
Origin commit data
------------------
Commit: 7151608c8b
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-28 (Tue, 28 Jan 2014)
2014-02-05 11:56:46 +01:00