~ubuntu-branches/ubuntu/vivid/manaplus/vivid

« back to all changes in this revision

Viewing changes to src/gui/popups/popupmenu.h

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2015-02-05 10:52:57 UTC
  • mfrom: (1.1.43)
  • Revision ID: package-import@ubuntu.com-20150205105257-q53e3m1s2wwawu8a
Tags: 1.5.1.31-1
* New upstream release.
* Fix some wildcard-matches-nothing-in-dep5-copyright warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#ifndef GUI_POPUPS_POPUPMENU_H
24
24
#define GUI_POPUPS_POPUPMENU_H
25
25
 
 
26
#include "enums/inventorytype.h"
 
27
 
26
28
#include "gui/widgets/linkhandler.h"
27
29
#include "gui/widgets/popup.h"
28
30
 
86
88
         * Shows the related popup menu when right click on the inventory
87
89
         * at the specified mouse coordinates.
88
90
         */
89
 
        void showPopup(Window *const parent, const int x, const int y,
90
 
                       Item *const item, const bool isInventory);
 
91
        void showPopup(Window *const parent,
 
92
                       const int x, const int y,
 
93
                       Item *const item,
 
94
                       const InventoryType::Type type);
91
95
 
92
96
        void showPopup(const int x, const int y, Button *const button);
93
97