~ubuntu-branches/ubuntu/trusty/manaplus/trusty-proposed

« back to all changes in this revision

Viewing changes to src/gui/viewport.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-07-11 10:09:41 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20130711100941-f0rwuvcwgl8ulqo8
Tags: 1.3.7.7.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
813
813
    mPopupMenu->showWindowsPopup(mMouseX, mMouseY);
814
814
}
815
815
 
 
816
void Viewport::showNpcDialogPopup(const int npcId)
 
817
{
 
818
    mPopupMenu->showNpcDialogPopup(npcId, mMouseX, mMouseY);
 
819
}
 
820
 
816
821
void Viewport::closePopupMenu()
817
822
{
818
823
    if (mPopupMenu)
819
824
        mPopupMenu->handleLink("cancel", nullptr);
820
825
}
821
826
 
822
 
void Viewport::optionChanged(const std::string &name A_UNUSED)
 
827
void Viewport::optionChanged(const std::string &name)
823
828
{
824
829
    if (name == "ScrollLaziness")
825
830
        mScrollLaziness = config.getIntValue("ScrollLaziness");