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

« back to all changes in this revision

Viewing changes to src/gui/army-info-tip.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:
25
25
#include <gtkmm/widget.h>
26
26
 
27
27
class Army;
 
28
class ArmyProto;
 
29
class ArmyProdBase;
28
30
 
29
31
// shows a tooltip like window with information about an army
30
32
class ArmyInfoTip: public sigc::trackable
31
33
{
32
34
 public:
33
 
     enum ArmyInfoTipType {ARMY_TYPE, ARMY_INSTANCE};
34
35
    // the tip is shown above target, simply delete the object to hide it again
35
 
    ArmyInfoTip(Gtk::Widget *target, const Army *army, ArmyInfoTipType type = ARMY_TYPE);
 
36
    ArmyInfoTip(Gtk::Widget *target, const Army *army);
 
37
    ArmyInfoTip(Gtk::Widget *target, const ArmyProdBase *army);
 
38
    ArmyInfoTip(Gtk::Widget *target, const ArmyProto *army);
36
39
 
37
40
 private:
38
41
    std::auto_ptr<Gtk::Window> window;