tuxbox-port:added menu subhead, also sed in new member addintroItems(), added in menu class

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@895 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
thilo
2010-11-27 23:16:44 +00:00
parent a508e4ab5f
commit 965fce099c
2 changed files with 44 additions and 15 deletions

View File

@@ -122,12 +122,13 @@ class CMenuSeparator : public CMenuItem
enum
{
EMPTY = 0,
LINE = 1,
STRING = 2,
ALIGN_CENTER = 4,
ALIGN_LEFT = 8,
ALIGN_RIGHT = 16
EMPTY = 0,
LINE = 1,
STRING = 2,
ALIGN_CENTER = 4,
ALIGN_LEFT = 8,
ALIGN_RIGHT = 16,
SUB_HEAD = 32
};
@@ -359,6 +360,7 @@ class CMenuWidget : public CMenuTarget
~CMenuWidget();
virtual void addItem(CMenuItem* menuItem, const bool defaultselected = false);
virtual void addIntroItems(neutrino_locale_t subhead_text = NONEXISTANT_LOCALE, neutrino_locale_t section_text = NONEXISTANT_LOCALE);
bool hasItem();
virtual void paint();
virtual void hide();