Commit Graph

79 Commits

Author SHA1 Message Date
Thilo Graf
c90348dd1e update: move image RELEASE_CYCLE define to configure.ac
It should be more sensefull to set release cycle inside environment
than hard coding inside neutrino code.
Neutrino package version is not the same like image release cycle,
therefore here it is separated from package info.
2017-12-28 00:05:28 +01:00
Thilo Graf
516ad45bfd CImageInfo: fix path to .version file 2017-12-22 15:23:53 +01:00
Thilo Graf
60bf6d7194 CImageInfo: expand fallback to get readable version string
Evaluation of one char could be not enough to get a right result.
2017-11-19 20:49:34 +01:00
Thilo Graf
f855209de0 CImageInfo: fix version string format
String was broken. Only artefacts were to see.

BTW: With current yocto build .version contains
wrong version format. This seems to be not suitable for
handling with flash images in context with versions checks.
2017-11-05 22:24:22 +01:00
Thilo Graf
17227504c2 CImageInfo: optimize label arrangement
Distance between label and text was too large with full hd resolution.
2017-03-15 09:58:23 +01:00
Thilo Graf
1db1182b87 CImageInfo: use global offset for item offset 2017-03-15 09:57:43 +01:00
svenhoefer
b283128d0f - imageinfo: remove obsolete define 2017-03-03 15:50:47 +01:00
svenhoefer
629f91e229 - imageinfo: change handling of yWeb version; use own CConfigFile 2017-03-03 15:48:31 +01:00
Thilo Graf
2727e3f7f0 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.
2017-02-13 09:09:46 +01:00
Stefan Seyfried
2303d94300 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
2017-02-07 17:23:42 +01:00
Thilo Graf
5d1bcbd33f CImageInfo: prevent possible overpainting while switching of sub text caption 2017-01-31 16:36:42 +01:00
Thilo Graf
9b039f45bc CImageInfo: remove CC_APPEND
Should not be used in the future.
2016-11-28 21:44:00 +01:00
Thilo Graf
1b4f976c6b Locales: use generic gui name in messages and windows 2016-11-18 17:46:17 +01:00
Thilo Graf
b8e1d0ebbd CImageInfo: using "DATADIR" instead fixed path 2016-10-04 20:40:30 +02:00
Thilo Graf
5fcd45b633 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.
2016-10-03 21:38:22 +02:00
Thilo Graf
dae88708ee CImageInfo: fix possible item height calculation
Calculation of height was ok on first paint, but on next time was broken.
2016-10-03 15:06:02 +02:00
Thilo Graf
95735f6faf 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.
2016-10-03 13:15:57 +02:00
Thilo Graf
7355ebb883 CImageInfo: add yweb version info 2016-10-03 01:54:06 +02:00
Thilo Graf
6b88cea7bf 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
2016-10-03 01:54:06 +02:00
Thilo Graf
c9314e4bd1 CImageInfo: enable fade for image info window 2016-10-03 01:52:32 +02:00
M. Liebmann
312a80bee9 Set correct path for /.version if TARGET_PREFIX is in use. 2016-10-01 11:47:59 +02:00
svenhoefer
2911e638c7 - add listModeKey() function to simplify these calls 2016-09-09 10:42:46 +02:00
svenhoefer
bc39d1e14e - 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
302642cee7 neutrino: add webtv channel list mode 2016-03-23 16:36:00 +03:00
Thilo Graf
da786ac384 CImageInfo: try to fix paint button paint
Handling with background and frame was changed
2015-12-27 14:42:30 +01:00
Jacek Jendrzej
93e302211e src/gui/imageinfo.cpp fix heap-use-after-free 2015-12-26 17:36:58 +01:00
Thilo Graf
cd53fae2c6 CImageInfo: use call of getTextFromFile() without explicit object 2015-05-04 10:37:03 +02:00
Thilo Graf
a58f1621b4 Merge branch 'cst-next.pre' into cst-next 2015-04-30 09:20:43 +02:00
Thilo Graf
01516cf943 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
f2a786bf6b CImageInfo: fix missing license text for missing translations 2015-04-14 10:48:40 +02:00
Thilo Graf
1097a8ef0d CImageInfo: fix button color with gradient 2015-03-29 22:40:02 +02:00
[CST] Focus
42d3ffb107 gui/imageinfo.cpp: disable screen saving 2015-03-06 14:14:00 +03:00
Thilo Graf
09e529741a CImageInfo: remove superfluous assign of footer color
Is default assigned with same color.
2014-05-16 09:08:24 +02:00
Thilo Graf
43637941ac CImageInfo: reduce font size of button 2014-05-16 09:08:24 +02: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
fb4819ff14 CImageInfo: enable missing window shadow
Also revert ae320ba411,
Size handling fixed in 533c2cfc5c8aaf4f56fa07828d44ccb03a62efa6
2014-02-05 11:56:47 +01:00
[CST] Focus
ae320ba411 gui/imageinfo.cpp: honor screen setup values 2014-01-31 16:31:05 +04:00
Thilo Graf
21e0321c53 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
83649513af gui/imageinfo.cpp: fix memleak, b_info never deleted 2013-11-29 17:27:10 +04:00
Thilo Graf
f3da710976 CImageInfo: fix calculation of info text height
Height of sub caption was not considered.
2013-11-11 08:53:33 +01:00
Thilo Graf
2bd2714770 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
2013-11-11 00:20:10 +01:00
Thilo Graf
6dd1da0628 revert 6ee7fac1a5
Was bad idea to rename. Other Classes can also inherit this. See CMenuTarget
2013-10-26 23:25:59 +02:00
Thilo Graf
6ee7fac1a5 CComponents: rename hide() to hideCC()
There are too many name conflicts with hide-members in other classes.
2013-10-24 21:39:04 +02:00
Thilo Graf
f7798affc6 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.
2013-10-24 21:19:07 +02:00
Thilo Graf
8e246f16a8 CImageInfo: split function InitLicenseText()
InitInfoText() now handles only infotext via parameter text, so it is
possible to set different text into infobox item.
2013-10-19 01:25:23 +02:00
J. Krieg
a1640dd958 imageinfo: add possibility to display a custom text for image version 2013-07-15 23:10:13 +02:00
J. Krieg
1557dafabc imageinfo: display other version info on missing '.version' file 2013-07-15 23:10:06 +02:00
Thilo Graf
ebc7b4ca6f CImageInfo: adapt for new window handling 2013-06-16 00:34:08 +02:00
[CST] Focus
5fbb2e4a2d gui/imageinfo.cpp: append image date from .version -
image is not neutrino only, other things could be changed
2013-06-10 15:57:03 +04:00
[CST] Focus
f46fc25da0 Change image license to GPL v2 2013-06-02 10:48:10 +04:00