Commit Graph

38 Commits

Author SHA1 Message Date
Thilo Graf
c337d0449e CHintBox/CMsgBox: rework text handling and dynamic size behavior
Origin commit data
------------------
Commit: e3f51f2c91
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-03 (Thu, 03 Nov 2016)
2016-11-10 11:18:56 +01:00
Thilo Graf
0704180bf9 CHintBox: add member to get maximal required width
Origin commit data
------------------
Commit: 4bdd5e11a9
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-31 (Mon, 31 Oct 2016)
2016-11-10 11:15:43 +01:00
Thilo Graf
23a56859aa CHintBox: move showTimeOutBar() to protected, add params to enableTimeOutBar()
Explicit call of disableTimeOutBar() after exec() is required to ensure
we have no timebar opened objects. I'm not shure, but otherwise crashs
could be possible.

showTimeOutBar() is required for OnTimer(). It doesn't need any
parameter.


Origin commit data
------------------
Commit: a80b861cb5
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-25 (Tue, 25 Oct 2016)
2016-10-25 08:53:23 +02:00
Thilo Graf
ebc13d46b3 CHintBox: try to optimize height and width of message window
Origin commit data
------------------
Commit: a5ce26dfd9
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-23 (Sun, 23 Oct 2016)
2016-10-24 10:31:28 +02:00
Thilo Graf
c8c22653a1 CHintBox: ensure remove timeout bar from screen if hintbox object is closed
Timeout bar is not embedded like other cc items in this form, therefor is
is better to kill this object explicit from screen otherwise it is possible
we hab artefacts after closing of hintbox window.


Origin commit data
------------------
Commit: 6580c5a54a
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-21 (Fri, 21 Oct 2016)

Origin message was:
------------------
CHintBox: ensure remove timeout bar from screen if hintbox object is closed

Timeout bar is not embedded like other cc items in this form, therefor is
is better to kill this object explicit from screen otherwise it is possible
we hab artefacts after closing of hintbox window.
2016-10-24 10:31:28 +02:00
Thilo Graf
c004c30056 CHintBox: fix text mode pass
Rquired in inherited classes


Origin commit data
------------------
Commit: 2952dcc124
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-21 (Fri, 21 Oct 2016)
2016-10-24 10:31:28 +02:00
Thilo Graf
28ba1cbc86 CHintBox: visualize timeoutbar with smooth progress
Origin commit data
------------------
Commit: 4ff7bd8f7e
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-20 (Thu, 20 Oct 2016)
2016-10-24 10:31:28 +02:00
Thilo Graf
c9972f68a0 CHintBox: add space for timeout bar
Origin commit data
------------------
Commit: c035b2fc15
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-13 (Thu, 13 Oct 2016)
2016-10-24 10:31:27 +02:00
Thilo Graf
deca218ec8 CHintbox/CMsgBox: add vizualized timeout bar
Origin commit data
------------------
Commit: cb3699deb5
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-11 (Tue, 11 Oct 2016)
2016-10-24 10:31:27 +02:00
Thilo Graf
ba90b113f0 Helpbox: fix possible transparent holes behind images
Origin commit data
------------------
Commit: 8579758884
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-09 (Sun, 09 Oct 2016)

Origin message was:
------------------
Helpbox: fix possible transparent holes behind images
2016-10-24 10:31:27 +02:00
Thilo Graf
df41f8f768 CHintBox: reduce window size for used auto size depends on text content
Origin commit data
------------------
Commit: 3b60a55f59
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-07 (Fri, 07 Oct 2016)
2016-10-24 10:31:26 +02:00
Thilo Graf
11b3307251 CMsgBox: rework msgbox classes with Window class implementation
Replacing messagebox, hintbox_ext and some derivated parts with
basic class hintbox and derivated class CMsgBox. This should unify
window handling and avoids maintain of multiple classes with quasi
same purpose and adds more functionality.

TODO: fix and optimize details


Origin commit data
------------------
Commit: dde298b1b7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-04-04 (Mon, 04 Apr 2016)
2016-10-24 10:31:24 +02:00
vanhofen
af3e39a47d colors: add COL_SCROLLBAR_PASSIVE wrapper
Origin commit data
------------------
Commit: 6629b64d6c
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_SCROLLBAR_PASSIVE wrapper
2016-10-10 14:19:54 +02:00
vanhofen
4b3b25ca7a colors: add COL_SCROLLBAR_ACTIVE wrapper
Origin commit data
------------------
Commit: 7e7d4e5fc1
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_SCROLLBAR_ACTIVE wrapper
2016-10-10 14:19:54 +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
vanhofen
11d680e053 hintbox: allow plain neutrino locales in bodytext
Origin commit data
------------------
Commit: 0f45e26728
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-12-22 (Mon, 22 Dec 2014)

Origin message was:
------------------
- hintbox: allow plain neutrino locales in bodytext
2014-12-22 09:15:26 +01:00
Michael Liebmann
baf7ffea36 Enable gradient for all remaining GUI header
Origin commit data
------------------
Commit: b9400110b4
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-10-16 (Thu, 16 Oct 2014)
2014-10-16 09:49:28 +02:00
[CST] Focus
ca69eafab2 gui/widget/hintbox.cpp: use hide() in dtor
Origin commit data
------------------
Commit: 31d5811bc3
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-09-24 (Wed, 24 Sep 2014)
2014-09-26 14:22:57 +04:00
[CST] Focus
34d2776109 neutrino: sync keybind and usermenu code with neutrino-mp, code (C) martii
Origin commit data
------------------
Commit: 420af7a4dc
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-09-05 (Fri, 05 Sep 2014)
2014-09-05 17:49:11 +04:00
vanhofen
98c0a441d8 change RenderString() default to UTF8
Origin commit data
------------------
Commit: 649d1b1f9d
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)

