Commit Graph

105 Commits

Author SHA1 Message Date
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
Michael Liebmann
9755751217 * Imageinfo: Format license text 2013-03-19 11:54:57 +01:00
Thilo Graf
2387b27b73 CImageInfo: implement CComponents
TODO:
- format of license text
- button bar or header buttons ?
2013-03-19 08:24:14 +01:00
svenhoefer
b0469b196e - fix width of pip-boxes in streaminfo and imageinfo 2013-03-17 20:19:13 +01:00
micha-bbg
d5a00cb260 * Imageinfo/Streaminfo: Use CComponentsPIP for PIP 2013-03-06 11:27:52 +01:00
satbaby
2ee2bb63f0 src/gui/imageinfo.cpp: change SVN Version to GIT Version 2012-10-28 13:08:55 +01:00
[CST] Focus
b461483f2f gui/imageinfo.cpp: add release/beta to image version 2012-10-11 20:33:11 +04:00
satbaby
4fa58bcd52 imageinfo.cpp: add show kernel version 2012-10-11 18:15:06 +02:00
focus
d2ca2e505a Close all on menu key; allow sat and fav keys
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1891 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-11-25 09:38:00 +00:00
seife
2590adfe15 add generic dispatcher headers for frontend etc
add generic audio, video and demux headers in zapit/include (TODO: put them
into a better place, or put wrappers into lib directories) that automatically
dispatch to the hardware specific functions and use them in the code

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@962 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-12-25 17:43:28 +00:00
thilo
5bf4aa553a imageinfo: replaced "man neutrino" with link to online documentation
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@902 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-11-27 23:17:54 +00:00
satbaby
bb2df84f63 -add rec icon
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@707 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-08-05 15:11:40 +00:00
satbaby
adc62e8ebe fix git build
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@539 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-04-08 13:09:08 +00:00
satbaby
ce744400e0 -add svn rev. to imageinfo
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@538 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-04-07 13:16:06 +00:00
striper
39f76419fd - scale imageinfo with fontsize
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@360 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-17 12:52:49 +00:00