Commit Graph

130 Commits

Author SHA1 Message Date
M. Liebmann
2c9c9debcc Preparing the menu classes for Lua Part #1
- Remove CNonLocalizedMenuSeparator
- Add overloaded function CMenuSeparator for non local
  THX Martii
2014-01-19 20:57:37 +01:00
M. Liebmann
9af1cdb318 CMenuOptionChooser: Fix multiple menu items, when using sort option 2014-01-04 15:25:28 +01:00
M. Liebmann
8832b803bd CMenuOptionChooser: Add alphanumeric sort option
- default is false
- Activate by OptionsSort = true
2014-01-04 13:08:48 +01:00
Christian Schuett
7d04113307 Neutrino menu forwarder: add possibility to show value from jump target
based on idea by martii <m4rtii@gmx.de> in Neutrino-MP Git
2013-12-30 23:25:26 +01:00
martii
cbc9299df8 convert most char[...] configuration values to std::string
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-12-25 12:08:14 +01:00
martii
a0f2960501 gui/scan_setup: show unit for motor speed 2013-12-22 16:36:13 +01:00
martii
86221de3d9 gui/widget/menu: CMenuOptionNumberChooser: add option to show units 2013-12-21 22:04:24 +01:00
Thilo Graf
e2d920660e CMenuForwarder: declare some members as const
Technically some member functions can be const
2013-12-03 14:55:39 +01:00
[CST] Focus
ac773ea896 gui/widget/menue.cpp: add CMenuDForwarderNonLocalized 2013-11-29 17:27:10 +04: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
[CST] Focus
5d95016b37 colorchooser: display selected color in menue, based on patch (c) martii <m4rtii@gmx.de> 2013-07-18 14:51:59 +04:00
martii
ca519aa074 widget/menue: implement CMenuOptionNumberChooser::getWidth() 2013-07-18 14:51:58 +04:00
martii
3d187e56da CMenuWidget: add action keys
Conflicts:
	src/gui/widget/menue.h
2013-07-18 14:51:58 +04:00
[CST] Focus
8b5bbf8911 gui/widget/menue.cpp: add CMenuItem isStatic param, (c) martii <m4rtii@gmx.de> 2013-07-18 14:51:58 +04:00
Michael Liebmann
5f4d598b1e Revert "CMenuForwarder: Use std::string (not pointer to std::string or char) for option"
This reverts commit b5d1322617.
2013-07-04 07:45:51 +02:00
Michael Liebmann
b5d1322617 CMenuForwarder: Use std::string (not pointer to std::string or char) for option 2013-07-04 02:05:33 +02:00
Stefan Seyfried
ed039d6ba9 menu: make page_start[] int, avoids lots of casts 2013-06-20 12:11:45 +02:00
Thilo Graf
d39eaa22fc CComponents: split some header files
CComponentsInfoBox
CComponentsShapeCircle/Square
CComponentsDetailLine
CComponentsPIP
CComponentsText/CComponentsLabel
CComponentsPicture
2013-05-27 09:30:50 +02:00
[CST] Focus
8bb70d1ab3 Merge branch 'pu/cc' into next-cc
Conflicts:
	acinclude.m4
	data/locale/deutsch.locale
	data/locale/english.locale
	src/driver/volume.cpp
	src/eitd/SIlanguage.cpp
	src/gui/bedit/bouqueteditor_channels.cpp
	src/gui/bedit/bouqueteditor_chanselect.cpp
	src/gui/bouquetlist.cpp
	src/gui/channellist.cpp
	src/gui/eventlist.cpp
	src/gui/osd_setup.cpp
	src/gui/scan.cpp
	src/gui/scan.h
	src/gui/test_menu.cpp
	src/gui/timeosd.cpp
	src/gui/widget/progressbar.cpp
	src/gui/widget/progressbar.h
	src/neutrino.cpp
	src/nhttpd/yconfig.h
