Commit Graph

105 Commits (755ce4127d93755fd87508ea8f45cc39bc058a5c)

Author SHA1 Message Date
rubidium 5c5b357043 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 15 years ago
rubidium e88cb7f70f (svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing 15 years ago
alberth bbd546b792 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 15 years ago
alberth 8f5f39cf09 (svn r15820) -Codechange: Some windows using nested widgets 15 years ago
rubidium 2e38d7c332 (svn r15812) -Codechange: use the new DrawString API in another set of GUIs 15 years ago
rubidium 2a422e3e95 (svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API. 15 years ago
rubidium 57c5ce84eb (svn r15724) -Codechange: some widget documentation/fixing of enumified constant names (Alberth) 16 years ago
rubidium 7f468dc142 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 16 years ago
rubidium f3e0fd7416 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago
rubidium c7f3daacbf (svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window 16 years ago
peter1138 bce50498fc (svn r15312) -Codechange: Handle closing of drop down menus when clicking in 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. 16 years ago
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 16 years ago
rubidium 28ea38ae55 (svn r14949) -Cleanup: pointer coding style 16 years ago
frosch eec8c04586 (svn r14925) -Fix [FS#2500]: Abort dragging of vehicles in the group window when they are deleted. 16 years ago
smatz b00e510140 (svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints 16 years ago
rubidium e83cca7d13 (svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter. 16 years ago
rubidium e589c7e580 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
smatz e543181b12 (svn r14334) -Feature: ability to reset name to default/automatic value (for vehicles, engines, towns, groups, stations, waypoints, managers and companies) 16 years ago
smatz ffa39caf3d (svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString() 16 years ago
rubidium 1c5338cbce (svn r14329) -Fix (r14306): selections in the group GUI weren't shown anymore. 16 years ago
rubidium 4ea5308d49 (svn r14306) -Codechange: unify the code to draw the vehicle list.
-Fix [FS#2292]: inconsistency between drawn vehicle lists in the vehicle list and group windows.
16 years ago
rubidium ac48a45cb8 (svn r14303) -Codechange: make the vehicle list part of the group window look exactly like the vehicle list instead of some buttons being one pixel wider/smaller. 16 years ago
rubidium f60ef76050 (svn r14302) -Codechange: simplify and make the vehicle list and group windows behave the same w.r.t. getting wider (by default) for trains than the other vehicles. 16 years ago
rubidium 3423721523 (svn r14301) -Codechange: give the vehicle list and group list the same relative size and the same absolute height for the vehicle list items. 16 years ago
rubidium c816cc37fd (svn r14063) -Codechange: replace some "magic" constants with enumified constants. 16 years ago
belugas a63bcef135 (svn r13879) -Codechange: Replace numbers with Colours enum on engine, industries and group gui 16 years ago
rubidium 6898a76c5f (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. 16 years ago
skidd13 ec261a6456 (svn r13587) -Codechange: make some globals members of VehicleListBase since they are used as such
-Cleanup: some small things referring the change
16 years ago
skidd13 d85c5f020b (svn r13534) -Codechange: Replace the main part of VehiclesListBase sorting with GUIList function calls 16 years ago
peter1138 698a51a41e (svn r13319) -Codechange: Remove use of imaginary horizontal scrollbar in the group vehicle list 16 years ago
smatz 33dc3165be (svn r13280) -Fix (r13276): MSVC compilation was broken 16 years ago
skidd13 16cee252a7 (svn r13271) -Codechange: groups sorting uses GUILists Sort() now 16 years ago
peter1138 0434e83e91 (svn r13270) -Codechange: There is no need to clear lists in the window constructor 16 years ago
peter1138 781b90ac91 (svn r13266) -Codechange: Use SmallVector in GUIList 16 years ago
rubidium 162e2e074b (svn r13185) -Codechange: remove everything related to the WindowProc callbacks. 16 years ago
rubidium 3ee2556585 (svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData. 16 years ago
rubidium a89b5721a8 (svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming. 16 years ago
rubidium 0d2e74fb71 (svn r13078) -Fix: group gui used the vehicle type before it was actually set. 16 years ago
rubidium a7db265bb6 (svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore. 16 years ago
rubidium ee3c14b344 (svn r13046) -Codechange: make classes of the VehicleListWindow and the VehicleGroupWindow. 16 years ago
rubidium 89a60ce249 (svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform. 16 years ago
rubidium 92aac531c2 (svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window. 16 years ago
rubidium c28ce39e3c (svn r12987) -Codechange: split viewport and tile selection. 16 years ago
rubidium 9db77e3808 (svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL. 16 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
rubidium 8857f5057f (svn r12766) -Add: sorting by road vehicle/train length. Based on a patch by Sir Bob. 16 years ago
rubidium f4b07a78c4 (svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs). 16 years ago
rubidium 6d063c3ad6 (svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h. 16 years ago
smatz d0fdbce6d2 (svn r12576) -Feature(tte) [FS#337]: highlight vehicle chain when dragging in the group and depot GUI if appropriate 16 years ago