~ubuntu-branches/ubuntu/raring/simutrans/raring-proposed

« back to all changes in this revision

Viewing changes to gui/station_building_select.cc

  • Committer: Package Import Robot
  • Author(s): Ansgar Burchardt
  • Date: 2011-11-03 19:59:02 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20111103195902-uopgwf488mfctb75
Tags: 111.0-1
* New upstream release.
* debian/rules: Update get-orig-source target for new upstream release.
* Use xz compression for source and binary packages.
* Use override_* targets to simplify debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
 
34
34
station_building_select_t::station_building_select_t(karte_t *welt, const haus_besch_t *besch) :
35
 
        gui_frame_t("Choose direction"),
36
 
        txt("")
 
35
        gui_frame_t( translator::translate("Choose direction") ),
 
36
        txt()
37
37
{
38
38
        this->welt = welt;
39
39
        this->besch = besch;
86
86
 
87
87
        // text
88
88
        sprintf(buf, "X=%i,Y=%i", besch->get_b(0), besch->get_h(0) );
89
 
        txt.set_text(buf);
90
 
        txt.set_pos( koord(10,0) );
 
89
        txt.set_text_pointer(buf);
 
90
        txt.set_pos( koord(10, 0) );
91
91
        add_komponente( &txt );
92
92
 
93
93
        // button