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

« back to all changes in this revision

Viewing changes to src/gui/hero-offer-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:
27
27
#include <gtkmm/radiobutton.h>
28
28
#include <gtkmm/entry.h>
29
29
 
30
 
#include "../heromap.h"
31
 
#include "../player.h"
32
 
#include "../hero.h"
 
30
#include "heromap.h"
 
31
#include "player.h"
 
32
#include "hero.h"
 
33
#include "heroproto.h"
33
34
 
 
35
#include "decorated.h"
34
36
struct SDL_Surface;
35
37
 
36
38
//! dialog for accepting/rejecting a hero
37
 
class HeroOfferDialog: public sigc::trackable
 
39
class HeroOfferDialog: public Decorated
38
40
{
39
41
 public:
40
 
    HeroOfferDialog(Player *player, Hero *hero, City *city, int gold);
 
42
    HeroOfferDialog(Player *player, HeroProto *hero, City *city, int gold);
41
43
 
42
44
    void set_parent_window(Gtk::Window &parent);
43
45
 
54
56
    Gtk::RadioButton *male_radiobutton;
55
57
    Gtk::Entry *name_entry;
56
58
    
57
 
    Hero *hero;
 
59
    HeroProto *hero;
58
60
    City *city;
59
61
 
60
62
    void on_male_toggled();