Commit Graph

174 Commits

Author SHA1 Message Date
peter1138 f49491ddcd (svn r18414) -Fix: In the depot window, 'free' wagons were not drawn resize.step_height apart 2009-12-06 11:46:57 +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 bfd5cc456a (svn r18231) -Fix: Enable filling of matrix widget in the depot gui. 2009-11-22 18:29:52 +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
alberth bf93372ca2 (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 2009-11-22 13:22:53 +00:00
rubidium d913282e7a (svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays 2009-11-22 11:20:12 +00:00
rubidium e9b6e73333 (svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances 2009-11-22 11:10:17 +00:00
rubidium b4e9cb3ca3 (svn r18163) -Codechange: make the depot GUI RTL aware 2009-11-18 10:45:49 +00:00
rubidium 3180d16baf (svn r18157) -Codechange: some minor tweaks of the boundaries of strings etc. in the depot window 2009-11-17 23:32:18 +00:00
rubidium d747a643cc (svn r18154) -Codechange: let the depot window better scale with bigger fonts 2009-11-17 22:58:41 +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 9e84075db5 (svn r18145) -Codechange: pass the 'proper' left and right values to DrawVehicleInDepot 2009-11-17 16:03:51 +00:00
rubidium a808623b24 (svn r18133) -Codechange: pass the 'maximum' left/right positions to Draw*Image 2009-11-16 22:25:01 +00:00
rubidium ef11ce84ee (svn r18128) -Codechange: rename GetVehicleListHeight to GetVehicleHeight as it has nothing to do with the height of the vehicle lists. 2009-11-16 20:58:38 +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 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
alberth fe717d033e (svn r17833) -Codechange: Depot gui should use relative widget coordinates for clicking. 2009-10-20 21:41:44 +00:00
frosch 21fdc65ce4 (svn r17830) -Fix [FS#3276]: Some windows already need their window_number when setting up smallest size (e.g. for DParams). So assign it earlier in Window::InitializeData instead of dealing with each window separately. 2009-10-20 21:25:25 +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
alberth 9677e51261 (svn r17760) -Revert (r17648): _local_company is less constant than you'd expect. 2009-10-11 08:23:30 +00:00
alberth 8a21979b42 (svn r17653) -Fix (r17649): Widgets at the bottom button bar of the depot window should adapt to differences in height. 2009-09-27 08:49:42 +00:00
alberth 4130ae0dfa (svn r17652) -Codechange: Merging/renaming the depot block-size functions. 2009-09-27 08:28:49 +00:00
alberth dd108f2399 (svn r17650) -Codechange: Checking a condition once is enough. 2009-09-26 19:26:08 +00:00
alberth f7120de1f7 (svn r17649) -Codechange: Depot gui uses pure nested widgets. 2009-09-26 19:21:20 +00:00
alberth 16dcc64540 (svn r17648) -Codechange: Move type initialization and widget disabling to the constructor. 2009-09-26 18:47:41 +00:00
alberth 9c3722f31c (svn r17647) -Codechange: Moving widget array access to outside the function. 2009-09-26 18:15:35 +00:00
alberth a47138ad34 (svn r17643) -Codechange: Code style for variables in depot gui. 2009-09-26 16:06:54 +00:00
alberth 53188cd528 (svn r17626) -Codechange: Use Dimension structs instead of array of length 2 for storing horizontal/vertical information. 2009-09-23 20:48:30 +00:00
alberth 39c14f9044 (svn r17624) -Codechange: Swap entries in _resize_cap[][] so the code does what the docs say. 2009-09-23 19:57:56 +00:00
smatz 114d48e492 (svn r17596) -Codechange: constify some tables 2009-09-20 23:11:01 +00:00
rubidium ca91a97826 (svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary 2009-09-19 15:17:47 +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
rubidium 1f21a5cb41 (svn r17446) -Codechange: rename BUILD with BUY for strings that are about building (in the future buying) vehicles. 2009-09-07 08:59:43 +00:00
rubidium 78c9827000 (svn r17369) -Codechange: make the depot, group and industry GUIs use the scrollbar wrappers 2009-09-02 07:36:39 +00:00
rubidium 1c94d98bb9 (svn r17368) -Codechange: remove pointless passing of 'this' as parameter 2009-09-02 07:22:09 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium 7fb95e2c2b (svn r17228) -Codechange: some coding style fixes 2009-08-20 10:23:39 +00:00
alberth 75f8a9db0a (svn r17194) -Fix (r17175): Depot sell buttons did not raise again. 2009-08-15 20:59:49 +00:00
frosch 2ad4bf74a1 (svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text overlaps less with vehicle images. 2009-08-15 11:47:11 +00:00
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
rubidium b04ba7dcea (svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the setting of the error message to a single place 2009-07-22 23:39:35 +00:00
rubidium 9980af2898 (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 2962d8f0fc (svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message 2009-07-22 20:17:07 +00:00
rubidium c17c31b5b6 (svn r16919) -Codechange: unify some more StringID w.r.t. their naming 2009-07-22 19:12:20 +00:00
frosch d5a4c89365 (svn r16894) -Codechange: Add [Specialised]Vehicle::Last(). 2009-07-20 19:58:33 +00:00
frosch 7b92d9efe4 (svn r16884) -Codechange: Add Train::GetFirstEnginePart() and use it. 2009-07-19 19:17:41 +00:00