2013-04-17 13:32:12 +04:00
[CST] Focus
f21b291fcd gui/widget/menue.cpp: fix CMenuForwarderNonLocalized::getWidth 2013-03-29 17:12:23 +04:00
Thilo Graf
53ff9cdddf CMenuWidget: implement CComponentsInfoBox functionality for text and icon 2013-03-06 11:27:53 +01:00
Thilo Graf
0a961a4cf6 CComponents: move class into its own source directory
The components could over time become quite large,
so it makes more sense, coming features to split into
multiple files and to do it in a separate directory.
2013-02-19 11:27:46 +01:00
[CST] Focus
04f1e9c3f2 gui/widget/menue.cpp: disable 'back' hint, if no other hints present 2012-07-24 15:13:18 +04:00
micha-bbg
fd1ec29d83 * Use CComponentsInfoBox for menu hint 2012-07-17 20:52:55 +01:00
Thilo Graf
53d4ef64aa *menu: hide detail line objects without paintBackgroundBoxRel() 2012-07-16 22:28:02 +02:00
[CST] Focus
eb5b8328ec gui/widget/menue.cpp: fade-in, if menu was hidden, for testing 2012-07-16 19:11:17 +04:00
[CST] Focus
e02258276e gui/widget/menue.cpp: fix menu_left_exit option;
remove can_arrow member - isMenueOptionChooser() is enough
2012-07-16 14:33:22 +04:00
Thilo Graf
f836f3c3f3 menu: add overloaded version for CMenuOptionStringChooser 2012-07-08 22:01:12 +02:00
Thilo Graf
ddab0fd734 update license text in some files
TODO: many other files still need corrections
2012-07-08 22:01:11 +02:00
Thilo Graf
0a147da535 menu: move class CNonLocalizedMenuSeparator from update.cpp into gui/menu.h 2012-07-08 22:01:11 +02:00
[CST] Focus
c5f60b5b47 gui/widget/menue.cpp: add menu hints paint 2012-07-08 21:33:59 +04:00
satbaby
e14fc80ed5 -pedantic fixes 2012-05-08 18:59:11 +02:00
[CST] Focus
b314d9329f gui/widget/menue.cpp: simplify CMenuOptionLanguageChooser - we have one option for every instance 2012-05-07 14:55:29 +04:00
[CST] Focus
a2d7fc39d0 gui/widget/menue.cpp: add CMenuDForwarder - forwarder which delete jumpTarget 2012-05-05 12:19:00 +04:00
focus
384ec65631 gui/widget/menue.cpp: add param delete_items to CMenuWidget::resetWidget, use resetWidget in destructor
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2161 e54a6e83-5905-42d5-8d5c-058d10e6a962
2012-03-26 14:46:42 +00:00
thilo
0a4f444503 *neutrino menu: make setSelected()also usable if widget index is in use
setSelected() had no effect with widget index

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2099 e54a6e83-5905-42d5-8d5c-058d10e6a962
2012-02-15 18:21:38 +00:00
thilo
f8b626250a *neutrino pin check: add possibility to manipulate head title and hint text
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2032 e54a6e83-5905-42d5-8d5c-058d10e6a962
2012-01-01 21:43:12 +00:00
thilo
aaa988db5f *neutrino: port personalize feature from tuxbox
This is a partial port of original neutrino personalize feature
and includes also moving of user menu settings from key setup into this setup,
but it's not completley yet in some details and so I think it's a lot to do.
I hope it works fine and the many user requests are justifying this feature.

TODO:
- doc into wiki
- adapt for yWeb
- some reworks for user menu settings and plugin management
- add timer and rework tv radio mode switch item(s)
and many more...

please report: http://www.dbox2world.net/board293-coolstream-hd1/board314-coolstream-development/9565-diskussion-neutrino-goes-neutrinohd-welche-features-funktionen-aus-dem-tuxbox-cvs-%C3%BCbernehmen/

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2010 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-12-28 00:19:15 +00:00
focus
1242dd2d00 At least keychooser display was broken with overloaded paint, revert and use double calcSize for now
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2007 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-12-27 16:22:36 +00:00
thilo
27af698792 *neutrino menu classes: add member and numerations to manage menu position
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1954 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-12-06 19:55:38 +00:00
focus
66843bf552 Remove unused last arg from paint
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1937 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-12-05 16:41:46 +00:00
focus
400d74abb2 Remove wanted_height
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1936 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-12-05 14:51:20 +00:00
focus
e85c48501f Experimental: save/restore screen for channel list context menu
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1935 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-12-05 14:16:28 +00:00
focus
33e94fbcf0 Add code to save/restore background, for using menu over another osd
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1934 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-12-05 13:09:36 +00:00
focus
bdd958ba74 Change new class member name to more unique, this prevents possible conflicts - with strict compile at least one was in bouqueteditor_channels.cpp
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1910 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-11-26 09:31:53 +00:00
thilo
8b5857909b *neutrino menu: remove parameter 'mwidth' from widget constructor
Hope we don't need it anymore...

*neutrino menu: remove select functions

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1909 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-11-25 23:48:30 +00:00
thilo
eff98c661e *neutrino menu: fix 'memory ' of selected items in submenues
Add small helper class to manage missing values
e.g. needed for deallocated widget objects.
This class we can also use for other things in future!

In this context I added a vector for 'selected' values needed for
deeper and deallocated submenues.
The identification of widgets working now with a new widget parameter named 'w_index'.
setSelected() and getSelected() functions are still working, but are not needed, if we use an index

-add define for default widget index
-add new header file for enums
-adapted many menu classes for this parameter

Hope it' works fine. If you find any menu without  a 'memory', please add an index.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1908 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-11-25 23:48:18 +00:00
thilo
798565ce31 *neutrino menu class: fix member remove Options()
member was without effect, 'clear()' was missed, it should working now

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1496 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-05-28 21:42:36 +00:00
thilo
59259b3d43 *neutrino menu classes: show NEUTRINO_ICON_SCRAMBLED if a PIN code request is necessary
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1439 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-05-06 18:16:17 +00:00
thilo
2ca8b1bce0 *neutrino menu classes: new members added
insertItem(), removeItem(), getItemsCount(), getItem()

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1437 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-05-06 18:16:06 +00:00