The International Simutrans Forum

 

Author Topic: r2403- Display dialogue: scroolspeed and traffic density are reverse  (Read 1539 times)

0 Members and 1 Guest are viewing this topic.

Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
gui/colors.cc:81-92
Quote
   // scrollspeed
   scrollspeed.set_pos( koord(RIGHT_WIDTH-10-40,SCROLL_SPEED) );
   scrollspeed.set_groesse( koord( 40, BUTTON_HEIGHT-1 ) );
   scrollspeed.set_value( welt->get_einstellungen()->get_verkehr_level() );
   scrollspeed.set_limits( 1, 9 );
   scrollspeed.add_listener(this);
   add_komponente(&scrollspeed);

   // traffic density
   traffic_density.set_pos( koord(RIGHT_WIDTH-10-50,DENS_TRAFFIC) );
   traffic_density.set_groesse( koord( 50, BUTTON_HEIGHT-1 ) );
   traffic_density.set_value( abs(umgebung_t::scroll_multi) );

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10669
  • Languages: De,EN,JP
Re: r2403- Display dialogue: scroolspeed and traffic density are reverse
« Reply #1 on: April 04, 2009, 08:06:10 PM »
THank you, need to remove also the remaining 6 buttons and add toggling of the vehicle messages ...