Commit Graph

69 Commits

Author SHA1 Message Date
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
svenhoefer
ed9b4278b4 - imageinfo: show both vcs-info and built-date 2013-06-01 09:52:19 +02:00
svenhoefer
5c0a692f13 - version-header: generalize (add built_date and vcs string) 2013-06-01 09:44:45 +02:00
Thilo Graf
91e0a0c4bf CImageInfo: use setTextFromFile() to show license text 2013-04-24 19:48:39 +02:00
svenhoefer
c07b8781a5 - 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
3f3a767104 CImageInfo: add item_offset also to bottom of license text 2013-03-24 21:14:11 +01:00
Thilo Graf
e7984e6c73 CImageInfo: add header buttons 2013-03-24 21:14:10 +01:00
Thilo Graf
6b68259ac6 CComponentsText: rename getCCItemTextBoxInst -> getCTextBoxObject
This name should be more plausible
2013-03-21 11:37:20 +01:00
Thilo Graf
322de62366 CImageInfo: move ScrollLic() to end of file and add comments 2013-03-21 11:37:13 +01:00
Thilo Graf
0dc4686874 fix license text, sorry, was a c&p error 2013-03-21 11:37:00 +01:00
Michael Liebmann
801a15df7c * CImageInfo: Scroll license text if text box too small 2013-03-21 06:56:24 +01:00