Commit Graph

90 Commits

Author SHA1 Message Date
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
5443cc274c 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.
2016-11-12 15:05:05 +01:00
Thilo Graf
dde298b1b7 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
2016-10-24 10:31:24 +02:00
svenhoefer
efa4cae487 - filebrowser: fix e9d8ab8a5e37ae44b3ca8185463faa7e8aa2a493; vol. 2 2016-10-20 00:27:36 +02:00
svenhoefer
a2b1da8bc9 Revert "- filebrowser: fix e9d8ab8a5e37ae44b3ca8185463faa7e8aa2a493"
This reverts commit 85cd0952f2.
2016-10-20 00:27:36 +02:00
svenhoefer
85cd0952f2 - filebrowser: fix e9d8ab8a5e 2016-10-19 17:48:12 +02:00
svenhoefer
e9d8ab8a5e - filebrowser: use getItemColors function 2016-10-19 10:06:36 +02:00
vanhofen
6629b64d6c - colors: add COL_SCROLLBAR_PASSIVE wrapper 2016-10-10 14:19:54 +02:00
vanhofen
7e7d4e5fc1 - colors: add COL_SCROLLBAR_ACTIVE wrapper 2016-10-10 14:19:54 +02:00
svenhoefer
54f2ac510f - fonts: add and use own font for all footers 2016-08-15 19:02:42 +02:00
svenhoefer
5610aa280e - filebrowser: remove my stupid comment 2016-08-15 13:02:49 +02:00
svenhoefer
cc5258e6d5 - colors: make footer background color configurable
TODO: footer text color and maybe footer font
2016-08-15 00:14:47 +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
Jacek Jendrzej
7db16952f6 (performance) Prefer prefix ++/-- operators for non-primitive types 2016-02-16 13:02:10 +01:00
svenhoefer
736343d35b - neutrino: press tv/radio key to return to plain tv/radio 2015-12-15 08:15:17 +01:00
Jacek Jendrzej
422c91d117 add pugixml 2015-04-28 10:12:23 +02:00
Stefan Seyfried
5ab6b53054 global.h: Use forward-declarations to reduce number of dependencies 2015-04-16 13:39:35 +02:00
Jacek Jendrzej
8227a01592 xmlinterface use const char instand char 2015-03-20 12:05:22 +01:00
Jacek Jendrzej
40fe7fae34 prevent possible segfault std::string if value NULL 2015-03-20 11:57:12 +01:00
Stefan Seyfried
4e1678c2a3 filebrowser, moviebrowser, pictureviewer: clarify error message 2015-02-09 13:47:32 +01:00
Jacek Jendrzej
8023a6317b neutrino use check empty() instead of length() or size() 2015-01-03 17:51:08 +01:00
TangoCash
dfc7a1d304 - 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
713820a1c0 gui/filebrowser.cpp: cleanup, simplify footer 2014-10-01 17:15:57 +04:00
[CST] Focus
2c3256bacf 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
2014-09-30 14:07:38 +04:00
[CST] Focus
f3e57a224d gui/filebrowser.cpp: change checkBD() to static 2014-09-27 16:21:43 +04:00
martii
81ca577fb8 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
2014-09-24 19:50:35 +04:00
[CST] Focus
d83d519c86 gui/movieplayer.cpp: add support for marked file list to play (file playback) and repeat modes,
original code (C) martii <m4rtii@gmx.de>
2014-09-17 20:13:49 +04:00
martii
f63c3da37c gui/filebrowser: fix page up/down
Conflicts:
	src/gui/filebrowser.cpp
2014-09-15 12:48:54 +04:00
martii
b4ca0290a3 gui/filebrowser: rework page-up/-down
Conflicts:
	src/gui/filebrowser.cpp
2014-09-15 12:46:38 +04:00
martii
805a1232cf gui/filebrowser: don't crash when fonts are changed (untested) 2014-09-15 12:26:43 +04:00
martii
e98336658d gui/filebrowser: don't show progressbar unless directories were added 2014-08-26 17:31:28 +04:00
svenhoefer
649d1b1f9d - change RenderString() default to UTF8 2014-06-11 23:07:13 +02:00
svenhoefer
8b91cda918 - change getRenderWidth() default to UTF8 2014-06-11 23:07:00 +02:00
svenhoefer
dc39bde14a - filebrowser: fix paint of SMSKey in footer and ...
... align both buttonlines in footer to same width
2014-05-31 17:54:29 +02:00
svenhoefer
f22a8ee1c6 - filebrowser: paintFoot() at every ChangeDir()
this fixes the empty footer when parentDir was empty
2014-05-31 15:23:46 +02:00
[CST] Focus
628de1f68c gui/filebrowser.cpp: return directory in player mode (Hide_records is true)
if BDMV/index.bdmv found in dir
2014-02-21 20:01:14 +04:00
Thilo Graf
5ea7ec48df 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
svenhoefer
53f5801d6f - adapt ShowMsg handling from martii's neutrino-mp 2014-01-22 12:37:21 +01:00
martii
f953cd07b3 gui/filebrowser: don't segv when removing files with small names 2014-01-04 14:25:54 +01:00
martii
8baab17dda gui/filebrowser: SMS input: fix RC_7, rewrite handler 2013-12-26 13:35:01 +01:00
[CST] Focus
8358e5921e gui/filebrowser.cpp: fix color for marked files;
do not add selected file on OK press, if there are marked files
2013-12-15 14:40:55 +04:00
[CST] Focus
d69f8d507a gui/filebrowser.cpp: add AAC file type 2013-12-15 14:40:54 +04:00
martii
bf694d32f1 drop #ifdef ENABLE_FLAC 2013-12-15 14:40:54 +04:00
svenhoefer
014dd3ac7b Revert "- add missing include of vfd header"
This reverts commit 3845feb0e4.
2013-11-13 23:39:55 +01:00
svenhoefer
3845feb0e4 - add missing include of vfd header 2013-11-13 10:40:18 +01: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
Jacek Jendrzej
6f07cbe3dd CUpdateSettings:: allow choose tmp(ramfs,TMPFS_MAGIC) as update dir 2013-10-08 10:10:10 +02:00
Michael Liebmann
c60c5c5ce3 Replace color indexes of the text colors by real color values for RenderString()
- If necessary, Correct data types of the color values
2013-07-21 22:00:58 +02:00
[CST] Focus
cc115a3615 gui/filebrowser.cpp: restore selection,
remove double paint on exec(),
remember selected to restore on dir enter with OK button
2013-07-18 14:51:59 +04:00
Stefan Seyfried
a33086568b neutrino: fix possible div-by-zero in scrollbar calculation 2013-05-30 11:19:39 +02:00