Backed out changeset 879f41335e4d
--HG-- branch : develop
This commit is contained in:
parent
a6572f29eb
commit
183ca37b1e
2 changed files with 0 additions and 41 deletions
|
@ -137,9 +137,6 @@ namespace NLGUI
|
||||||
const std::string getActionHandler(uint lineIndex) const;
|
const std::string getActionHandler(uint lineIndex) const;
|
||||||
const std::string getActionHandlerParam(uint lineIndex) const;
|
const std::string getActionHandlerParam(uint lineIndex) const;
|
||||||
|
|
||||||
void setActionHandler(uint lineIndex, const std::string &ah = "");
|
|
||||||
void setActionHandlerParam(uint lineIndex, const std::string ¶ms = "");
|
|
||||||
|
|
||||||
void openSubMenu (sint32 nb);
|
void openSubMenu (sint32 nb);
|
||||||
|
|
||||||
void hideSubMenus ();
|
void hideSubMenus ();
|
||||||
|
@ -333,8 +330,6 @@ namespace NLGUI
|
||||||
const std::string getActionHandler(uint lineIndex) const;
|
const std::string getActionHandler(uint lineIndex) const;
|
||||||
const std::string getActionHandlerParam(uint lineIndex) const;
|
const std::string getActionHandlerParam(uint lineIndex) const;
|
||||||
|
|
||||||
void setActionHandler(uint lineIndex, const std::string &ah = "");
|
|
||||||
void setActionHandlerParam(uint lineIndex, const std::string ¶ms = "");
|
|
||||||
|
|
||||||
void addLine (const ucstring &name, const std::string &ah = "", const std::string ¶ms = "",
|
void addLine (const ucstring &name, const std::string &ah = "", const std::string ¶ms = "",
|
||||||
const std::string &id = std::string(),
|
const std::string &id = std::string(),
|
||||||
|
|
|
@ -1663,28 +1663,6 @@ namespace NLGUI
|
||||||
return _Lines[lineIndex].AHParams;
|
return _Lines[lineIndex].AHParams;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
|
||||||
void CGroupSubMenu::setActionHandler(uint lineIndex, const std::string &ah)
|
|
||||||
{
|
|
||||||
if (lineIndex > _Lines.size())
|
|
||||||
{
|
|
||||||
nlwarning("Bad index");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_Lines[lineIndex].AHName = ah;
|
|
||||||
}
|
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
|
||||||
void CGroupSubMenu::setActionHandlerParam(uint lineIndex, const std::string ¶ms)
|
|
||||||
{
|
|
||||||
if (lineIndex > _Lines.size())
|
|
||||||
{
|
|
||||||
nlwarning("Bad index");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_Lines[lineIndex].AHParams = params;
|
|
||||||
}
|
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
void CGroupSubMenu::setSelectable(uint lineIndex, bool selectable)
|
void CGroupSubMenu::setSelectable(uint lineIndex, bool selectable)
|
||||||
{
|
{
|
||||||
|
@ -2618,20 +2596,6 @@ namespace NLGUI
|
||||||
return _RootMenu ? _RootMenu->getActionHandlerParam(lineIndex) : "";
|
return _RootMenu ? _RootMenu->getActionHandlerParam(lineIndex) : "";
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
|
||||||
void CGroupMenu::setActionHandler(uint lineIndex, const std::string &ah)
|
|
||||||
{
|
|
||||||
if (_RootMenu)
|
|
||||||
_RootMenu->setActionHandler(lineIndex, ah);
|
|
||||||
}
|
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
|
||||||
void CGroupMenu::setActionHandlerParam(uint lineIndex, const std::string ¶ms)
|
|
||||||
{
|
|
||||||
if (_RootMenu)
|
|
||||||
_RootMenu->setActionHandlerParam(lineIndex, params);
|
|
||||||
}
|
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
void CGroupMenu::setUserGroupRight(uint line, CInterfaceGroup *gr, bool ownerShip /*=true*/)
|
void CGroupMenu::setUserGroupRight(uint line, CInterfaceGroup *gr, bool ownerShip /*=true*/)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue