Preparing the menu classes for Lua Part #1

- Remove CNonLocalizedMenuSeparator
- Add overloaded function CMenuSeparator for non local
 THX Martii


Origin commit data
------------------
Commit: 2c9c9debcc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-16 (Thu, 16 Jan 2014)

Origin message was:
------------------
Preparing the menu classes for Lua Part #1

- Remove CNonLocalizedMenuSeparator
- Add overloaded function CMenuSeparator for non local
 THX Martii
This commit is contained in:
Michael Liebmann
2014-01-16 21:15:55 +01:00
parent 34767acee2
commit 37e4b0bda8
4 changed files with 117 additions and 77 deletions

View File

@@ -491,7 +491,7 @@ int CPersonalizeGui::ShowMenuOptions(const int& widget)
CMenuSeparator * pm_subhead = new CMenuSeparator(CMenuSeparator::ALIGN_LEFT | CMenuSeparator::SUB_HEAD | CMenuSeparator::STRING);
string s_sh = g_Locale->getText(LOCALE_PERSONALIZE_ACCESS);
s_sh += ": " + mn_name;
pm_subhead->setString(s_sh);
pm_subhead->setName(s_sh);
pm->addItem(pm_subhead);
pm->addIntroItems();