Commit Graph

73 Commits

Author SHA1 Message Date
vanhofen
4819c8ac41 imageinfo: remove obsolete define
Origin commit data
------------------
Commit: b283128d0f
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-03-03 (Fri, 03 Mar 2017)

Origin message was:
------------------
- imageinfo: remove obsolete define
2017-03-03 15:50:47 +01:00
vanhofen
3710a10921 imageinfo: change handling of yWeb version; use own CConfigFile
Origin commit data
------------------
Commit: 629f91e229
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-03-03 (Fri, 03 Mar 2017)

Origin message was:
------------------
- imageinfo: change handling of yWeb version; use own CConfigFile
2017-03-03 15:48:31 +01:00
Thilo Graf
78e96b7b5a CImageInfo: fix y position of infotext
Minitv was not considered.
When font size very small, infotext could be overlapping
with minitv window. This should fix this.


Origin commit data
------------------
Commit: 2727e3f7f0
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-02-13 (Mon, 13 Feb 2017)
2017-02-13 09:09:46 +01:00
Stefan Seyfried
f6d5a96838 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


Origin commit data
------------------
Commit: 2303d94300
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-05 (Sun, 05 Feb 2017)
2017-02-07 17:23:42 +01:00
Thilo Graf
5685d9f2b2 CImageInfo: prevent possible overpainting while switching of sub text caption
Origin commit data
------------------
Commit: 5d1bcbd33f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-01-23 (Mon, 23 Jan 2017)
2017-01-31 16:36:42 +01:00
Thilo Graf
8f1760195a CImageInfo: remove CC_APPEND
Should not be used in the future.


Origin commit data
------------------
Commit: 9b039f45bc
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-27 (Sun, 27 Nov 2016)
2016-11-28 21:44:00 +01:00
Thilo Graf
2e5604e384 Locales: use generic gui name in messages and windows
Origin commit data
------------------
Commit: 1b4f976c6b
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-18 (Fri, 18 Nov 2016)
2016-11-18 17:46:17 +01:00
Thilo Graf
0511eab2db CImageInfo: using "DATADIR" instead fixed path
Origin commit data
------------------
Commit: b8e1d0ebbd
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-04 (Tue, 04 Oct 2016)
2016-10-04 20:40:30 +02:00
Thilo Graf
46474566ba CImageInfo: fix initial height of first info item
On first view of imageinfo window, no image name was visibla.
Height for this item was not assigned.
Height was only assigned at the second attempt.


Origin commit data
------------------
Commit: 5fcd45b633
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-03 (Mon, 03 Oct 2016)
2016-10-03 21:38:22 +02:00
Thilo Graf
a78601c379 CImageInfo: fix possible item height calculation
Calculation of height was ok on first paint, but on next time was broken.


Origin commit data
------------------
Commit: dae88708ee
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-03 (Mon, 03 Oct 2016)
2016-10-03 15:06:02 +02:00
Thilo Graf
feaf607b20 CImageInfo: use matched fontsize for informations
This window contains many lines and it's possible that some lines are
truncated. if users have changed to extreme font sizes,
So it is hopefully solved.


Origin commit data
------------------
Commit: 95735f6faf
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-03 (Mon, 03 Oct 2016)
2016-10-03 13:15:57 +02:00
Thilo Graf
38ad89387c CImageInfo: add yweb version info
Origin commit data
------------------
Commit: 7355ebb883
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-03 (Mon, 03 Oct 2016)
2016-10-03 01:54:06 +02:00
Thilo Graf
4dd326ab7e Imageinfo: add lua API info
Conflicts:
	data/locale/deutsch.locale
	data/locale/english.locale
	data/locale/nederlands.locale
	src/system/locals.h
	src/system/locals_intern.h


Origin commit data
------------------
Commit: 6b88cea7bf
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-02 (Sun, 02 Oct 2016)
2016-10-03 01:54:06 +02:00
Thilo Graf
6df22ce699 CImageInfo: enable fade for image info window
Origin commit data
------------------
Commit: c9314e4bd1
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-02 (Sun, 02 Oct 2016)
2016-10-03 01:52:32 +02:00
Michael Liebmann
65c4cfec97 Set correct path for /.version if TARGET_PREFIX is in use.
Origin commit data
------------------
Commit: 312a80bee9
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-25 (Sun, 25 Sep 2016)
2016-10-01 11:47:59 +02:00
vanhofen
fa2686a90e add listModeKey() function to simplify these calls
Origin commit data
------------------
Commit: 2911e638c7
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-09 (Fri, 09 Sep 2016)

Origin message was:
------------------
- add listModeKey() function to simplify these calls
2016-09-09 10:42:46 +02:00
vanhofen
78230ead13 colors: some internal renamings
* INFOBAR_SHADOW to SHADOW because it's not only used in infoviewer
* INFOBAR_SHADOW_TEXT to MENUFOOT_TEXT because it's the proper name

