~ubuntu-branches/ubuntu/saucy/lordsawar/saucy

« back to all changes in this revision

Viewing changes to src/editor/new-map-dialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese, Barry deFreese
  • Date: 2008-12-20 13:52:12 UTC
  • mfrom: (1.1.6 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081220135212-noeb2w3y98ebo7o9
Tags: 0.1.4-1
[ Barry deFreese ]
* New upstream release.
* Move 0.0.8-2.1 changelog entry to correct point in changelog.
* Make lordsawar-data suggest lordsawar.
* Update my e-mail address.
* Add build-depends on intltool, uuid-dev, and libboost-dev.
* Don't install locales since there are no translations currently.
* Add simple man page for new lordsawar-pbm binary.
* Drop gcc4.3 patches as they have been fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#include <gtkmm/widget.h>
30
30
#include <gtkmm/scale.h>
31
31
 
32
 
#include "../Tile.h"
33
 
#include "../game-parameters.h"
 
32
#include "Tile.h"
 
33
#include "game-parameters.h"
34
34
 
35
35
//! Scenario editor.  Edit parameters to make a new map.
36
36
class NewMapDialog
66
66
    Gtk::ComboBox *map_size_combobox;
67
67
    Gtk::ComboBoxText *fill_style_combobox;
68
68
    Gtk::Widget *random_map_container;
 
69
    Gtk::ComboBoxText *tile_size_combobox;
69
70
    Gtk::ComboBoxText *tile_theme_combobox;
70
71
    Gtk::ComboBoxText *city_theme_combobox;
71
72
    Gtk::ComboBoxText *army_theme_combobox;
80
81
    Gtk::Scale *ruins_scale;
81
82
    Gtk::Scale *temples_scale;
82
83
    Gtk::Scale *signposts_scale;
 
84
    Gtk::Button *accept_button;
83
85
 
84
86
    enum { MAP_SIZE_NORMAL = 0, MAP_SIZE_SMALL, MAP_SIZE_TINY };
85
87
 
88
90
 
89
91
    void add_fill_style(Tile::Type tile_type);
90
92
 
 
93
    Uint32 get_active_tile_size();
 
94
    void on_tile_size_changed();
91
95
    std::vector<int> fill_style;
92
96
};
93
97