frosch
b998cbdff1
(svn r24697) -Codechange: Use WDF_UNCLICK_BUTTONS instead of duplicating the same functionality.
2012-11-11 16:07:46 +00:00
frosch
3e367cd087
(svn r24668) -Feature(ette) [FS#5311]: Draw cargo labels in the station list black or white depending on the background colour. (sbr)
2012-11-07 21:23:26 +00:00
terkhen
efb2ddf62a
(svn r24615) -Feature [FS#5311]: Sort cargo filter by cargo name/label at the company stations window (sbr)
2012-10-20 08:44:07 +00:00
frosch
db09f67674
(svn r24260) -Change [FS#5126]: Make the oilrig-vehicle list accessible to specators and colour it's caption neutrally grey.
2012-05-16 22:08:46 +00:00
frosch
477a09d13e
(svn r24205) -Feature [FS#5178-ish]: Show a hint in the supplies tab of station windows, if the station is affected by exclusive transport rights.
2012-05-06 11:38:52 +00:00
michi_cc
aa47d6c7f2
(svn r24127) -Feature [FS#1497]: Allow closing airports for incoming aircraft. (Based on patch by cirdan)
2012-04-17 19:43:18 +00:00
rubidium
bf6434abaf
(svn r24023) -Fix [FS#5090]: pass cases down into the list of cargos
2012-03-10 19:18:04 +00:00
truebrain
bcf00dbb8f
(svn r23553) -Fix: avoid naming conflict in widget enums
2011-12-16 18:33:02 +00:00
truebrain
9266bde593
(svn r23546) -Codechange: document and rename widgets to be consistent and understandable
2011-12-16 18:14:11 +00:00
truebrain
2aa774e831
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
2011-12-15 22:22:55 +00:00
rubidium
3d88c74389
(svn r23526) -Codechange: unify cargos vs cargoes
2011-12-15 21:56:00 +00:00
truebrain
df0afdf0dc
(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)
...
-Codechange: rename Window::flags4 to Window::flags
-Codechange: move some non-inline functions from .hpp to .cpp
2011-12-15 19:54:23 +00:00
yexo
87e59dce5a
(svn r22595) -Fix [FS#4560] (r22593): build railstation gui was broken with newgrf stations
2011-06-17 20:32:25 +00:00
yexo
1a0d25dab1
(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)
2011-06-16 09:46:24 +00:00
terkhen
5bb79b1f46
(svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus.
2011-06-04 21:17:07 +00:00
frosch
5e449b8fae
(svn r22429) -Add: some constants for specific palette colours used in the GUI.
2011-05-06 21:13:29 +00:00
terkhen
10caf391a1
(svn r22343) -Change: Remove pixel limiter for query strings.
2011-04-17 18:42:17 +00:00
frosch
652c9cb663
(svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope.
2011-03-13 21:34:21 +00:00
frosch
ec9540a12a
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
2011-03-13 21:31:29 +00:00
frosch
77d1dcb926
(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.
2011-03-08 20:52:59 +00:00
rubidium
89a135293a
(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
44d1c55347
(svn r21415) -Codechange: limit station/waypoint name by amount of characters, not bytes
2010-12-05 22:25:36 +00:00
alberth
f5c6fd1a25
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
2010-11-26 15:22:18 +00:00
rubidium
30637a8340
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
2010-11-13 09:56:25 +00:00
rubidium
e745bd9815
(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
c2a7b82a9f
(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
e63d975d6e
(svn r20785) -Fix: crash when closing the station view of oilrigs (similar to r20774)
2010-09-11 17:45:03 +00:00
rubidium
f5128695c5
(svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbers
2010-09-08 21:37:13 +00:00
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
frosch
03ab158935
(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
35fec79700
(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.
2010-08-15 14:06:43 +00:00
frosch
9e538acc03
(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
71ca58c2bb
(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
10339c60c0
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-12 06:44:45 +00:00
frosch
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
2010-08-01 19:44:49 +00:00
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
2010-08-01 19:22:34 +00:00
alberth
4203e641f8
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
2010-07-26 13:08:48 +00:00
alberth
22b9bc5157
(svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine().
2010-07-02 13:53:05 +00:00
rubidium
3e35018f97
(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
55a684efc1
(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
830e40af19
(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
d2364c32ed
(svn r19790) -Change: use the typed FOR_EACH_SET_BIT for CargoIDs (adf88)
2010-05-11 21:01:01 +00:00
rubidium
be504a6ef0
(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
2e90f7f8b9
(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding.
2010-04-18 14:56:05 +00:00
smatz
7f531267dc
(svn r19581) -Codechange: auto-raise 'All facilities/cargos' buttons in the Station list window
2010-04-07 21:33:03 +00:00
terkhen
869fac9964
(svn r19573) -Fix (r19541): Special cargos did not appear at the refit list.
2010-04-07 14:17:29 +00:00
terkhen
fdc146b3c1
(svn r19540) -Feature: Sort the ratings of a station by cargo class / name.
2010-04-02 12:26:20 +00:00
alberth
6a3dbaf99a
(svn r19350) -Codechange: StationRect::BeforeAddRect() returns a CommandCost.
2010-03-06 13:23:33 +00:00
alberth
8641f08df3
(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
09327c2e69
(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
1737292d07
(svn r19122) -Codechange: Move cargo drawing to StationViewWindow::OnPaint().
2010-02-13 18:41:31 +00:00
alberth
df920582af
(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
171dbb7831
(svn r19111) -Fix (r19070): the station view didn't show acceptance anymore
2010-02-12 21:43:58 +00:00
rubidium
0072503496
(svn r19087) -Codechange: some typos in StringIDs
2010-02-10 20:20:18 +00:00
rubidium
29ce905bc2
(svn r19070) -Fix [FS#3607]: the station coverage text was not RTL language aware (sbr)
2010-02-09 21:48:57 +00:00
frosch
88019e64e1
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
2010-01-30 18:34:48 +00:00
rubidium
4d93b704d9
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
2010-01-18 22:57:21 +00:00
rubidium
82fc28f77f
(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
f348afb5aa
(svn r18731) -Codechange: move the DrawStationCoverage stuff from misc_gui.cpp to station_gui.cpp
2010-01-05 16:59:57 +00:00
rubidium
3e131e2fec
(svn r18718) -Codechange: make a wrapper macro for looping TileAreas
2010-01-04 18:30:10 +00:00
rubidium
02a297669a
(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
91872aca48
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
2009-12-21 16:24:29 +00:00
alberth
5a083f183e
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
2009-12-20 20:08:39 +00:00
alberth
07a2c21d24
(svn r18539) -Codechange: Re-use cargolist drawing in StationViewWindow::DrawAcceptedCargo()
2009-12-19 16:02:29 +00:00
alberth
c38f3ce380
(svn r18410) -Codechange: Move GetCargoSprite() to CargoSpec::GetCargoIcon().
2009-12-05 16:00:58 +00:00
alberth
c0dfaec34d
(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
293dfd7c3e
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
2009-11-28 14:42:35 +00:00
rubidium
8d6e323ef8
(svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input
2009-11-24 21:13:36 +00:00
rubidium
14300d309c
(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
69b6d9309a
(svn r18274) -Codechange: remove the unused WDF flags
2009-11-24 17:28:29 +00:00
rubidium
b351de15d9
(svn r18260) -Codechange: make the company station view big font aware
2009-11-23 20:13:37 +00:00
alberth
450e40b997
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
2009-11-22 18:28:14 +00:00
alberth
2b6f792513
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
2009-11-22 18:26:01 +00:00
rubidium
c99d15bf74
(svn r18225) -Codechange: make the select station window behave better with big fonts
2009-11-22 14:46:14 +00:00
rubidium
e9b6e73333
(svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances
2009-11-22 11:10:17 +00:00
rubidium
cee67acfba
(svn r18170) -Codechange: make the station view RTL aware
2009-11-18 20:22:39 +00:00
rubidium
5f2ddfbc5a
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
2009-11-17 19:16:48 +00:00
peter1138
f14cd93ec8
(svn r18137) -Codechange: Make station rating graphics in station list scale to the small font size.
2009-11-17 12:05:55 +00:00
peter1138
2e54ff1aa2
(svn r18127) -Codechange: Adjust station accept/rating list height by number of lines instead of pixels.
2009-11-16 20:40:35 +00:00
rubidium
626de6b128
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
2009-11-16 20:34:57 +00:00
rubidium
ae799e7b1b
(svn r18116) -Change: make the station list support RTL when drawing the ratings
2009-11-16 14:48:22 +00:00
rubidium
3d2d7af88f
(svn r18086) -Codechange: remove 'widget' from WindowDesc
2009-11-15 10:26:01 +00:00
alberth
efbdba72b3
(svn r18021) -Codechange: Have a widget for every cargo-type to eliminate searching.
2009-11-08 19:36:17 +00:00
alberth
7f1f105afa
(svn r18020) -Codechange: Make the company station list window nested.
2009-11-08 19:31:57 +00:00
alberth
71c207048f
(svn r18014) -Codechange: Station view window uses pure nested widgets.
2009-11-08 15:26:20 +00:00
alberth
cc320dc4d0
(svn r18010) -Codechange: Split StationViewWindow::OnPaint in four functions.
2009-11-08 12:45:16 +00:00
rubidium
ca0521f89f
(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.
2009-10-24 14:53:55 +00:00
rubidium
2f41c0411c
(svn r17850) -Codechange: remove most usage of delta on OnResize
2009-10-24 09:47:02 +00:00
rubidium
08ac51fada
(svn r17813) -Codechange: unify the CargoPacket related coding style
2009-10-19 09:15:47 +00:00
rubidium
e613107e02
(svn r17808) -Codechange: remove write 'access' from all of CargoPacket's variables
2009-10-18 17:53:34 +00:00
rubidium
138e7233bc
(svn r17800) -Codechange: first steps into making CargoList a template
2009-10-18 14:28:26 +00:00
rubidium
d1d35b95b6
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
2009-10-17 14:29:10 +00:00
rubidium
5f59d0c5b4
(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)
2009-10-06 17:23:15 +00:00
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00
rubidium
e9624fe0cc
(svn r17682) -Codechange: remove erroneous space before some commas
2009-10-02 15:13:15 +00:00
rubidium
4b7e2ff704
(svn r17625) -Codechange: make a nested window of the station joiner
2009-09-23 20:14:59 +00:00
rubidium
2d03e0af5d
(svn r17623) -Codechange: don't update the station's joiner scrollbar count in the drawing code
2009-09-23 19:41:25 +00:00
rubidium
e8ddf001c8
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
2009-09-19 09:51:14 +00:00
frosch
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
2009-09-13 19:15:59 +00:00
rubidium
7aa9f8e3fb
(svn r17373) -Codechange: make the timetable, station and subsidy GUIs use scrollbar wrappers
2009-09-02 08:40:31 +00:00