This is in preparation to make footer colors configurable


Origin commit data
------------------
Commit: bc39d1e14e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-14 (Sun, 14 Aug 2016)

Origin message was:
------------------
- colors: some internal renamings

* INFOBAR_SHADOW to SHADOW because it's not only used in infoviewer
* INFOBAR_SHADOW_TEXT to MENUFOOT_TEXT because it's the proper name

This is in preparation to make footer colors configurable
2016-08-14 21:55:18 +02:00
[CST] Focus
38ede6dfb0 neutrino: add webtv channel list mode
Origin commit data
------------------
Commit: 302642cee7
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2016-03-23 (Wed, 23 Mar 2016)
2016-03-23 16:36:00 +03:00
Thilo Graf
426094cf0d CImageInfo: try to fix paint button paint
Handling with background and frame was changed


Origin commit data
------------------
Commit: da786ac384
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-11-19 (Thu, 19 Nov 2015)
2015-12-27 14:42:30 +01:00
Jacek Jendrzej
2d42506ef9 src/gui/imageinfo.cpp fix heap-use-after-free
Origin commit data
------------------
Commit: 93e302211e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-12-26 (Sat, 26 Dec 2015)
2015-12-26 17:36:58 +01:00
Thilo Graf
7ad7b09de3 CImageInfo: use call of getTextFromFile() without explicit object
Origin commit data
------------------
Commit: cd53fae2c6
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-14 (Tue, 14 Apr 2015)
2015-05-04 10:37:03 +02:00
Thilo Graf
61656865d0 Merge branch 'cst-next.pre' into cst-next
Origin commit data
------------------
Commit: a58f1621b4
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-30 (Thu, 30 Apr 2015)
2015-04-30 09:20:43 +02:00
Thilo Graf
6261b3b869 themes: use hintbox and header gradient option in theme settings
Color gradient feature was originally intended for use
inside theme settings and it's not really suitable for
generally use as default in all themes at the moment, so it makes more
sense to have options in theme settings and let the user decide
to customize this, unless enough other gui parts can use this feature.


Origin commit data
------------------
Commit: 01516cf943
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-29 (Wed, 29 Apr 2015)

Origin message was:
------------------
themes: use hintbox and header gradient option in theme settings

Color gradient feature was originally intended for use
inside theme settings and it's not really suitable for
generally use as default in all themes at the moment, so it makes more
sense to have options in theme settings and let the user decide
to customize this, unless enough other gui parts can use this feature.
2015-04-29 10:16:55 +02:00
Thilo Graf
b086842886 CImageInfo: fix missing license text for missing translations
Origin commit data
------------------
Commit: f2a786bf6b
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-04-14 (Tue, 14 Apr 2015)
2015-04-14 10:48:40 +02:00
Thilo Graf
bb5b71e88b CImageInfo: fix button color with gradient
Origin commit data
------------------
Commit: 1097a8ef0d
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-12-27 (Sat, 27 Dec 2014)
2015-03-29 22:40:02 +02:00
[CST] Focus
0789a30e26 gui/imageinfo.cpp: disable screen saving
Origin commit data
------------------
Commit: 42d3ffb107
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-03-06 (Fri, 06 Mar 2015)
2015-03-06 14:14:00 +03:00
Thilo Graf
9d506231b6 CImageInfo: remove superfluous assign of footer color
Is default assigned with same color.


Origin commit data
------------------
Commit: 09e529741a
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)
2014-05-16 09:08:24 +02:00
Thilo Graf
6ab767f5fd CImageInfo: reduce font size of button
Origin commit data
------------------
Commit: 43637941ac
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-27 (Sun, 27 Apr 2014)
2014-05-16 09:08:24 +02: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
be04423b30 CImageInfo: enable missing window shadow
Also revert ff76728960,
Size handling fixed in 533c2cfc5c8aaf4f56fa07828d44ccb03a62efa6


Origin commit data
------------------
Commit: fb4819ff14
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-31 (Fri, 31 Jan 2014)
2014-02-05 11:56:47 +01:00
[CST] Focus
ff76728960 gui/imageinfo.cpp: honor screen setup values
Origin commit data
------------------
Commit: ae320ba411
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-01-31 (Fri, 31 Jan 2014)
2014-01-31 16:31:05 +04:00
Thilo Graf
c3216202f6 CComponentsWindow: rework constructors, add CComponentsWindowMax
Member initVarWindow() now used with parameters, so it's possible
to remove multiple code in constructors, but some class must be
renamed to CComponentsWindowMax.


Origin commit data
------------------
Commit: 21e0321c53
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-24 (Fri, 24 Jan 2014)

