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

« back to all changes in this revision

Viewing changes to src/gui/widgets/emotepage.h

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-09-17 10:35:51 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20130917103551-az7p3nz9jgxwqjfn
Tags: 1.3.9.15-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
#include <guichan/mouselistener.hpp>
27
27
#include <guichan/widget.hpp>
 
28
#include <guichan/widgetlistener.hpp>
28
29
 
29
30
#include "localconsts.h"
30
31
 
31
32
class EmotePage final : public gcn::Widget,
32
33
                        public Widget2,
33
 
                        public gcn::MouseListener
 
34
                        public gcn::MouseListener,
 
35
                        public gcn::WidgetListener
34
36
{
35
37
    public:
36
38
        explicit EmotePage(const Widget2 *const widget);
45
47
 
46
48
        int getIndexFromGrid(const int x, const int y) const;
47
49
 
 
50
        void widgetResized(const gcn::Event &event A_UNUSED);
 
51
 
 
52
        void widgetMoved(const gcn::Event &event A_UNUSED);
 
53
 
48
54
        void resetAction();
49
55
 
50
56
        int getSelectedIndex()
52
58
 
53
59
    private:
54
60
        ImageSet *mEmotes;
 
61
        ImageCollection *mVertexes;
55
62
        int mSelectedIndex;
 
63
        bool mRedraw;
56
64
};
57
65
 
58
66
#endif  // GUI_WIDGETS_EMOTEPAGE_H