summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
AgeCommit message (Collapse)Author
2010-04-18(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer ↵frosch
divisions with rounding.
2010-04-07(svn r19581) -Codechange: auto-raise 'All facilities/cargos' buttons in the ↵smatz
Station list window
2010-04-07(svn r19573) -Fix (r19541): Special cargos did not appear at the refit list.terkhen
2010-04-02(svn r19540) -Feature: Sort the ratings of a station by cargo class / name.terkhen
2010-03-06(svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost.alberth
2010-02-14(svn r19129) -Fix [FS#3623] (r19122): Don't draw cargo ratings/acceptance ↵alberth
when the window is shaded.
2010-02-13(svn r19123) -Fix [FS#3617]: Resize station cargo widget when needed to ↵alberth
display all accepted cargo types.
2010-02-13(svn r19122) -Codechange: Move cargo drawing to StationViewWindow::OnPaint().alberth
2010-02-13(svn r19121) -Codechange: Introduce a variable for the height of the ratings ↵alberth
and accepted cargo widgets.
2010-02-12(svn r19111) -Fix (r19070): the station view didn't show acceptance anymorerubidium
2010-02-10(svn r19087) -Codechange: some typos in StringIDsrubidium
2010-02-09(svn r19070) -Fix [FS#3607]: the station coverage text was not RTL language ↵rubidium
aware (sbr)
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-18(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) ↵rubidium
wrapper functions
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-05(svn r18731) -Codechange: move the DrawStationCoverage stuff from ↵rubidium
misc_gui.cpp to station_gui.cpp
2010-01-04(svn r18718) -Codechange: make a wrapper macro for looping TileAreasrubidium
2010-01-04(svn r18713) -Fix [FS#3476]: the join station window didn't account for ↵rubidium
scrolling, so if you did scroll the station was not joined with the selected station
2009-12-21(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.alberth
2009-12-20(svn r18580) -Codechange: Use widget information only for setting scrollbar ↵alberth
capacity.
2009-12-19(svn r18539) -Codechange: Re-use cargolist drawing in ↵alberth
StationViewWindow::DrawAcceptedCargo()
2009-12-05(svn r18410) -Codechange: Move GetCargoSprite() to CargoSpec::GetCargoIcon().alberth
2009-11-29(svn r18333) -Fix (r18127): Station view window did not resize properly when ↵alberth
toggling between ratings and acceptance view.
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.
2009-11-24(svn r18280) -Codechange: remove widget indices that are not needed for ↵rubidium
custom drawing/handling input
2009-11-24(svn r18277) -Codechange: remove unneeded widget indices for close, resize ↵rubidium
and sticky boxes and for window captions
2009-11-24(svn r18274) -Codechange: remove the unused WDF flagsrubidium
2009-11-23(svn r18260) -Codechange: make the company station view big font awarerubidium
2009-11-22(svn r18230) -Codechange: Allow fill stepsize to be set from ↵alberth
Window::UpdateWidgetSize().
2009-11-22(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.alberth
2009-11-22(svn r18225) -Codechange: make the select station window behave better with ↵rubidium
big fonts
2009-11-22(svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' ↵rubidium
from WWT_RESIZEBOX instances
2009-11-18(svn r18170) -Codechange: make the station view RTL awarerubidium
2009-11-17(svn r18152) -Codechange: remove the 'minimum window size' from the ↵rubidium
WindowDesc; it's determined from the (nested) widgets
2009-11-17(svn r18137) -Codechange: Make station rating graphics in station list scale ↵peter1138
to the small font size.
2009-11-16(svn r18127) -Codechange: Adjust station accept/rating list height by number ↵peter1138
of lines instead of pixels.
2009-11-16(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar ↵rubidium
capacity/matrix initialisation
2009-11-16(svn r18116) -Change: make the station list support RTL when drawing the ratingsrubidium
2009-11-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-11-08(svn r18021) -Codechange: Have a widget for every cargo-type to eliminate ↵alberth
searching.
2009-11-08(svn r18020) -Codechange: Make the company station list window nested.alberth
2009-11-08(svn r18014) -Codechange: Station view window uses pure nested widgets.alberth
2009-11-08(svn r18010) -Codechange: Split StationViewWindow::OnPaint in four functions.alberth
2009-10-24(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was ↵rubidium
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(svn r17850) -Codechange: remove most usage of delta on OnResizerubidium
2009-10-19(svn r17813) -Codechange: unify the CargoPacket related coding stylerubidium
2009-10-18(svn r17808) -Codechange: remove write 'access' from all of CargoPacket's ↵rubidium
variables
2009-10-18(svn r17800) -Codechange: first steps into making CargoList a templaterubidium
2009-10-17(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with ↵rubidium
wrong 'size') upon reiniting windows
2009-10-06(svn r17720) -Codechange: guard the CargoPacket variables that are cached in ↵rubidium
CargoLists so they cannot be written from outside the CargoList class (based on patch by fonsinchen)