Commit Graph

236 Commits

Author SHA1 Message Date
rubidium
09d558c3b1 (svn r21864) -Fix [FS#4430]: distant-join station would build at the wrong location when having persistent building turned on and selecting a "second" location for the station tile 2011-01-19 23:59:29 +00:00
rubidium
7267a4de2c (svn r21415) -Codechange: limit station/waypoint name by amount of characters, not bytes 2010-12-05 22:25:36 +00:00
alberth
0722492c1b (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 2010-11-26 15:22:18 +00:00
rubidium
5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 2010-11-13 09:56:25 +00:00
rubidium
4dfdd4e9f9 (svn r21144) -Change [FS#4206]: filter stations by cargo they have a rating for instead of having cargo waiting 2010-11-11 10:34:01 +00:00
planetmaker
310de59b0f (svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small 2010-10-19 21:48:20 +00:00
rubidium
6991825f59 (svn r20785) -Fix: crash when closing the station view of oilrigs (similar to r20774) 2010-09-11 17:45:03 +00:00
rubidium
1664ac1eb5 (svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbers 2010-09-08 21:37:13 +00:00
rubidium
360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
frosch
e8ec3de621 (svn r20579) -Change (r1579): Allow removing of buoys if they are only used by own vehicles. 2010-08-20 12:50:59 +00:00
alberth
a51d34c048 (svn r20499) -Doc: Spelling fixes, and one doxygen comment addition. 2010-08-15 14:06:43 +00:00
frosch
2d5ef5e5a8 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 2010-08-12 09:16:43 +00:00
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.
2010-08-12 08:37:01 +00:00
frosch
341f41e347 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 2010-08-12 06:44:45 +00:00
frosch
c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch
5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
alberth
a50578c3ad (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 2010-07-26 13:08:48 +00:00
alberth
c2a871d10b (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). 2010-07-02 13:53:05 +00:00
rubidium
f5e479e5bc (svn r19997) -Codechange: Unify order of ship and plane icon in stationlist and stationsigns with the rest of the game (frosch) 2010-06-19 16:40:31 +00:00
smatz
409c4d3342 (svn r19969) -Change: swap 'list of ships' and 'list of aircraft' buttons in the Station View window 2010-06-12 21:23:20 +00:00
smatz
dbe69c2350 (svn r19955) -Fix: close list of vehicles with given buoy/oil rig in orders when switching company 2010-06-10 23:27:37 +00:00
rubidium
fa7c8be0b8 (svn r19790) -Change: use the typed FOR_EACH_SET_BIT for CargoIDs (adf88) 2010-05-11 21:01:01 +00:00
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 2010-05-11 20:48:06 +00:00
frosch
a4413f4cf6 (svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding. 2010-04-18 14:56:05 +00:00
smatz
64aadd8e33 (svn r19581) -Codechange: auto-raise 'All facilities/cargos' buttons in the Station list window 2010-04-07 21:33:03 +00:00
terkhen
1fbde179d9 (svn r19573) -Fix (r19541): Special cargos did not appear at the refit list. 2010-04-07 14:17:29 +00:00
terkhen
3a7689ae8a (svn r19540) -Feature: Sort the ratings of a station by cargo class / name. 2010-04-02 12:26:20 +00:00
alberth
beb46d1a7f (svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost. 2010-03-06 13:23:33 +00:00
alberth
ead01e1dd3 (svn r19129) -Fix [FS#3623] (r19122): Don't draw cargo ratings/acceptance when the window is shaded. 2010-02-14 15:35:44 +00:00
alberth
0052f2667f (svn r19123) -Fix [FS#3617]: Resize station cargo widget when needed to display all accepted cargo types. 2010-02-13 18:44:03 +00:00
alberth
e095cfb016 (svn r19122) -Codechange: Move cargo drawing to StationViewWindow::OnPaint(). 2010-02-13 18:41:31 +00:00
alberth
02c2b55a20 (svn r19121) -Codechange: Introduce a variable for the height of the ratings and accepted cargo widgets. 2010-02-13 18:39:00 +00:00
rubidium
39ea18dca6 (svn r19111) -Fix (r19070): the station view didn't show acceptance anymore 2010-02-12 21:43:58 +00:00
rubidium
1c468db7d5 (svn r19087) -Codechange: some typos in StringIDs 2010-02-10 20:20:18 +00:00
rubidium
f8259205bd (svn r19070) -Fix [FS#3607]: the station coverage text was not RTL language aware (sbr) 2010-02-09 21:48:57 +00:00
frosch
94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00
rubidium
f618acfb7d (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 2010-01-18 22:57:21 +00:00
rubidium
9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
rubidium
988d09b8c1 (svn r18731) -Codechange: move the DrawStationCoverage stuff from misc_gui.cpp to station_gui.cpp 2010-01-05 16:59:57 +00:00
rubidium
e48416ad4e (svn r18718) -Codechange: make a wrapper macro for looping TileAreas 2010-01-04 18:30:10 +00:00
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 2010-01-04 17:54:57 +00:00
alberth
0e9dac92d2 (svn r18588) -Feature [FS#2943]: Add shading and unshading of windows. 2009-12-21 16:24:29 +00:00
alberth
f20e477a02 (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 2009-12-20 20:08:39 +00:00
alberth
be29ee40a1 (svn r18539) -Codechange: Re-use cargolist drawing in StationViewWindow::DrawAcceptedCargo() 2009-12-19 16:02:29 +00:00
alberth
466a0841a9 (svn r18410) -Codechange: Move GetCargoSprite() to CargoSpec::GetCargoIcon(). 2009-12-05 16:00:58 +00:00
alberth
94f1f51943 (svn r18333) -Fix (r18127): Station view window did not resize properly when toggling between ratings and acceptance view. 2009-11-29 09:01:03 +00:00
rubidium
45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 2009-11-28 14:42:35 +00:00
rubidium
ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 2009-11-24 21:13:36 +00:00
rubidium
50359b2d08 (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 2009-11-24 18:05:55 +00:00
rubidium
f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 2009-11-24 17:28:29 +00:00