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

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi, Andrei Karas, Patrick Matthäi
  • Date: 2013-05-18 21:06:29 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130518210629-3trtowluum0tekob
Tags: 1.3.5.12-1
[ Andrei Karas ]
* Add new files to copyright file.

[ Patrick Matthäi ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  The ManaPlus Client
 
3
 *  Copyright (C) 2013  The ManaPlus Developers
 
4
 *
 
5
 *  This file is part of The ManaPlus Client.
 
6
 *
 
7
 *  This program is free software; you can redistribute it and/or modify
 
8
 *  it under the terms of the GNU General Public License as published by
 
9
 *  the Free Software Foundation; either version 2 of the License, or
 
10
 *  any later version.
 
11
 *
 
12
 *  This program is distributed in the hope that it will be useful,
 
13
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
 *  GNU General Public License for more details.
 
16
 *
 
17
 *  You should have received a copy of the GNU General Public License
 
18
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
19
 */
 
20
 
 
21
#ifndef WIDGETS_CHARACTERVIEWNORMAL_H
 
22
#define WIDGETS_CHARACTERVIEWNORMAL_H
 
23
 
 
24
#include "gui/widgets/characterviewbase.h"
 
25
 
 
26
#include "debug.h"
 
27
 
 
28
class CharacterViewNormal final : public CharacterViewBase
 
29
{
 
30
    public:
 
31
        CharacterViewNormal(CharSelectDialog *const widget,
 
32
                            std::vector<CharacterDisplay*> *const entries,
 
33
                            const int padding);
 
34
 
 
35
        A_DELETE_COPY(CharacterViewNormal)
 
36
 
 
37
        ~CharacterViewNormal();
 
38
 
 
39
        void show(const int i);
 
40
 
 
41
        void resize();
 
42
 
 
43
        void action(const gcn::ActionEvent &event A_UNUSED) override;
 
44
 
 
45
    private:
 
46
        CharacterDisplay *mSelectedEntry;
 
47
        std::vector<CharacterDisplay*> *mCharacterEntries;
 
48
};
 
49
 
 
50
#endif