~ubuntu-branches/ubuntu/maverick/btanks/maverick

« back to all changes in this revision

Viewing changes to engine/menu/profiles_menu.h

  • Committer: Bazaar Package Importer
  • Author(s): Ansgar Burchardt
  • Date: 2010-01-17 00:02:57 UTC
  • mfrom: (4.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100117000257-iw6esnvsz1rvp6kb
Tags: 0.9.8083-2
* Fix build failure when building only arch-specific package.
* debian/control: Add DM-Upload-Allowed: yes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef BTANKS_PROFILES_MENU_H__
 
2
#define BTANKS_PROFILES_MENU_H__
 
3
 
 
4
#include "container.h"
 
5
#include <vector>
 
6
#include <string>
 
7
 
 
8
class ScrollList;
 
9
class Button;
 
10
class NewProfileDialog;
 
11
 
 
12
class ProfilesMenu : public Container {
 
13
public:
 
14
        ProfilesMenu(const int w, const int h);
 
15
        void init();
 
16
        virtual void tick(const float dt);
 
17
        void save();
 
18
 
 
19
private:
 
20
        virtual bool onKey(const SDL_keysym sym);
 
21
        std::vector<std::string> _ids;
 
22
        ScrollList * _list;
 
23
        NewProfileDialog * _new_profile;
 
24
        Button * _ok, * _add, * _remove;
 
25
};
 
26
 
 
27
#endif