alberth
5f358b0668
(svn r18600) -Fix (r18599): Re-enable ctl+click to jump to competitor station.
2009-12-22 11:15:08 +00:00
alberth
5b8807670f
(svn r18599) -Fix: Displaying selected orders of a competitor vehicle was broken, disable the selection.
2009-12-22 10:28:58 +00:00
alberth
0e9dac92d2
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
2009-12-21 16:24:29 +00:00
alberth
f20e477a02
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
2009-12-20 20:08:39 +00:00
frosch
992bc6c345
(svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff.
2009-12-02 17:37:02 +00:00
frosch
318ce40496
(svn r18326) -Fix (r18325): Missing signedness conversion.
2009-11-28 16:10:22 +00:00
frosch
74c43d6b3c
(svn r18325) -Codechange: Use GetSpriteSize() instead of hard {SETX}. Also make the 'current order'-arrow in order and timetable GUI RTL aware.
2009-11-28 15:12:24 +00:00
rubidium
45eb0be570
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
2009-11-28 14:42:35 +00:00
rubidium
50359b2d08
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
2009-11-24 18:05:55 +00:00
rubidium
f8b79068e6
(svn r18274) -Codechange: remove the unused WDF flags
2009-11-24 17:28:29 +00:00
alberth
5bee09c924
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
2009-11-22 18:28:14 +00:00
alberth
18b33fde83
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
2009-11-22 18:26:01 +00:00
rubidium
f123ff906f
(svn r18188) -Codechange: s/NWID_BUTTON_DRPDOWN/NWID_BUTTON_DROPDOWN/g
2009-11-19 18:01:24 +00:00
rubidium
8e11cd3a42
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
2009-11-17 19:16:48 +00:00
rubidium
a13fd6ddce
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
2009-11-16 20:34:57 +00:00
rubidium
b01251092e
(svn r18086) -Codechange: remove 'widget' from WindowDesc
2009-11-15 10:26:01 +00:00
rubidium
bd9d74d355
(svn r18072) -Codechange: remove the need for {SKIP} (and a string) from the order window
2009-11-14 12:55:48 +00:00
frosch
3cb949a17d
(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h
2009-11-05 19:46:17 +00:00
rubidium
c1365b3cc1
(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
2009-10-24 14:53:55 +00:00
rubidium
b72898c8a3
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
2009-10-17 14:29:10 +00:00
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00
alberth
0fd79cc4cc
(svn r17578) -Fix (r17572): Some compilers don't like default function template arguments.
2009-09-19 14:41:43 +00:00
alberth
44dc34bb38
(svn r17577) -Codechange: Order window uses pure nested widgets.
2009-09-19 13:57:02 +00:00
alberth
4ff755ac90
(svn r17573) -Codechange: NWID_SELECTION containers have a selected widget-plane, and optionally an index in the nested_array.
2009-09-19 11:55:44 +00:00
alberth
09371d5561
(svn r17557) -Codechange: Pass left and right edge to DrawOrderString().
2009-09-16 19:00:53 +00:00
frosch
0e36260337
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
2009-09-13 19:15:59 +00:00
alberth
6e113b0e0b
(svn r17507) -Codechange: Make some methods of the OrdersWindow non-static.
2009-09-12 10:25:23 +00:00
rubidium
91024042ea
(svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' with GetDepotIndex(tile)
2009-09-10 14:37:55 +00:00
rubidium
0fc5899e6a
(svn r17401) -Fix [FS#3171] (r17384): order deletion didn't (correctly) update the order window
2009-09-03 10:58:26 +00:00
rubidium
bedc973191
(svn r17384) -Fix [FS#2859]: remove all order window state changes out of the drawing routine and call them immediately when changes happen instead of on the next OnPaint. This prevents pressing buttons when they should've been already disabled.
2009-09-02 17:54:40 +00:00
rubidium
62c7948a4f
(svn r17375) -Codechange: remove last direct usage of scrollbar variables
2009-09-02 08:58:20 +00:00
rubidium
d5e749d8b1
(svn r17371) -Codechange: make the newgrf, news and order GUIs use the scrollbar wrappers
2009-09-02 08:18:54 +00:00
rubidium
d4a98be94a
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
2009-08-23 19:03:09 +00:00
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
d61be2637e
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
2009-08-05 17:59:21 +00:00
rubidium
4874578e79
(svn r16930) -Codechange: more StringID name unification and grouping
2009-07-23 19:31:50 +00:00
rubidium
01eabc5f4c
(svn r16921) -Codechange: make it more clear what strings are related to road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
2009-07-22 22:44:56 +00:00
rubidium
6435dc89fe
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
2009-07-22 10:18:19 +00:00
rubidium
100cb17fa8
(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
...
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-22 08:59:57 +00:00
rubidium
4ca5ce8904
(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations
2009-07-17 20:51:24 +00:00
smatz
8718babe90
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
2009-07-16 19:00:13 +00:00
rubidium
026f3c8feb
(svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT too
2009-07-10 18:30:02 +00:00
smatz
a9602401f0
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
2009-06-24 19:26:41 +00:00
smatz
f6a4d61cca
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
2009-06-24 17:39:54 +00:00
rubidium
6cfc38b97c
(svn r16397) -Codechange: move GetVehicleOrder/GetLastVehicleOrder into Vehicle
2009-05-23 12:27:42 +00:00
smatz
50624d5c0f
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
2009-05-22 15:13:50 +00:00
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
2009-05-16 23:34:14 +00:00
frosch
ac1b753f9a
(svn r16199) -Codechange: Pass OrderNonStopFlags also to MakeGoToDepotOrder().
...
-Fix: 'Go non-stop to nearest depot'-orders did not work wrt. the 'non-stop' part.
-Fix: Adding 'Go to nearest depot'-orders did not respect the default setting for 'non-stop'.
2009-05-02 00:10:24 +00:00
alberth
9417d8cd18
(svn r16197) -Codechange: Structure buttons of train order window based on related functions rather than position.
2009-05-01 19:37:59 +00:00
alberth
71c281ee25
(svn r16196) -Codechange: Added nested widgets for non-train and other-companies order windows.
2009-05-01 19:33:58 +00:00