Commit Graph

175 Commits (20debea202d87ce595b2ebc353d22204e9820efc)

Author SHA1 Message Date
rubidium 90b7f0f3cb (svn r18575) -Fix [FS#3393]: unit numbers weren't always fully shown in the depot 15 years ago
peter1138 f49491ddcd (svn r18414) -Fix: In the depot window, 'free' wagons were not drawn resize.step_height apart 15 years ago
rubidium 293dfd7c3e (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium 14300d309c (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 15 years ago
rubidium 69b6d9309a (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
alberth bfd5cc456a (svn r18231) -Fix: Enable filling of matrix widget in the depot gui. 15 years ago
alberth 450e40b997 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 15 years ago
alberth 2b6f792513 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 15 years ago
alberth bf93372ca2 (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 15 years ago
rubidium d913282e7a (svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays 15 years ago
rubidium e9b6e73333 (svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances 15 years ago
rubidium b4e9cb3ca3 (svn r18163) -Codechange: make the depot GUI RTL aware 15 years ago
rubidium 3180d16baf (svn r18157) -Codechange: some minor tweaks of the boundaries of strings etc. in the depot window 15 years ago
rubidium d747a643cc (svn r18154) -Codechange: let the depot window better scale with bigger fonts 15 years ago
rubidium 5f2ddfbc5a (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
rubidium 9e84075db5 (svn r18145) -Codechange: pass the 'proper' left and right values to DrawVehicleInDepot 15 years ago
rubidium a808623b24 (svn r18133) -Codechange: pass the 'maximum' left/right positions to Draw*Image 15 years ago
rubidium ef11ce84ee (svn r18128) -Codechange: rename GetVehicleListHeight to GetVehicleHeight as it has nothing to do with the height of the vehicle lists. 15 years ago
rubidium 626de6b128 (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 15 years ago
rubidium 3d2d7af88f (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
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. 15 years ago
alberth fe717d033e (svn r17833) -Codechange: Depot gui should use relative widget coordinates for clicking. 15 years ago
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. 15 years ago
rubidium d1d35b95b6 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 15 years ago
alberth 9677e51261 (svn r17760) -Revert (r17648): _local_company is less constant than you'd expect. 15 years ago
alberth 8a21979b42 (svn r17653) -Fix (r17649): Widgets at the bottom button bar of the depot window should adapt to differences in height. 15 years ago
alberth 4130ae0dfa (svn r17652) -Codechange: Merging/renaming the depot block-size functions. 15 years ago
alberth dd108f2399 (svn r17650) -Codechange: Checking a condition once is enough. 15 years ago
alberth f7120de1f7 (svn r17649) -Codechange: Depot gui uses pure nested widgets. 15 years ago
alberth 16dcc64540 (svn r17648) -Codechange: Move type initialization and widget disabling to the constructor. 15 years ago
alberth 9c3722f31c (svn r17647) -Codechange: Moving widget array access to outside the function. 15 years ago
alberth a47138ad34 (svn r17643) -Codechange: Code style for variables in depot gui. 15 years ago
alberth 53188cd528 (svn r17626) -Codechange: Use Dimension structs instead of array of length 2 for storing horizontal/vertical information. 15 years ago
alberth 39c14f9044 (svn r17624) -Codechange: Swap entries in _resize_cap[][] so the code does what the docs say. 15 years ago
smatz 114d48e492 (svn r17596) -Codechange: constify some tables 15 years ago
rubidium ca91a97826 (svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary 15 years ago
frosch ebd916be3d (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
rubidium 1f21a5cb41 (svn r17446) -Codechange: rename BUILD with BUY for strings that are about building (in the future buying) vehicles. 15 years ago
rubidium 78c9827000 (svn r17369) -Codechange: make the depot, group and industry GUIs use the scrollbar wrappers 15 years ago
rubidium 1c94d98bb9 (svn r17368) -Codechange: remove pointless passing of 'this' as parameter 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 7fb95e2c2b (svn r17228) -Codechange: some coding style fixes 15 years ago
alberth 75f8a9db0a (svn r17194) -Fix (r17175): Depot sell buttons did not raise again. 15 years ago
frosch 2ad4bf74a1 (svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text overlaps less with vehicle images. 15 years ago
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium b04ba7dcea (svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the setting of the error message to a single place 15 years ago
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. 15 years ago
rubidium 2962d8f0fc (svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message 15 years ago
rubidium c17c31b5b6 (svn r16919) -Codechange: unify some more StringID w.r.t. their naming 15 years ago
frosch d5a4c89365 (svn r16894) -Codechange: Add [Specialised]Vehicle::Last(). 15 years ago