log src/station_gui.cpp @ 18678:5604c42fa1ce draft

age author description
Thu, 15 Dec 2011 21:56:00 +0000 rubidium (svn r23526) -Codechange: unify cargos vs cargoes draft
Thu, 15 Dec 2011 19:54:23 +0000 truebrain (svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, with only values known in WindowFlags (and move out 2 timers to their own variable) draft
Fri, 17 Jun 2011 20:32:25 +0000 yexo (svn r22595) -Fix [FS#4560] (r22593): build railstation gui was broken with newgrf stations draft
Thu, 16 Jun 2011 09:46:24 +0000 yexo (svn r22593) -Fix [FS#4647]: don't show cargo accepted/produced in the new station window when no tiles are selected (mouse hovering a window or toolbar) draft
Sat, 04 Jun 2011 21:17:07 +0000 terkhen (svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus. draft
Fri, 06 May 2011 21:13:29 +0000 frosch (svn r22429) -Add: some constants for specific palette colours used in the GUI. draft
Sun, 17 Apr 2011 18:42:17 +0000 terkhen (svn r22343) -Change: Remove pixel limiter for query strings. draft
Sun, 13 Mar 2011 21:34:21 +0000 frosch (svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope. draft
Sun, 13 Mar 2011 21:31:29 +0000 frosch (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). draft
Tue, 08 Mar 2011 20:52:59 +0000 frosch (svn r22228) -Fix (r22135)[FS#4546]: Do not resort town, industry and signs list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting. draft
Wed, 19 Jan 2011 23:59:29 +0000 rubidium (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 draft
Sun, 05 Dec 2010 22:25:36 +0000 rubidium (svn r21415) -Codechange: limit station/waypoint name by amount of characters, not bytes draft
Fri, 26 Nov 2010 15:22:18 +0000 alberth (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). draft
Sat, 13 Nov 2010 09:56:25 +0000 rubidium (svn r21157) -Codechange: remove information about the text direction out of the language "list" draft
Thu, 11 Nov 2010 10:34:01 +0000 rubidium (svn r21144) -Change [FS#4206]: filter stations by cargo they have a rating for instead of having cargo waiting draft
Tue, 19 Oct 2010 21:48:20 +0000 planetmaker (svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could be too small draft
Sat, 11 Sep 2010 17:45:03 +0000 rubidium (svn r20785) -Fix: crash when closing the station view of oilrigs (similar to r20774) draft
Wed, 08 Sep 2010 21:37:13 +0000 rubidium (svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbers draft
Thu, 26 Aug 2010 22:01:16 +0000 rubidium (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers draft
Fri, 20 Aug 2010 12:50:59 +0000 frosch (svn r20579) -Change (r1579): Allow removing of buoys if they are only used by own vehicles. draft
Sun, 15 Aug 2010 14:06:43 +0000 alberth (svn r20499) -Doc: Spelling fixes, and one doxygen comment addition. draft
Thu, 12 Aug 2010 09:16:43 +0000 frosch (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. draft
Thu, 12 Aug 2010 08:37:01 +0000 frosch (svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2. draft
Thu, 12 Aug 2010 06:44:45 +0000 frosch (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). draft
Sun, 01 Aug 2010 19:44:49 +0000 frosch (svn r20286) -Codechange: Unify end of doxygen comments. draft
Sun, 01 Aug 2010 19:22:34 +0000 frosch (svn r20283) -Codechange: Unify start of doygen comments. draft
Mon, 26 Jul 2010 13:08:48 +0000 alberth (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). draft
Fri, 02 Jul 2010 13:53:05 +0000 alberth (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). draft
Sat, 19 Jun 2010 16:40:31 +0000 rubidium (svn r19997) -Codechange: Unify order of ship and plane icon in stationlist and stationsigns with the rest of the game (frosch) draft
Sat, 12 Jun 2010 21:23:20 +0000 smatz (svn r19969) -Change: swap 'list of ships' and 'list of aircraft' buttons in the Station View window draft
Thu, 10 Jun 2010 23:27:37 +0000 smatz (svn r19955) -Fix: close list of vehicles with given buoy/oil rig in orders when switching company draft
Tue, 11 May 2010 21:01:01 +0000 rubidium (svn r19790) -Change: use the typed FOR_EACH_SET_BIT for CargoIDs (adf88) draft
Tue, 11 May 2010 20:48:06 +0000 rubidium (svn r19788) -Codechange: make FOR_EACH_SET_BIT not change the value of the passed bit variable, i.e. allow expressions as parameter draft
Sun, 18 Apr 2010 14:56:05 +0000 frosch (svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding. draft
Wed, 07 Apr 2010 21:33:03 +0000 smatz (svn r19581) -Codechange: auto-raise 'All facilities/cargos' buttons in the Station list window draft
Wed, 07 Apr 2010 14:17:29 +0000 terkhen (svn r19573) -Fix (r19541): Special cargos did not appear at the refit list. draft
Fri, 02 Apr 2010 12:26:20 +0000 terkhen (svn r19540) -Feature: Sort the ratings of a station by cargo class / name. draft
Sat, 06 Mar 2010 13:23:33 +0000 alberth (svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost. draft
Sun, 14 Feb 2010 15:35:44 +0000 alberth (svn r19129) -Fix [FS#3623] (r19122): Don't draw cargo ratings/acceptance when the window is shaded. draft
Sat, 13 Feb 2010 18:44:03 +0000 alberth (svn r19123) -Fix [FS#3617]: Resize station cargo widget when needed to display all accepted cargo types. draft
Sat, 13 Feb 2010 18:41:31 +0000 alberth (svn r19122) -Codechange: Move cargo drawing to StationViewWindow::OnPaint(). draft
Sat, 13 Feb 2010 18:39:00 +0000 alberth (svn r19121) -Codechange: Introduce a variable for the height of the ratings and accepted cargo widgets. draft
Fri, 12 Feb 2010 21:43:58 +0000 rubidium (svn r19111) -Fix (r19070): the station view didn't show acceptance anymore draft
Wed, 10 Feb 2010 20:20:18 +0000 rubidium (svn r19087) -Codechange: some typos in StringIDs draft
Tue, 09 Feb 2010 21:48:57 +0000 rubidium (svn r19070) -Fix [FS#3607]: the station coverage text was not RTL language aware (sbr) draft
Sat, 30 Jan 2010 18:34:48 +0000 frosch (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). draft
Mon, 18 Jan 2010 22:57:21 +0000 rubidium (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions draft
Fri, 15 Jan 2010 16:41:15 +0000 rubidium (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header draft
Tue, 05 Jan 2010 16:59:57 +0000 rubidium (svn r18731) -Codechange: move the DrawStationCoverage stuff from misc_gui.cpp to station_gui.cpp draft
Mon, 04 Jan 2010 18:30:10 +0000 rubidium (svn r18718) -Codechange: make a wrapper macro for looping TileAreas draft
Mon, 04 Jan 2010 17:54:57 +0000 rubidium (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 draft
Mon, 21 Dec 2009 16:24:29 +0000 alberth (svn r18588) -Feature [FS#2943]: Add shading and unshading of windows. draft
Sun, 20 Dec 2009 20:08:39 +0000 alberth (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. draft
Sat, 19 Dec 2009 16:02:29 +0000 alberth (svn r18539) -Codechange: Re-use cargolist drawing in StationViewWindow::DrawAcceptedCargo() draft
Sat, 05 Dec 2009 16:00:58 +0000 alberth (svn r18410) -Codechange: Move GetCargoSprite() to CargoSpec::GetCargoIcon(). draft
Sun, 29 Nov 2009 09:01:03 +0000 alberth (svn r18333) -Fix (r18127): Station view window did not resize properly when toggling between ratings and acceptance view. draft
Sat, 28 Nov 2009 14:42:35 +0000 rubidium (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. draft
Tue, 24 Nov 2009 21:13:36 +0000 rubidium (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input draft
Tue, 24 Nov 2009 18:05:55 +0000 rubidium (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions draft
Tue, 24 Nov 2009 17:28:29 +0000 rubidium (svn r18274) -Codechange: remove the unused WDF flags draft
Mon, 23 Nov 2009 20:13:37 +0000 rubidium (svn r18260) -Codechange: make the company station view big font aware draft
Sun, 22 Nov 2009 18:28:14 +0000 alberth (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). draft
Sun, 22 Nov 2009 18:26:01 +0000 alberth (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. draft
Sun, 22 Nov 2009 14:46:14 +0000 rubidium (svn r18225) -Codechange: make the select station window behave better with big fonts draft
Sun, 22 Nov 2009 11:10:17 +0000 rubidium (svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances draft
Wed, 18 Nov 2009 20:22:39 +0000 rubidium (svn r18170) -Codechange: make the station view RTL aware draft
Tue, 17 Nov 2009 19:16:48 +0000 rubidium (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets draft
Tue, 17 Nov 2009 12:05:55 +0000 peter1138 (svn r18137) -Codechange: Make station rating graphics in station list scale to the small font size. draft
Mon, 16 Nov 2009 20:40:35 +0000 peter1138 (svn r18127) -Codechange: Adjust station accept/rating list height by number of lines instead of pixels. draft
Mon, 16 Nov 2009 20:34:57 +0000 rubidium (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation draft
Mon, 16 Nov 2009 14:48:22 +0000 rubidium (svn r18116) -Change: make the station list support RTL when drawing the ratings draft
Sun, 15 Nov 2009 10:26:01 +0000 rubidium (svn r18086) -Codechange: remove 'widget' from WindowDesc draft
Sun, 08 Nov 2009 19:36:17 +0000 alberth (svn r18021) -Codechange: Have a widget for every cargo-type to eliminate searching. draft
Sun, 08 Nov 2009 19:31:57 +0000 alberth (svn r18020) -Codechange: Make the company station list window nested. draft
Sun, 08 Nov 2009 15:26:20 +0000 alberth (svn r18014) -Codechange: Station view window uses pure nested widgets. draft
Sun, 08 Nov 2009 12:45:16 +0000 alberth (svn r18010) -Codechange: Split StationViewWindow::OnPaint in four functions. draft
Sat, 24 Oct 2009 14:53:55 +0000 rubidium (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. draft
Sat, 24 Oct 2009 09:47:02 +0000 rubidium (svn r17850) -Codechange: remove most usage of delta on OnResize draft
Mon, 19 Oct 2009 09:15:47 +0000 rubidium (svn r17813) -Codechange: unify the CargoPacket related coding style draft
Sun, 18 Oct 2009 17:53:34 +0000 rubidium (svn r17808) -Codechange: remove write 'access' from all of CargoPacket's variables draft
Sun, 18 Oct 2009 14:28:26 +0000 rubidium (svn r17800) -Codechange: first steps into making CargoList a template draft
Sat, 17 Oct 2009 14:29:10 +0000 rubidium (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows draft
Tue, 06 Oct 2009 17:23:15 +0000 rubidium (svn r17720) -Codechange: guard the CargoPacket variables that are cached in CargoLists so they cannot be written from outside the CargoList class (based on patch by fonsinchen) draft
Sun, 04 Oct 2009 17:16:41 +0000 rubidium (svn r17693) -Cleanup: remove some unneeded includes draft
Fri, 02 Oct 2009 15:13:15 +0000 rubidium (svn r17682) -Codechange: remove erroneous space before some commas draft
Wed, 23 Sep 2009 20:14:59 +0000 rubidium (svn r17625) -Codechange: make a nested window of the station joiner draft
Wed, 23 Sep 2009 19:41:25 +0000 rubidium (svn r17623) -Codechange: don't update the station's joiner scrollbar count in the drawing code draft
Sat, 19 Sep 2009 09:51:14 +0000 rubidium (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos draft
Sun, 13 Sep 2009 19:15:59 +0000 frosch (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. draft
Wed, 02 Sep 2009 08:40:31 +0000 rubidium (svn r17373) -Codechange: make the timetable, station and subsidy GUIs use scrollbar wrappers draft
Thu, 27 Aug 2009 13:31:26 +0000 smatz (svn r17292) -Codechange: use unified ToPercent() function to convert fract numbers to percents draft
Fri, 21 Aug 2009 20:21:05 +0000 rubidium (svn r17248) -Fix: add GPL license notice where appropriate draft
Wed, 05 Aug 2009 17:59:21 +0000 rubidium (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives draft
Fri, 31 Jul 2009 16:28:28 +0000 rubidium (svn r17002) -Change: also support distant join for waypoints draft
Sun, 26 Jul 2009 21:50:30 +0000 rubidium (svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP draft
Sun, 26 Jul 2009 21:07:03 +0000 rubidium (svn r16965) -Codechange: use tile area instead of sets of variables for the station joiner code. draft
Sun, 26 Jul 2009 09:25:00 +0000 rubidium (svn r16959) -Codechange: make the station joiner a bit more aware of the difference between waypoints and stations. draft
Thu, 23 Jul 2009 19:31:50 +0000 rubidium (svn r16930) -Codechange: more StringID name unification and grouping draft
Wed, 22 Jul 2009 08:59:57 +0000 rubidium (svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types. draft
Mon, 20 Jul 2009 11:21:57 +0000 rubidium (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically draft
Thu, 16 Jul 2009 20:40:06 +0000 smatz (svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs draft
Thu, 16 Jul 2009 19:00:13 +0000 smatz (svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get() draft
Fri, 03 Jul 2009 13:33:00 +0000 smatz (svn r16728) -Fix (r14919): the Join station window didn't show all stations nearby in some cases draft
Wed, 24 Jun 2009 17:39:54 +0000 smatz (svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile() draft
Sun, 17 May 2009 01:00:56 +0000 smatz (svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index) draft
Sat, 16 May 2009 23:34:14 +0000 smatz (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) draft
Wed, 06 May 2009 15:06:57 +0000 rubidium (svn r16242) -Codechange: rework pausing draft
Sun, 03 May 2009 10:46:24 +0000 alberth (svn r16212) -Codechange: Added nested widgets for all station_gui windows. draft
Sun, 03 May 2009 10:38:35 +0000 alberth (svn r16211) -Codechange: Moving StationListWidgets out of the window class, completing StationViewWidgets. draft
Sun, 03 May 2009 10:34:47 +0000 alberth (svn r16210) -Codechange: Make panels non-overlapping in company stations window. draft
Sun, 03 May 2009 10:33:15 +0000 alberth (svn r16209) -Codechange: Removed bottom panel from join station window. draft
Sun, 26 Apr 2009 14:52:56 +0000 rubidium (svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString. draft
Tue, 21 Apr 2009 23:40:56 +0000 rubidium (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. draft
Sun, 12 Apr 2009 19:23:26 +0000 rubidium (svn r16046) -Change: when sorting on cargo ratings only take a look at the ratings of the cargoes that are 'selected'. draft
Sun, 12 Apr 2009 19:15:53 +0000 rubidium (svn r16045) -Feature [FS#597]: allow sorting stations by the lowest cargo rating instead of only by the highest cargo rating (based on the idea of KeeperOfTheSoul) draft
Fri, 10 Apr 2009 22:47:19 +0000 rubidium (svn r16025) -Fix [FS#2818]: "build separate station" in the station picker would reuse deleted stations. draft
Sun, 29 Mar 2009 09:49:11 +0000 alberth (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback draft
Tue, 24 Mar 2009 21:23:56 +0000 rubidium (svn r15837) -Codechange: support SETX(Y) with RTL text, swap alignment for RTL text. draft
Tue, 24 Mar 2009 20:23:47 +0000 rubidium (svn r15836) -Fix [FS#2762]: acceptance not shown in the station window (swapping top and bottom isn't a great idea) draft
Sun, 22 Mar 2009 14:55:49 +0000 rubidium (svn r15813) -Codechange: remove the last remnants of the old text drawing API. draft