Commit Graph

258 Commits (0ebd5af86f2ab9dcd556e930feddd526bb93264d)

Author SHA1 Message Date
rubidium 5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 14 years ago
rubidium 07987cc6a9 (svn r21151) -Fix [FS#4221]: Sort arrow wasn't accounted for in two windows causing it to be overwritten by the "sort by" string 14 years ago
planetmaker 4ca53b908c (svn r21105) -Feature-ish: Allow to sort purchase lists for trains and road vehicles by tractive effort 14 years ago
planetmaker dad0c0020b (svn r21104) -Doc: Add doxygen commands to a few functions 14 years ago
planetmaker 99d169c7b8 (svn r21103) -Change: Use the same sorting of the sorting criteria for both trains and road vehicles 14 years ago
alberth 063931d435 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
alberth a51d34c048 (svn r20499) -Doc: Spelling fixes, and one doxygen comment addition. 14 years ago
frosch 2d5ef5e5a8 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 14 years ago
frosch 4817d5dcd6 (svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
14 years ago
frosch 341f41e347 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
rubidium 22053279a5 (svn r20242) -Change: remove the need for "{WHITE}" control codes in some of the railtype NewGRF strings
-Fix: make it possible to properly assess the length of the rail toolbar caption
14 years ago
alberth a50578c3ad (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 14 years ago
rubidium f09a74a996 (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 14 years ago
yexo 4e5b8a1614 (svn r19669) -Fix: don't display an error message when double clicking on a vehicle in the 'available vehicles'-window 14 years ago
terkhen 1fbde179d9 (svn r19573) -Fix (r19541): Special cargos did not appear at the refit list. 14 years ago
terkhen 3196dede8c (svn r19539) -Codechange: Use a macro to loop through the list of sorted cargo specifications. 14 years ago
terkhen 5ecd90d3d1 (svn r19536) -Feature: Sort cargos at the filter by cargo dropdown in the build vehicle window. 14 years ago
terkhen 55bc2c58ea (svn r19480) -Fix: Stop reducing the size of the vehicle list after selecting a vehicle with a long description. 14 years ago
terkhen baedea5dd4 (svn r19475) -Cleanup: Remove an unneeded for when drawing detail panels. 14 years ago
yexo 841e385368 (svn r19451) -Cleanup: remove some unused code 14 years ago
terkhen e6a1b2d92e (svn r19348) -Add: Allow to sort road vehicles by power and by power vs running cost at the engine preview window. 15 years ago
terkhen f27186e617 (svn r19347) -Add: Vehicle GUI now shows power, weight and tractive effort for road vehicles. 15 years ago
rubidium 1c468db7d5 (svn r19087) -Codechange: some typos in StringIDs 15 years ago
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
terkhen 52f973508b (svn r18963) -Codechange: Give AccelerationModel a generical name. 15 years ago
rubidium 146d7c9e4a (svn r18818) -Fix [FS#3526] (r18766): some train acceleration type conversions were missed 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 0c7fd04bed (svn r18797) -Fix (r18781): building wagons didn't add them to a train 15 years ago
rubidium 26b203e3ff (svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
15 years ago
rubidium 8bdeb2cab6 (svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical 15 years ago
alberth 1f634ba721 (svn r18612) -Fix [FS#3407]: Buy vehicle window did not properly disable panel drawing while shaded. 15 years ago
alberth e967f04123 (svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes. 15 years ago
alberth 0e9dac92d2 (svn r18588) -Feature [FS#2943]: Add shading and unshading of windows. 15 years ago
alberth f20e477a02 (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 15 years ago
alberth d0474e31a7 (svn r18464) -Fix (r17863): Caption of the build vehicle window did not have company colours. 15 years ago
rubidium 32b86b23b5 (svn r18447) -Change: make some more windows (e.g. graphs, company view) stickyable 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 15 years ago
rubidium 50359b2d08 (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 15 years ago
rubidium f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
alberth 5bee09c924 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 15 years ago
alberth 18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 15 years ago
alberth 8139a8d96f (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 15 years ago
rubidium f106bbbe5c (svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays 15 years ago
rubidium 8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
rubidium b7ef6b3ca8 (svn r18128) -Codechange: rename GetVehicleListHeight to GetVehicleHeight as it has nothing to do with the height of the vehicle lists. 15 years ago
rubidium 5802dd5f40 (svn r18122) -Fix: the build vehicle GUI would draw a (few) pixels over the border 15 years ago