Commit Graph

93 Commits

Author SHA1 Message Date
vanhofen
d1b58fb4f0 filebrowser: use NEUTRINO_ICON_PICTURE to mark pictures
Origin commit data
------------------
Commit: afeda70fd5
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-05-30 (Tue, 30 May 2017)

Origin message was:
------------------
- filebrowser: use NEUTRINO_ICON_PICTURE to mark pictures
2017-05-30 01:24:21 +02:00
vanhofen
58674dbd0e filebrowser: small design reworks ...
* use OFFSET defines
* use CComponentsScrollbar
* rename some variables

Unfortunately we can't use CComponentsFooter, because
CComponentsFooter can't handle button_label_ext yet


Origin commit data
------------------
Commit: 7a3b4a0f05
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-05-30 (Tue, 30 May 2017)

Origin message was:
------------------
- filebrowser: small design reworks ...

* use OFFSET defines
* use CComponentsScrollbar
* rename some variables

Unfortunately we can't use CComponentsFooter, because
CComponentsFooter can't handle button_label_ext yet
2017-05-30 01:24:21 +02:00
vanhofen
ce494cbd38 scrollbars: avoid usage of COL_SCROLLBAR_PASSIVE_PLUS_0 ...
... outside of CComponentsScrollBar(). Since the color-changes in
9c8c262 the non-CC scrollbars looks weird.


Origin commit data
------------------
Commit: fe5f84c1d0
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-04-24 (Mon, 24 Apr 2017)

Origin message was:
------------------
- scrollbars: avoid usage of COL_SCROLLBAR_PASSIVE_PLUS_0 ...

... outside of CComponentsScrollBar(). Since the color-changes in
9c8c262 the non-CC scrollbars looks weird.
2017-04-24 12:29:52 +02: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
d1b9a4524a CFileBrowser: use mbrYes as default selection
TODO: 	Re-evaluate the logic of current used messages with risky actions
	and adjust the buttons accordingly.
Reason: <yes> is now as default assigned to green button (traffic light principle), and we use stricktly
	the order of colors from remote control (r,g,g,b), but in some cases
	it is useful to assign the <Yes> button to red for risky actions.


Origin commit data
------------------
Commit: 5443cc274c
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-11-12 (Sat, 12 Nov 2016)
2016-11-12 15:05:05 +01: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
31903753df filebrowser: fix 8b2c0a9a0d86204e9d1e2d9f8aea5950d650113e; vol. 2
Origin commit data
------------------
Commit: efa4cae487
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-20 (Thu, 20 Oct 2016)

Origin message was:
------------------
- filebrowser: fix 8b2c0a9a0d86204e9d1e2d9f8aea5950d650113e; vol. 2
2016-10-20 00:27:36 +02:00
vanhofen
2b467e78a7 Revert "- filebrowser: fix 8b2c0a9a0d86204e9d1e2d9f8aea5950d650113e"
This reverts commit 6a504fe19f.


Origin commit data
------------------
Commit: a2b1da8bc9
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-20 (Thu, 20 Oct 2016)
2016-10-20 00:27:36 +02:00
vanhofen
6a504fe19f filebrowser: fix 8b2c0a9a0d
Origin commit data
------------------
Commit: 85cd0952f2
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-19 (Wed, 19 Oct 2016)

Origin message was:
------------------
- filebrowser: fix 8b2c0a9a0d
2016-10-19 17:48:12 +02:00
vanhofen
8b2c0a9a0d filebrowser: use getItemColors function
Origin commit data
------------------
Commit: e9d8ab8a5e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-19 (Wed, 19 Oct 2016)

Origin message was:
------------------
- filebrowser: use getItemColors function
2016-10-19 10:06:36 +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
e49ee18fb3 fonts: add and use own font for all footers
Origin commit data
------------------
Commit: 54f2ac510f
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-15 (Mon, 15 Aug 2016)

Origin message was:
------------------
- fonts: add and use own font for all footers
2016-08-15 19:02:42 +02:00
vanhofen
9171915e49 filebrowser: remove my stupid comment
Origin commit data
------------------
Commit: 5610aa280e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-15 (Mon, 15 Aug 2016)

Origin message was:
------------------
- filebrowser: remove my stupid comment
2016-08-15 13:02:49 +02:00
vanhofen
70abfb3339 colors: make footer background color configurable
TODO: footer text color and maybe footer font


Origin commit data
------------------
Commit: cc5258e6d5
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-15 (Mon, 15 Aug 2016)

Origin message was:
------------------
- colors: make footer background color configurable

