Commit Graph

6 Commits

Author SHA1 Message Date
bjarni bec42d93d0 (svn r6525) -Codechange r6513: altered how to control how to move widgets around in the window. Hopefully it's a bit easier to understand now 2006-09-27 13:01:56 +00:00
bjarni 2cab6db18c (svn r6522) -Feature: [depot window] the buttons are now "scaled" resized
This means that "Build vehicle", "Clone vehicle" and "Location" will always fill the space from the left window border to the resize button and they are equal in size
   The sell button will also use all the space between the start/stop buttons and the resize button and for trains, the sell button is split into two buttons in equal sizes
   This will prevent the issue where a small window is resized into a large one and the buttons remains pretty small
-Codechange: [depot window] The enum with widget names is now changed into automatic numbering so all lines will not have to be changed each time a new widget is added
2006-09-27 11:34:27 +00:00
bjarni 6f9cd66d91 (svn r6520) -Fix r6515: "start all" and "stop all" buttons in depot windows are now disabled if you do not own the depot 2006-09-27 08:45:22 +00:00
bjarni d88e1a218e (svn r6516) -Fix r6513: killed warnings about two variables being used uninitialized
This is not even correct since it's set in if (a) and later used in another if (a), but GCC didn't detect that
2006-09-27 00:25:27 +00:00
bjarni 1d554da2fc (svn r6515) -Feature: added "start all" and "stop all" buttons to the depot windows 2006-09-26 19:20:35 +00:00
bjarni f7769e885e (svn r6513) -Codechange: unified the code to draw depot windows
This change is intended to make it easier to make depot behaviour consistent
   and faster to code when adding more features in the future
   The user interface should hopefully not be affected by this
2006-09-26 16:47:51 +00:00