summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
AgeCommit message (Collapse)Author
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.
2009-09-08(svn r17471) -Change: when removing a station or waypoint keep the rail ↵rubidium
unless Ctrl is pressed. This makes the behaviour consistent between the two.
2009-09-02(svn r17372) -Codechange: make the settings, rail and sign GUIs use the ↵rubidium
scrollbar wrappers
2009-08-29(svn r17304) -Codechange: move (more) drawing code out of the rail depot ↵rubidium
picker's OnPaint.
2009-08-23(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/falserubidium
2009-08-22(svn r17251) -Fix [FS#3141]: other tunnel end not shown if building rail ↵rubidium
tunnels and the first railtype is not available yet
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-04(svn r17062) -Change: unify the naming of some 125 stringsrubidium
2009-08-03(svn r17059) -Codechange: Rename a few strings to reflect their usageyexo
2009-08-01(svn r17018) -Fix [FS#1833]: Take width of station type names into account ↵alberth
in station builder window.
2009-07-31(svn r17008) -Fix [FS#3061]: Resize matrix in station build window ↵alberth
vertically according to font height.
2009-07-31(svn r17002) -Change: also support distant join for waypointsrubidium
2009-07-30(svn r17000) -Change: allow overbuilding/extending waypointsrubidium
2009-07-30(svn r16993) -Change: make the rail waypoint builder draggablerubidium
2009-07-30(svn r16991) -Change: make 'remove waypoint' draggablerubidium
2009-07-29(svn r16990) -Codechange: unify some (command) naming w.r.t. stations/waypoints.rubidium
2009-07-26(svn r16965) -Codechange: use tile area instead of sets of variables for the ↵rubidium
station joiner code.
2009-07-25(svn r16953) -Codechange: Use SetStringParameters() for simple parameterized ↵alberth
strings.
2009-07-24(svn r16938) -Codechange: introduce helper function to tell whether a tile ↵rubidium
is either a rail station or rail waypoint tile
2009-07-24(svn r16937) -Codechange: Make the station build window look good when resized.alberth
2009-07-24(svn r16936) -Fix [FS#3053]: Rail station build window with NewGRFs could ↵alberth
crash due to uninitialized string parameter.