Commit Graph

232 Commits (b698045b82b6e5f270742308b7c384844a905792)

Author SHA1 Message Date
rubidium 4dfdd4e9f9 (svn r21144) -Change [FS#4206]: filter stations by cargo they have a rating for instead of having cargo waiting 14 years ago
planetmaker 310de59b0f (svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small 14 years ago
rubidium 6991825f59 (svn r20785) -Fix: crash when closing the station view of oilrigs (similar to r20774) 14 years ago
rubidium 1664ac1eb5 (svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbers 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
frosch e8ec3de621 (svn r20579) -Change (r1579): Allow removing of buoys if they are only used by own vehicles. 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 c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
alberth a50578c3ad (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 14 years ago
alberth c2a871d10b (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). 14 years ago
rubidium f5e479e5bc (svn r19997) -Codechange: Unify order of ship and plane icon in stationlist and stationsigns with the rest of the game (frosch) 14 years ago
smatz 409c4d3342 (svn r19969) -Change: swap 'list of ships' and 'list of aircraft' buttons in the Station View window 14 years ago
smatz dbe69c2350 (svn r19955) -Fix: close list of vehicles with given buoy/oil rig in orders when switching company 14 years ago
rubidium fa7c8be0b8 (svn r19790) -Change: use the typed FOR_EACH_SET_BIT for CargoIDs (adf88) 14 years ago
rubidium ee02599bbf (svn r19788) -Codechange: make FOR_EACH_SET_BIT not change the value of the passed bit variable, i.e. allow expressions as parameter 14 years ago
frosch a4413f4cf6 (svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding. 14 years ago
smatz 64aadd8e33 (svn r19581) -Codechange: auto-raise 'All facilities/cargos' buttons in the Station list window 14 years ago
terkhen 1fbde179d9 (svn r19573) -Fix (r19541): Special cargos did not appear at the refit list. 14 years ago
terkhen 3a7689ae8a (svn r19540) -Feature: Sort the ratings of a station by cargo class / name. 14 years ago
alberth beb46d1a7f (svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost. 15 years ago
alberth ead01e1dd3 (svn r19129) -Fix [FS#3623] (r19122): Don't draw cargo ratings/acceptance when the window is shaded. 15 years ago
alberth 0052f2667f (svn r19123) -Fix [FS#3617]: Resize station cargo widget when needed to display all accepted cargo types. 15 years ago
alberth e095cfb016 (svn r19122) -Codechange: Move cargo drawing to StationViewWindow::OnPaint(). 15 years ago
alberth 02c2b55a20 (svn r19121) -Codechange: Introduce a variable for the height of the ratings and accepted cargo widgets. 15 years ago
rubidium 39ea18dca6 (svn r19111) -Fix (r19070): the station view didn't show acceptance anymore 15 years ago
rubidium 1c468db7d5 (svn r19087) -Codechange: some typos in StringIDs 15 years ago
rubidium f8259205bd (svn r19070) -Fix [FS#3607]: the station coverage text was not RTL language aware (sbr) 15 years ago
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
rubidium f618acfb7d (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 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 988d09b8c1 (svn r18731) -Codechange: move the DrawStationCoverage stuff from misc_gui.cpp to station_gui.cpp 15 years ago
rubidium e48416ad4e (svn r18718) -Codechange: make a wrapper macro for looping TileAreas 15 years ago
rubidium ee473d6700 (svn r18713) -Fix [FS#3476]: the join station window didn't account for scrolling, so if you did scroll the station was not joined with the selected station 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 be29ee40a1 (svn r18539) -Codechange: Re-use cargolist drawing in StationViewWindow::DrawAcceptedCargo() 15 years ago
alberth 466a0841a9 (svn r18410) -Codechange: Move GetCargoSprite() to CargoSpec::GetCargoIcon(). 15 years ago
alberth 94f1f51943 (svn r18333) -Fix (r18127): Station view window did not resize properly when toggling between ratings and acceptance view. 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
rubidium 8b67964172 (svn r18260) -Codechange: make the company station view big font aware 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
rubidium e079cacf28 (svn r18225) -Codechange: make the select station window behave better with big fonts 15 years ago