summaryrefslogtreecommitdiff
path: root/src/group_gui.cpp
AgeCommit message (Collapse)Author
2008-07-30(svn r13879) -Codechange: Replace numbers with Colours enum on engine, ↵belugas
industries and group gui
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-06-19(svn r13587) -Codechange: make some globals members of VehicleListBase since ↵skidd13
they are used as such -Cleanup: some small things referring the change
2008-06-16(svn r13534) -Codechange: Replace the main part of VehiclesListBase sorting ↵skidd13
with GUIList function calls
2008-05-29(svn r13319) -Codechange: Remove use of imaginary horizontal scrollbar in ↵peter1138
the group vehicle list
2008-05-27(svn r13280) -Fix (r13276): MSVC compilation was brokensmatz
2008-05-26(svn r13271) -Codechange: groups sorting uses GUILists Sort() nowskidd13
2008-05-26(svn r13270) -Codechange: There is no need to clear lists in the window ↵peter1138
constructor
2008-05-26(svn r13266) -Codechange: Use SmallVector in GUIListpeter1138
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 r13078) -Fix: group gui used the vehicle type before it was actually set.rubidium
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 r13046) -Codechange: make classes of the VehicleListWindow and the ↵rubidium
VehicleGroupWindow.
2008-05-11(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.rubidium
2008-05-08(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of ↵rubidium
Window.
2008-05-07(svn r12987) -Codechange: split viewport and tile selection.rubidium
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-04-18(svn r12766) -Add: sorting by road vehicle/train length. Based on a patch by ↵rubidium
Sir Bob.
2008-04-18(svn r12762) -Fix: tabs after the first non-tab character are generally not ↵rubidium
okay (or lines starting with a space and then tabs).
2008-04-17(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and ↵rubidium
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
2008-04-05(svn r12576) -Feature(tte) [FS#337]: highlight vehicle chain when dragging ↵smatz
in the group and depot GUI if appropriate
2008-03-31(svn r12490) -Codechange: rename engine.h to engine_func.h and remove ↵rubidium
unneeded inclusions of engine.h and/or replace them with engine_type.h.
2008-03-28(svn r12469) -Codechange: split type related stuff from group.h (and ↵rubidium
openttd.h) to group_type.h.
2008-03-15(svn r12374) -Fix (r11892): Don't close a dropmenu when clicking on a ↵peter1138
dropdown widget
2008-02-20(svn r12197) -Fix [FS#1788](r12134): show correct last year profit when the ↵smatz
train had negative income -Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
2008-02-17(svn r12166) -Fix [FS#337]: when drag&drop mode was cancelled by keyboard ↵smatz
input, depot/group window wasn't updated (original patch by GrimRC)
2008-02-13(svn r12134) -Change: count the number of ticks a vehicle was running this ↵smatz
day to calculate running cost -Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
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-17(svn r11892) -Fix (r11879): View switched from ungrouped to all vehicles as ↵peter1138
ungrouped is not technically a valid group, and ensure dropdown is removed on any click in the window.
2008-01-16(svn r11880) -Codechange: Generate vehicle group action dropdown ↵peter1138
dynamically, and assign an enum for the function return codes.
2008-01-16(svn r11879) -Fix: Only update group action drop down list when clicking on ↵peter1138
the dropdown text/button. Other times is not needed and caused a double free.
2008-01-16(svn r11878) -Fix: Crash in MP in vehicle group window if the currently ↵peter1138
selected group is deleted by another player.
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.
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-12(svn r11818) -Codechange: split player.h into smaller pieces.rubidium
2008-01-09(svn r11801) -Codechange: remove some unneeded includes from some header files.rubidium
2008-01-09(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.rubidium
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2008-01-07(svn r11775) -Codechange: move all autoreplace/autorenew functions to a ↵rubidium
single location.
2008-01-01(svn r11742) -Codechange [FS#1319]: Run window tick events when paused, so ↵peter1138
that news pop-ups and the about window still progress. For other windows the events are ignored when paused.
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.