summaryrefslogtreecommitdiff
path: root/src/group_gui.cpp
AgeCommit message (Collapse)Author
2009-02-09(svn r15427) -Codechange: give w->caption_color a more sensible name as it ↵rubidium
holds the owner of whatever is shown in the window
2009-02-01(svn r15312) -Codechange: Handle closing of drop down menus when clicking in ↵peter1138
a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-08(svn r14925) -Fix [FS#2500]: Abort dragging of vehicles in the group window ↵frosch
when they are deleted.
2009-01-03(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid ↵smatz
depots, industries, towns and waypoints
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
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-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-15(svn r14329) -Fix (r14306): selections in the group GUI weren't shown anymore.rubidium
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-09-12(svn r14303) -Codechange: make the vehicle list part of the group window ↵rubidium
look exactly like the vehicle list instead of some buttons being one pixel wider/smaller.
2008-09-12(svn r14302) -Codechange: simplify and make the vehicle list and group ↵rubidium
windows behave the same w.r.t. getting wider (by default) for trains than the other vehicles.
2008-09-12(svn r14301) -Codechange: give the vehicle list and group list the same ↵rubidium
relative size and the same absolute height for the vehicle list items.
2008-08-13(svn r14063) -Codechange: replace some "magic" constants with enumified ↵rubidium
constants.
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.