~ubuntu-branches/ubuntu/natty/balder2d/natty

« back to all changes in this revision

Viewing changes to include/menu/gamesetup.h

  • Committer: Bazaar Package Importer
  • Author(s): Bjørn Hansen
  • Date: 2008-06-15 17:15:38 UTC
  • mfrom: (1.1.1 upstream) (3.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080615171538-e407e07wbtdy0qs8
Tags: 1.0-1
* new upstream release
* update for guichan 8.1 (Closes: #482584)
* use physicsfs to make data/config/map/aiscript loading more flexible
* new skins for menus
* fix typo in control file long description (Closes: #458401)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
namespace Balder
27
27
{
28
 
class SampleMapWidget;
 
28
class SampleMap;
29
29
class MapListModel;
 
30
class SkinnedButton;
 
31
class SkinnedCheckBox;
30
32
 
31
33
    class GameSetupMenu:public SubMenu
32
34
    {
33
35
    public:
34
36
        GameSetupMenu(gcn::Container* top, SubMenu* parent);
35
37
        virtual ~GameSetupMenu();
36
 
        void action(const std::string& action);
 
38
        void action(const gcn::ActionEvent& action);
37
39
    private:
38
 
        gcn::Button* backButton;
39
 
        SampleMapWidget* sampleMap;
 
40
        SkinnedButton* backButton;
 
41
        SampleMap* sampleMap;
40
42
        gcn::Label* mapnameLabel;
41
43
        MapListModel* maplistModel;
42
44
        gcn::DropDown* mapDropDown;
43
45
        gcn::ScrollArea* mapScrollArea;
44
46
        gcn::ListBox* mapListBox;
45
 
        gcn::CheckBox* scoreLimitSelector;
46
 
        gcn::CheckBox* timeLimitSelector;
47
 
        gcn::CheckBox* lifeLimitSelector;
 
47
        SkinnedCheckBox* scoreLimitSelector;
 
48
        SkinnedCheckBox* timeLimitSelector;
 
49
        SkinnedCheckBox* lifeLimitSelector;
48
50
        NumberField* scoreLimitValue;
49
51
        NumberField* timeLimitValue;
50
52
        NumberField* lifeLimitValue;