summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
AgeCommit message (Collapse)Author
2011-01-09(svn r21761) -Add: Wheel-scrolling in the new build station GUI.frosch
2011-01-09(svn r21759) -Codechange: Increase the initial horizontal size of the ↵alberth
stationpicker slightly.
2011-01-09(svn r21758) -Add: Allow vertical resizing of the stationpicker window.alberth
2011-01-09(svn r21757) -Codechange: Use a list instead of a dropdown for selecting the ↵alberth
station classes.
2011-01-09(svn r21756) -Add: Display name of the selected station type in the station ↵alberth
picker window.
2011-01-09(svn r21755) -Feature: Display newgrf station sprites during station picking.alberth
2011-01-09(svn r21753) -Codechange: Use a widget for the coverage text, and re-init ↵alberth
instead of resize to adapt for height changes.
2011-01-09(svn r21752) -Doc: document the stationpicker widgets and variables.alberth
2011-01-09(svn r21751) -Fix: Re-initialize the stationpicker data when newgrf classes ↵alberth
have disappeared.
2010-12-24(svn r21628) -Codechange: Remove local variables that just point to global _thd.alberth
2010-12-24(svn r21627) -Codechange: Remove _place_proc global variable.alberth
2010-12-24(svn r21621) -Codechange: Only consider tile highlighting mode bits in tile ↵alberth
selection functions.
2010-12-24(svn r21618) -Fix: Use correct 3 bit mask for directions.alberth
2010-12-23(svn r21609) -Fix (r21545,r21552,r21580,r21586): Restore diagonal clearing ↵alberth
of areas.
2010-12-21(svn r21587) -Codechange: Move simple callback functions into the switch.alberth
2010-12-21(svn r21586) -Codechange: Record the last started user action, and use that ↵alberth
in the callback.
2010-12-21(svn r21585) -Codechange: Move the simple click functions into the switch.alberth
2010-12-21(svn r21584) -Codechange: Replace the _rail_build_button array by a switch.alberth
2010-12-21(svn r21582) -Codechange: Simplify BuildRailClick_AutoSignals().alberth
2010-12-21(svn r21581) -Codechange: Fix indenting code style of a few multi-line ↵alberth
statements.
2010-12-21(svn r21571) -Codechange: Having a break after a return is no good.alberth
2010-12-10(svn r21449) -Change: make the waypoint window make use the generic "matrix" ↵rubidium
widget
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-12(svn r20470) -Codechange: Make arrow buttons lower and raise like other ↵frosch
buttons when clicked.
2010-08-12(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and ↵frosch
WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll ↵frosch
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(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate ↵frosch
scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-07(svn r20406) -Codechange: make StationClass use the new generic classrubidium
2010-08-02(svn r20315) -Codechange: Replace magic numbers by named constants.michi_cc
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-30(svn r20242) -Change: remove the need for "{WHITE}" control codes in some of ↵rubidium
the railtype NewGRF strings -Fix: make it possible to properly assess the length of the rail toolbar caption
2010-07-30(svn r20241) -Codechange: Move variable declarations to their first use.alberth
2010-07-26(svn r20223) -Codechange: Replace scrolled row calculations by a call to ↵alberth
GetScrolledRowFromWidget().
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-07-04(svn r20071) -Codechange: Consistently return the toolbar window for ↵frosch
ShowBuildXxxToolbar().
2010-07-03(svn r20070) -Feature: when none of the open windows handles a keypress, try ↵yexo
all toolbars for global hotkeys Users that have run a version between r20056 and r20068 should delete their hotkeys.cfg to reset the terraform toolbar hotkeys to default
2010-07-03(svn r20068) -Feature: customizable hotkeys for the rail toolbaryexo
2010-04-14(svn r19637) -Codechange: Pass complete TransportType to CmdBuildTunnel.frosch
2010-03-17(svn r19445) -Change: No need to drag an area when overbuilding bridges.frosch
2010-03-16(svn r19431) -Codechange: Append rail type speed limit (if set) to rail type ↵peter1138
selection list, and toolbar title.
2010-03-05(svn r19321) -Codechange [FS#3630]: unify the rail station widget ↵rubidium
descriptions (sbr)
2010-02-04(svn r19006) -Fix (r18970): default rail type determination failed causing ↵rubidium
'A'/SHIFT-F4 not to work the first time. As rail types can now be anything the explicit options for the different railtypes have been removed, leaving the most used rail type and first/last available rail types.
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
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-11(svn r18781) -Codechange: pass the CommandCost to the callback instead of ↵rubidium
whether it succeeded or not. -Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2009-12-18(svn r18528) -Fix (FS#3370): Platform length/count buttons not centred when ↵peter1138
NewGRF stations in use.
2009-12-15(svn r18508) -Fix [FS#3372]: if a rail station class had less data than ↵rubidium
capacity it would try to set a negative position
2009-12-14(svn r18503) -Fix [FS#3370]: the length and platform buttons in the station ↵rubidium
window weren't always properly centered