Commit Graph

218 Commits

Author SHA1 Message Date
frosch 10339c60c0 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 2010-08-12 06:44:45 +00:00
alberth c32e35c30d (svn r20290) -Codechange: Add missing 'break' statements. 2010-08-01 20:58:35 +00:00
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
yexo 1ec328f725 (svn r20201) -Feature [FS#3926]: add several new hotkeys to the global hotkey list and to the order windows. None of them has a default keybinding. 2010-07-21 14:28:06 +00:00
yexo da57796d51 (svn r20058) -Feature: customizable hotkeys for the vehicle orders window 2010-07-03 13:29:19 +00:00
alberth f053a82594 (svn r19959) -Fix (r19889): Disable drag destination highlighting when aborting a drag. 2010-06-11 15:37:00 +00:00
alberth 58ddfd0fbb (svn r19889) -Add [FS#3705]: Add drag destination highlighting to order gui (sbr). 2010-05-23 15:06:44 +00:00
rubidium 5051ef80c6 (svn r19796) -Codechange: introduce and use a {DEPOT} string command 2010-05-12 18:19:36 +00:00
rubidium fb364e4426 (svn r19584) -Fix [FS#3744]: Crash when pressing 'h' (non-stop) in the order window of a ship or aircraft 2010-04-08 15:29:20 +00:00
rubidium 657940a633 (svn r19571) -Fix [FS#3739]: The timetable button was not automatically raised (sbr) 2010-04-07 12:05:26 +00:00
terkhen 8b041e8027 (svn r19387) -Fix [FS#3671]: Close all orders windows when switching companies. 2010-03-11 20:57:18 +00:00
frosch 3222ace3e1 (svn r19215) -Codechange: Add Order::GetLocation() to deduplicate code. 2010-02-22 20:36:20 +00:00
frosch 9d3be49bd3 (svn r19174) -Fix: Buoys are no Stations, only BaseStations. 2010-02-20 21:00:19 +00:00
alberth c1b40ee5e0 (svn r19118) -Fix [FS#3593]: Some buttons in the order gui were raised too soon. 2010-02-13 14:00:45 +00:00
terkhen ff80df980a (svn r19117) -Fix [FS#3593]: The Non-stop dropdown wasn't enabled for depot and waypoint orders. 2010-02-13 10:33:05 +00:00
rubidium 06e80d0a1f (svn r18980) -Codechange: preceeding -> preceding (spelling) 2010-02-01 12:43:28 +00:00
frosch 88019e64e1 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
alberth 7dbc77a1e7 (svn r18605) -Codechange: Coding style fixes, prevent useless calls to UpdateWidgetSize(). 2009-12-22 19:40:23 +00:00
alberth 96a8a0f34d (svn r18601) -Codechange: Use resize step of the order list panel widget for order line calculations. 2009-12-22 11:22:07 +00:00
alberth 4733b696a1 (svn r18600) -Fix (r18599): Re-enable ctl+click to jump to competitor station. 2009-12-22 11:15:08 +00:00
alberth d47c6e4135 (svn r18599) -Fix: Displaying selected orders of a competitor vehicle was broken, disable the selection. 2009-12-22 10:28:58 +00:00
alberth 91872aca48 (svn r18588) -Feature [FS#2943]: Add shading and unshading of windows. 2009-12-21 16:24:29 +00:00
alberth 5a083f183e (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 2009-12-20 20:08:39 +00:00
frosch 59f9163e37 (svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff. 2009-12-02 17:37:02 +00:00
frosch a66f383d1b (svn r18326) -Fix (r18325): Missing signedness conversion. 2009-11-28 16:10:22 +00:00
frosch 49aca1edc0 (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 293dfd7c3e (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 2009-11-28 14:42:35 +00:00
rubidium 14300d309c (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 69b6d9309a (svn r18274) -Codechange: remove the unused WDF flags 2009-11-24 17:28:29 +00:00
alberth 450e40b997 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 2009-11-22 18:28:14 +00:00
alberth 2b6f792513 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 2009-11-22 18:26:01 +00:00
rubidium 30f7483f9c (svn r18188) -Codechange: s/NWID_BUTTON_DRPDOWN/NWID_BUTTON_DROPDOWN/g 2009-11-19 18:01:24 +00:00
rubidium 5f2ddfbc5a (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 626de6b128 (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 2009-11-16 20:34:57 +00:00
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
rubidium 9d74a2910e (svn r18072) -Codechange: remove the need for {SKIP} (and a string) from the order window 2009-11-14 12:55:48 +00:00
frosch 79627b4f89 (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 ca0521f89f (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 d1d35b95b6 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 2009-10-17 14:29:10 +00:00
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
alberth 89df436f84 (svn r17578) -Fix (r17572): Some compilers don't like default function template arguments. 2009-09-19 14:41:43 +00:00
alberth 1497cf7e01 (svn r17577) -Codechange: Order window uses pure nested widgets. 2009-09-19 13:57:02 +00:00
alberth ceab116065 (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 24e9ee8ab4 (svn r17557) -Codechange: Pass left and right edge to DrawOrderString(). 2009-09-16 19:00:53 +00:00
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 2009-09-13 19:15:59 +00:00
alberth 461556e2c0 (svn r17507) -Codechange: Make some methods of the OrdersWindow non-static. 2009-09-12 10:25:23 +00:00
rubidium 860a538adc (svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' with GetDepotIndex(tile) 2009-09-10 14:37:55 +00:00