TODO: footer text color and maybe footer font
2016-08-15 00:14:47 +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
Jacek Jendrzej
192e734f6b (performance) Prefer prefix ++/-- operators for non-primitive types
Origin commit data
------------------
Commit: 7db16952f6
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-02-16 (Tue, 16 Feb 2016)
2016-02-16 13:02:10 +01:00
vanhofen
309a8b3af0 neutrino: press tv/radio key to return to plain tv/radio
Origin commit data
------------------
Commit: 736343d35b
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
- neutrino: press tv/radio key to return to plain tv/radio
2015-12-15 08:15:17 +01:00
Jacek Jendrzej
787fc5ebda add pugixml
Origin commit data
------------------
Commit: 422c91d117
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-04-27 (Mon, 27 Apr 2015)
2015-04-28 10:12:23 +02:00
Stefan Seyfried
d9354e847f global.h: Use forward-declarations to reduce number of dependencies
Origin commit data
------------------
Commit: 5ab6b53054
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-04-16 (Thu, 16 Apr 2015)
2015-04-16 13:39:35 +02:00
Jacek Jendrzej
3f53a4b636 xmlinterface use const char instand char
Origin commit data
------------------
Commit: 8227a01592
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)
2015-03-20 12:05:22 +01:00
Jacek Jendrzej
c5bd495ac6 prevent possible segfault std::string if value NULL
Origin commit data
------------------
Commit: 40fe7fae34
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)
2015-03-20 11:57:12 +01:00
Stefan Seyfried
e76fbcfe5c filebrowser, moviebrowser, pictureviewer: clarify error message
Origin commit data
------------------
Commit: 4e1678c2a3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-06 (Fri, 06 Feb 2015)
2015-02-09 13:47:32 +01:00
Jacek Jendrzej
d339fff93d neutrino use check empty() instead of length() or size()
Origin commit data
------------------
Commit: 8023a6317b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-01-03 (Sat, 03 Jan 2015)
2015-01-03 17:51:08 +01:00
TangoCash
b2884d8028 movieplayer: add playlist_manager
NOTE: This is a merge of several patches by TangoCash
 for neutrino-mp aligned to neutrino-hd.
 We use 'play' key to open playlist_manager.


Origin commit data
------------------
Commit: dfc7a1d304
Author: TangoCash <eric@loxat.de>
Date: 2014-11-26 (Wed, 26 Nov 2014)

Origin message was:
------------------
- movieplayer: add playlist_manager

NOTE: This is a merge of several patches by TangoCash
   for neutrino-mp aligned to neutrino-hd.
   We use 'play' key to open playlist_manager.
2014-11-26 10:23:21 +01:00
[CST] Focus
f14b176175 gui/filebrowser.cpp: cleanup, simplify footer
Origin commit data
------------------
Commit: 713820a1c0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-10-01 (Wed, 01 Oct 2014)
2014-10-01 17:15:57 +04:00
[CST] Focus
66414bb5cf gui/filebrowser.cpp: change OK button behavior:
always return marked list, if there are marked files;
always change dir, if there are no marked files;
to recursive add dir, use mark


Origin commit data
------------------
Commit: 2c3256bacf
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-09-30 (Tue, 30 Sep 2014)
2014-09-30 14:07:38 +04:00
[CST] Focus
2f7945d5d8 gui/filebrowser.cpp: change checkBD() to static
Origin commit data
------------------
Commit: f3e57a224d
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-09-27 (Sat, 27 Sep 2014)
2014-09-27 16:21:43 +04:00
martii
eb85bf0ad3 overload access(2)
Conflicts:
	src/driver/pictureviewer/pictureviewer.cpp
	src/gui/components/cc_item_picture.cpp
	src/gui/movieplayer.cpp
	src/gui/osdlang_setup.cpp
	src/neutrino.cpp
	src/nhttpd/tuxboxapi/coolstream/neutrinoapi.cpp
	src/nhttpd/yhttpd.cpp
	src/system/helpers.h
	src/system/setting_helpers.cpp


Origin commit data
------------------
Commit: 81ca577fb8
Author: martii <m4rtii@gmx.de>
Date: 2013-06-30 (Sun, 30 Jun 2013)
2014-09-24 19:50:35 +04:00
[CST] Focus
3292ab7a9f gui/movieplayer.cpp: add support for marked file list to play (file playback) and repeat modes,
original code (C) martii <m4rtii@gmx.de>


Origin commit data
------------------
Commit: d83d519c86
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-09-17 (Wed, 17 Sep 2014)
2014-09-17 20:13:49 +04:00
martii
e04eae71ec gui/filebrowser: fix page up/down
Conflicts:
	src/gui/filebrowser.cpp


Origin commit data
------------------
Commit: f63c3da37c
Author: martii <m4rtii@gmx.de>
Date: 2014-04-09 (Wed, 09 Apr 2014)
2014-09-15 12:48:54 +04:00
martii
52525ec08c gui/filebrowser: rework page-up/-down
Conflicts:
	src/gui/filebrowser.cpp


