summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
AgeCommit message (Collapse)Author
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
2009-11-28(svn r18324) -Codechange: there's no need for a default size when the window ↵rubidium
isn't resizable
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.
2009-11-28(svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top ↵rubidium
location based on the main toolbar's height instead of hardcoding that
2009-11-25(svn r18286) -Fix (r18280): Number of platforms and platform length start ↵frosch
with 1.
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-22(svn r18241) -Codechange: make the rail depot 'buttons' centered in the windowrubidium
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 r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, ↵rubidium
WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
2009-11-19(svn r18187) -Codechange: make the advanced face selection, custom currency, ↵rubidium
difficulty, news settings, signal, sign and vehicle details window RTL aware (use the arrow widget)
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 r18148) -Fix: with the waypoint picker the wrong widget was 'grayed' ↵rubidium
with RTL and the y offset of the grayed area was incorrect for big fonts
2009-11-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-30(svn r17674) -Codechange: replace SetDirty + OnInvalidateData with ↵rubidium
InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant.
2009-09-28(svn r17659) -Codechange: remove the last custom drawing from the signal GUIrubidium
2009-09-28(svn r17658) -Codechange: remove custom drawing of the signal density in the ↵rubidium
signal GUI -Codechange: move the state updates from OnPaint
2009-09-28(svn r17657) -Fix [FS#3242]: some semaphore signals fell outside of the ↵rubidium
signal GUI. Now the signals are properly centered which should make that problem go away
2009-09-19(svn r17579) -Fix: remove doxygen docs for removed parameters, or change ↵rubidium
@param to @tparam if necessary
2009-09-19(svn r17572) -Codechange: Use the Window::GetWidget() function to access ↵alberth
nested widgets through the nested_array.
2009-09-14(svn r17534) -Codechange: unify the naming of callback masks/flagsrubidium
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-13(svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by ↵frosch
other functions already.