Origin message was:
------------------
- change RenderString() default to UTF8
2014-06-11 23:07:13 +02:00
vanhofen
3bba3094e2 change getRenderWidth() default to UTF8
Origin commit data
------------------
Commit: 8b91cda918
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-06-11 (Wed, 11 Jun 2014)

Origin message was:
------------------
- change getRenderWidth() default to UTF8
2014-06-11 23:07:00 +02:00
vanhofen
8a02f4f089 adapt ShowHint handling from martii's neutrino-mp
Origin commit data
------------------
Commit: 6995e1a765
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-01-22 (Wed, 22 Jan 2014)

Origin message was:
------------------
- adapt ShowHint handling from martii's neutrino-mp
2014-01-22 12:11:52 +01:00
Michael Liebmann
7b6498d39f Replace color indexes of the text colors by real color values for RenderString()
- If necessary, Correct data types of the color values


Origin commit data
------------------
Commit: c60c5c5ce3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-11 (Thu, 11 Jul 2013)
2013-07-21 22:00:58 +02:00
Jacek Jendrzej
04be37cf14 performance Prefer prefix ++/-- operators for non-primitive types.
Origin commit data
------------------
Commit: bb347b3a44
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-04-28 (Sat, 28 Apr 2012)
2012-04-28 10:56:27 +02:00
Michael Liebmann
9c00aa389d CHintBox / CHintBoxExt: better draw
- Correct calculation of box width in CHintBoxExt
- Text display in CHintBox and CHintBoxExt centered


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2058 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 2ddfd01562
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-01-14 (Sat, 14 Jan 2012)

Origin message was:
------------------
* CHintBox / CHintBoxExt: better draw

- Correct calculation of box width in CHintBoxExt
- Text display in CHintBox and CHintBoxExt centered


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2058 e54a6e83-5905-42d5-8d5c-058d10e6a962
2012-01-14 05:35:53 +00:00
Stefan Seyfried
e822d72af5 neutrino/hintbox: too long texts could exceed screen space
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1819 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 261094d227
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-11-05 (Sat, 05 Nov 2011)
2011-11-05 11:36:30 +00:00
Thilo Graf
49caee2915 neutrino hintbox: use english
avoids problems with text formatting

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1737 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: d6170c086f
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-10-02 (Sun, 02 Oct 2011)

Origin message was:
------------------
*neutrino hintbox: use english

avoids problems with text formatting

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1737 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-10-02 12:13:56 +00:00
Jacek Jendrzej
9bd05a60de add hw info to func_get_boxtype, fixes
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@983 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 7bbbb40061
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-12-31 (Fri, 31 Dec 2010)

Origin message was:
------------------
-add hw info to func_get_boxtype, fixes

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@983 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-12-31 13:24:46 +00:00
[CST] Focus
d1a99570ee reworked CA menu code
* added support for internal cardreaders for future conax support
* added inactivity shutdown timer for EuP
WARNING: new libcoolstream and libOpenThreads needed.



git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@925 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: b8c1fa5cc1
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-12-07 (Tue, 07 Dec 2010)

Origin message was:
------------------
* reworked CA menu code
* added support for internal cardreaders for future conax support
* added inactivity shutdown timer for EuP
WARNING: new libcoolstream and libOpenThreads needed.



git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@925 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-12-07 10:00:52 +00:00
[CST] Focus
c6ca418526 Fixes for non-standart icon sizes. Not complete yet, work in progress. Probably will broke commit #568
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@569 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 56674d5561
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-05-06 (Thu, 06 May 2010)
2010-05-06 09:39:29 +00:00
[CST] Focus
02c363abda #286, 288, 285, 242, 282, 296, 293
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@549 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 1ec1b2fb81
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-04-21 (Wed, 21 Apr 2010)
2010-04-21 09:36:33 +00:00
Jacek Jendrzej
759ebe6b2d add menu rounded corners on/off
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@395 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 00d9b35c08
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-02-20 (Sat, 20 Feb 2010)

Origin message was:
------------------
-add menu rounded corners on/off

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@395 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-20 21:29:30 +00:00
Jacek Jendrzej
9819856e7d change 'long long' tom int64_t'; change variable buf to new delete;
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@291 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 8f59cc96ec
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-02-07 (Sun, 07 Feb 2010)
2010-02-07 14:32:21 +00:00
Stefan Seyfried
c825f0b90f neutrino: port rounded corner code from tuxbox CVS
This allows to set all four corners separately. The default is
now to have all four corners rounded if radius is > 0 in paintBoxRel.
It also places hard coded integer numbers for CORNER_TOP and
CORNER_BOTTOM with the respective #defines.
This should make it much easier to port over code parts from tuxbox.org.
However, there are probably bugs and oversights in that I did not find
yet. Reports are welcome.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@45 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: b0b471210f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2009-12-13 (Sun, 13 Dec 2009)
2009-12-13 22:23:23 +00:00
Stefan Seyfried
3ddf21f92e neutrino: fix crashes on invalid fonts
with the latest fontrenderer fix, invalid fonts now can lead to
division by zero errors. fix the occurences I found.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@43 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 83d7657b9d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2009-12-13 (Sun, 13 Dec 2009)
2009-12-13 12:25:38 +00:00
mrcolor
cb8dd3394d our current experimental Neutrino branch
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@27 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: bc5bd4154e
Author: mrcolor <mrcolor@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2009-12-08 (Tue, 08 Dec 2009)
2009-12-08 11:05:11 +00:00