Origin commit data
------------------
Commit: b4ca0290a3
Author: martii <m4rtii@gmx.de>
Date: 2014-03-22 (Sat, 22 Mar 2014)
2014-09-15 12:46:38 +04:00
martii
4a4a871772 gui/filebrowser: don't crash when fonts are changed (untested)
Origin commit data
------------------
Commit: 805a1232cf
Author: martii <m4rtii@gmx.de>
Date: 2013-11-26 (Tue, 26 Nov 2013)
2014-09-15 12:26:43 +04:00
martii
66dd571a4b gui/filebrowser: don't show progressbar unless directories were added
Origin commit data
------------------
Commit: e98336658d
Author: martii <m4rtii@gmx.de>
Date: 2014-08-02 (Sat, 02 Aug 2014)
2014-08-26 17:31:28 +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
f1d1a39cf8 filebrowser: fix paint of SMSKey in footer and ...
... align both buttonlines in footer to same width


Origin commit data
------------------
Commit: dc39bde14a
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-05-31 (Sat, 31 May 2014)

Origin message was:
------------------
- filebrowser: fix paint of SMSKey in footer and ...

 ... align both buttonlines in footer to same width
2014-05-31 17:54:29 +02:00
vanhofen
3550e1e5c7 filebrowser: paintFoot() at every ChangeDir()
this fixes the empty footer when parentDir was empty


Origin commit data
------------------
Commit: f22a8ee1c6
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-05-31 (Sat, 31 May 2014)

Origin message was:
------------------
- filebrowser: paintFoot() at every ChangeDir()

 this fixes the empty footer when parentDir was empty
2014-05-31 15:23:46 +02:00
[CST] Focus
70daafc96d gui/filebrowser.cpp: return directory in player mode (Hide_records is true)
if BDMV/index.bdmv found in dir


Origin commit data
------------------
Commit: 628de1f68c
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-02-21 (Fri, 21 Feb 2014)
2014-02-21 20:01:14 +04:00
Thilo Graf
5ad73f09aa CComponentsHeader: rework constructors, add CComponentsHeaderLocalized
Member initVarHeader() now used with parameters, so it's possible
to remove multiple code in constructors, but some class must be
renamed to CComponentsHeaderLocalized.


Origin commit data
------------------
Commit: 5ea7ec48df
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-18 (Sat, 18 Jan 2014)

Origin message was:
------------------
CComponentsHeader: rework constructors, add CComponentsHeaderLocalized

Member initVarHeader() now used with parameters, so it's possible
to remove multiple code in constructors, but some class must be
renamed to CComponentsHeaderLocalized.
2014-01-24 23:09:56 +01:00
vanhofen
8d5aa84e20 adapt ShowMsg handling from martii's neutrino-mp
Origin commit data
------------------
Commit: 53f5801d6f
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-01-22 (Wed, 22 Jan 2014)

Origin message was:
------------------
- adapt ShowMsg handling from martii's neutrino-mp
2014-01-22 12:37:21 +01:00
martii
7f3899745c gui/filebrowser: don't segv when removing files with small names
Origin commit data
------------------
Commit: f953cd07b3
Author: martii <m4rtii@gmx.de>
Date: 2014-01-04 (Sat, 04 Jan 2014)
2014-01-04 14:25:54 +01:00
martii
7f621a78c1 gui/filebrowser: SMS input: fix RC_7, rewrite handler
Origin commit data
------------------
Commit: 8baab17dda
Author: martii <m4rtii@gmx.de>
Date: 2013-12-26 (Thu, 26 Dec 2013)
2013-12-26 13:35:01 +01:00
[CST] Focus
4433370b8d gui/filebrowser.cpp: fix color for marked files;
do not add selected file on OK press, if there are marked files


Origin commit data
------------------
Commit: 8358e5921e
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-12-11 (Wed, 11 Dec 2013)
2013-12-15 14:40:55 +04:00
[CST] Focus
9162626498 gui/filebrowser.cpp: add AAC file type
Origin commit data
------------------
Commit: d69f8d507a
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-12-10 (Tue, 10 Dec 2013)
2013-12-15 14:40:54 +04:00
martii
0492912145 drop #ifdef ENABLE_FLAC
Origin commit data
------------------
Commit: bf694d32f1
Author: martii <m4rtii@gmx.de>
Date: 2013-10-31 (Thu, 31 Oct 2013)
2013-12-15 14:40:54 +04:00
vanhofen
82168342a2 Revert "- add missing include of vfd header"
This reverts commit 81d56f75fc.


Origin commit data
------------------
Commit: 014dd3ac7b
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-11-13 (Wed, 13 Nov 2013)
2013-11-13 23:39:55 +01:00
vanhofen
81d56f75fc add missing include of vfd header
Origin commit data
------------------
Commit: 3845feb0e4
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-11-13 (Wed, 13 Nov 2013)

Origin message was:
------------------
- add missing include of vfd header
2013-11-13 10:40:18 +01: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
Jacek Jendrzej
7588017b3d CUpdateSettings:: allow choose tmp(ramfs,TMPFS_MAGIC) as update dir
Origin commit data
------------------
Commit: 6f07cbe3dd
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-10-08 (Tue, 08 Oct 2013)

Origin message was:
------------------
CUpdateSettings:: allow choose tmp(ramfs,TMPFS_MAGIC) as update dir
2013-10-08 10:10:10 +02:00