summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
AgeCommit message (Collapse)Author
2009-01-02(svn r14785) -Fix [FS#2132]: vehicle list for station gets closed when ↵rubidium
station view is closed even when the vehicle list is stickied. Other vehicle lists are not deleted when their 'opening' window gets closed so do the same with the station view.
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-12-26(svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have ↵smatz
queried facility (or station/roadstop is invalid) instead of 0 (Yexo)
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-23(svn r14390) -Codechange: replace magic constants with symbolic constants.rubidium
2008-09-15(svn r14334) -Feature: ability to reset name to default/automatic value (for ↵smatz
vehicles, engines, towns, groups, stations, waypoints, managers and companies)
2008-09-15(svn r14331) -Codechange: use an enum as additional parameter for ↵smatz
ShowQueryString()
2008-09-13(svn r14306) -Codechange: unify the code to draw the vehicle list.rubidium
-Fix [FS#2292]: inconsistency between drawn vehicle lists in the vehicle list and group windows.
2008-08-27(svn r14180) -Fix (r8293): close all related vehicle lists when closing a ↵glx
station window (and not only the train list).
2008-08-13(svn r14063) -Codechange: replace some "magic" constants with enumified ↵rubidium
constants.
2008-07-31(svn r13900) -Codechange: Replace numbers with Colours enum on settings, ↵belugas
smallmaps, stations and signs guis.
2008-07-18(svn r13731) -Codechange: make a pool of the array of players.rubidium
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-07-17(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they ↵rubidium
were printed, otherwise the text could change due to the few number of slots that could be used to bind. -Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
2008-06-23(svn r13617) -Codechange: calculate the diff in StationWaitingSorter directlyskidd13
2008-05-27(svn r13302) -Fix (r13301): GCC doesn't necessarily like what MSVC likes...rubidium
2008-05-27(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.rubidium
2008-05-27(svn r13299) -Fix (r13286): Stations sort type isn't updated correctlyskidd13
2008-05-27(svn r13292) -Fix (r13285): MSVC warningsglx
2008-05-27(svn r13286) -Codechange: GUIList Sort returns now if the list sequence has ↵skidd13
been altered
2008-05-27(svn r13285) -Codechange: station sorting uses GUILists Sort() nowskidd13
2008-05-27(svn r13283) -Codechange: convert the inheritance of GUIList in ↵skidd13
PlayerStationsWindow to a member object
2008-05-26(svn r13266) -Codechange: Use SmallVector in GUIListpeter1138
2008-05-23(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() ↵peter1138
from lots of windows causing 'two stage' opening effect.
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-18(svn r13165) -Codechange: replace some ↵rubidium
RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-13(svn r13080) -Fix: warning about unused variable when compiling without assertssmatz
2008-05-13(svn r13069) -Codechange: it is no longer needed to pass a void *data ↵rubidium
pointer with the WE_CREATE message because nothing uses it anymore.
2008-05-11(svn r13054) -Codechange: make a class of the PlayerStationsWindow.rubidium
2008-05-11(svn r13053) -Codechange: station sorting used it's own implementation of ↵rubidium
GUIList and the associated enums, now it doesn't anymore.
2008-05-11(svn r13048) -Codechange: make a class of the StationViewWindow.rubidium
2008-05-10(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove ↵rubidium
the need for WE_ON_EDIT_TEXT_CANCEL.
2008-05-08(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of ↵rubidium
Window.
2008-05-06(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) ↵rubidium
when it's certain that w != NULL.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-05-05(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a ↵peter1138
'Location' button, a town/station/industry list, or some news items.
2008-04-19(svn r12787) -Documentation: add/fix documentation of some functions. Patch ↵rubidium
by Alberth.
2008-04-17(svn r12756) -Cleanup: variable scope and coding style in station*smatz
2008-04-07(svn r12619) -Codechange: lots of documentation about window related stuff. ↵rubidium
Patch by Alberth.
2008-03-31(svn r12495) -Codechange: reduce the dependency on newgrf_station.h ↵rubidium
(especially because newgrf_station.h includes a lot of stuff).
2008-03-31(svn r12489) -Codechange: split station.h into station_base.h and ↵rubidium
station_func.h.
2008-03-28(svn r12458) -Codechange: split acquiring the sprite ID for cargos from the ↵rubidium
actual drawing of them.
2008-03-27(svn r12446) -Feature: Add +/- toggle buttons to station cargo waiting list ↵peter1138
to show/hide the detailed transferred cargo information.
2008-03-22(svn r12393) -Fix [FS#1872]: Vehicle lists related to stations not closed ↵rubidium
when the station is deleted.
2008-01-26(svn r11990) -Codechange: Show all cargo sources (en-route from) in the ↵peter1138
station view cargo waiting list instead of just one. The station view window is now resizable to cope with the extra information.
2008-01-18(svn r11915) -Codechange: Add a function to draw a sort button's up/down ↵peter1138
arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
2008-01-17(svn r11904) -Codechange: use dropdown widget in 3 more windows, build ↵peter1138
vehicle, group vehicle list and station list.
2008-01-14(svn r11848) -Codechange: New class-based drop down list functionality. ↵peter1138
Lists are now dynamically generated, and can include parameters, or be extended however needed.