Commit Graph

215 Commits (8d9ab22eb67b1421dad4ab151b1f407f98790c08)

Author SHA1 Message Date
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
rubidium ef4e936acb (svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances 15 years ago
rubidium 3f01fc43f3 (svn r18170) -Codechange: make the station view RTL aware 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
peter1138 bec3e0424c (svn r18137) -Codechange: Make station rating graphics in station list scale to the small font size. 15 years ago
peter1138 0d5cc869f3 (svn r18127) -Codechange: Adjust station accept/rating list height by number of lines instead of pixels. 15 years ago
rubidium a13fd6ddce (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 15 years ago
rubidium cae55e213f (svn r18116) -Change: make the station list support RTL when drawing the ratings 15 years ago
rubidium b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
alberth 71eaf2b320 (svn r18021) -Codechange: Have a widget for every cargo-type to eliminate searching. 15 years ago
alberth b4a514a1dc (svn r18020) -Codechange: Make the company station list window nested. 15 years ago
alberth aa5f72f614 (svn r18014) -Codechange: Station view window uses pure nested widgets. 15 years ago
alberth c08a37c114 (svn r18010) -Codechange: Split StationViewWindow::OnPaint in four functions. 15 years ago
rubidium c1365b3cc1 (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
rubidium 51936e1903 (svn r17850) -Codechange: remove most usage of delta on OnResize 15 years ago
rubidium fe575367f9 (svn r17813) -Codechange: unify the CargoPacket related coding style 15 years ago
rubidium 756f813040 (svn r17808) -Codechange: remove write 'access' from all of CargoPacket's variables 15 years ago
rubidium e553983e39 (svn r17800) -Codechange: first steps into making CargoList a template 15 years ago