Origin message was:
------------------
CComponentsWindow: rework constructors, add CComponentsWindowMax

Member initVarWindow() now used with parameters, so it's possible
to remove multiple code in constructors, but some class must be
renamed to CComponentsWindowMax.
2014-01-24 23:12:51 +01:00
[CST] Focus
5ff35e4515 gui/imageinfo.cpp: fix memleak, b_info never deleted
Origin commit data
------------------
Commit: 83649513af
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-11-27 (Wed, 27 Nov 2013)
2013-11-29 17:27:10 +04:00
Thilo Graf
c2b5f7248d CImageInfo: fix calculation of info text height
Height of sub caption was not considered.


Origin commit data
------------------
Commit: f3da710976
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-11 (Mon, 11 Nov 2013)
2013-11-11 08:53:33 +01:00
Thilo Graf
e2a842bfb8 CImageInfo: rework some parts of imageinfo
-use CComponentsExtTextForm: this combines labels and text to one item

-add build informations: this includes some functions of CBuildInfo class
 to show its informations, user can now use the red button and toggle
 between license and build infos


Origin commit data
------------------
Commit: 2bd2714770
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-11 (Mon, 11 Nov 2013)
2013-11-11 00:20:10 +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
Thilo Graf
e4e375b159 CImageInfo: split function InitLicenseText()
InitInfoText() now handles only infotext via parameter text, so it is
possible to set different text into infobox item.


Origin commit data
------------------
Commit: 8e246f16a8
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-10-19 (Sat, 19 Oct 2013)
2013-10-19 01:25:23 +02:00
J. Krieg
536032b79e imageinfo: add possibility to display a custom text for image version
Origin commit data
------------------
Commit: a1640dd958
Author: J. Krieg <bellum07@googlemail.com>
Date: 2013-07-13 (Sat, 13 Jul 2013)
2013-07-15 23:10:13 +02:00
J. Krieg
3596ddbbca imageinfo: display other version info on missing '.version' file
Origin commit data
------------------
Commit: 1557dafabc
Author: J. Krieg <bellum07@googlemail.com>
Date: 2013-07-13 (Sat, 13 Jul 2013)
2013-07-15 23:10:06 +02:00
Thilo Graf
590170e251 CImageInfo: adapt for new window handling
Origin commit data
------------------
Commit: ebc7b4ca6f
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-06-16 (Sun, 16 Jun 2013)
2013-06-16 00:34:08 +02:00
[CST] Focus
d859c5b68f gui/imageinfo.cpp: append image date from .version -
image is not neutrino only, other things could be changed


Origin commit data
------------------
Commit: 5fbb2e4a2d
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-06-02 (Sun, 02 Jun 2013)
2013-06-10 15:57:03 +04:00
[CST] Focus
a42b39e72a Change image license to GPL v2
Origin commit data
------------------
Commit: f46fc25da0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-05-30 (Thu, 30 May 2013)
2013-06-02 10:48:10 +04:00
vanhofen
4081ac2f14 imageinfo: show both vcs-info and built-date
Origin commit data
------------------
Commit: ed9b4278b4
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-06-01 (Sat, 01 Jun 2013)

Origin message was:
------------------
- imageinfo: show both vcs-info and built-date
2013-06-01 09:52:19 +02:00
vanhofen
75c827e413 version-header: generalize (add built_date and vcs string)
Origin commit data
------------------
Commit: 5c0a692f13
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-06-01 (Sat, 01 Jun 2013)

Origin message was:
------------------
- version-header: generalize (add built_date and vcs string)
2013-06-01 09:44:45 +02:00
Thilo Graf
e961ae241a CImageInfo: use setTextFromFile() to show license text
Origin commit data
------------------
Commit: 91e0a0c4bf
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-04-22 (Mon, 22 Apr 2013)
2013-04-24 19:48:39 +02:00
vanhofen
52653b13d5 imageinfo: remove some fixed width values ...
... to avoid possible ugly overlaps

* split kernel-version from image-version
* whitespace cleanup


Origin commit data
------------------
Commit: c07b8781a5
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-03-30 (Sat, 30 Mar 2013)

Origin message was:
------------------
- imageinfo: remove some fixed width values ...

... to avoid possible ugly overlaps

* split kernel-version from image-version
* whitespace cleanup
2013-03-30 16:03:27 +01:00
Thilo Graf
a12728aa2b CImageInfo: add item_offset also to bottom of license text
Origin commit data
------------------
Commit: 3f3a767104
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-24 (Sun, 24 Mar 2013)
2013-03-24 21:14:11 +01:00
Thilo Graf
84e76185c0 CImageInfo: add header buttons
Origin commit data
------------------
Commit: e7984e6c73
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-22 (Fri, 22 Mar 2013)
2013-03-24 21:14:10 +01:00