rubidium
|
e356cb9405
|
(svn r20281) -Codechange: unify case scope closure + break coding style
|
2010-08-01 18:53:30 +00:00 |
alberth
|
4203e641f8
|
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
|
2010-07-26 13:08:48 +00:00 |
alberth
|
22b9bc5157
|
(svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine().
|
2010-07-02 13:53:05 +00:00 |
yexo
|
e6e2e8b473
|
(svn r19187) -Fix [FS#3634]: the vehicle info in the autoreplace gui was drawn even when the window was shaded
|
2010-02-21 17:52:43 +00:00 |
frosch
|
88019e64e1
|
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
|
2010-01-30 18:34:48 +00:00 |
rubidium
|
82fc28f77f
|
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
|
2010-01-15 16:41:15 +00:00 |
alberth
|
91872aca48
|
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
|
2009-12-21 16:24:29 +00:00 |
alberth
|
5a083f183e
|
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
|
2009-12-20 20:08:39 +00:00 |
rubidium
|
293dfd7c3e
|
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
|
2009-11-28 14:42:35 +00:00 |
rubidium
|
14300d309c
|
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
|
2009-11-24 18:05:55 +00:00 |
rubidium
|
69b6d9309a
|
(svn r18274) -Codechange: remove the unused WDF flags
|
2009-11-24 17:28:29 +00:00 |
rubidium
|
cf354803d6
|
(svn r18238) -Codechange: make the autoreplace window big font aware
|
2009-11-22 19:19:11 +00:00 |
rubidium
|
747e123307
|
(svn r18235) -Fix: like r18233, but for the non-trains
|
2009-11-22 18:51:21 +00:00 |
alberth
|
5087bb545b
|
(svn r18233) -Fix: Fix matrix widget of the autoreplace gui.
|
2009-11-22 18:32:03 +00:00 |
alberth
|
450e40b997
|
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
|
2009-11-22 18:28:14 +00:00 |
alberth
|
bf93372ca2
|
(svn r18220) -Codechange: Reduce number of nested widget dynamic casts.
|
2009-11-22 13:22:53 +00:00 |
rubidium
|
d913282e7a
|
(svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
|
2009-11-22 11:20:12 +00:00 |
rubidium
|
5f2ddfbc5a
|
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
|
2009-11-17 19:16:48 +00:00 |
rubidium
|
e7dd53dffc
|
(svn r18119) -Codechange/Fix: always call OnResize so the matrices/scrollbars are initialised without the need for duplicating the OnResize code
|
2009-11-16 16:42:04 +00:00 |
rubidium
|
5589792d0c
|
(svn r18118) -Codechange: improve behaviour of the engine lists (both build vehicle/autoreplace) w.r.t. large(r) fonts and RTL. RTL support for 'wider than usual' vehicles is still needed though.
|
2009-11-16 16:22:14 +00:00 |
rubidium
|
f025475535
|
(svn r18117) -Codechange: don't pass the location of the vehicle count but whether to show the vehicle count
|
2009-11-16 15:11:54 +00:00 |
rubidium
|
3d2d7af88f
|
(svn r18086) -Codechange: remove 'widget' from WindowDesc
|
2009-11-15 10:26:01 +00:00 |
rubidium
|
d41302c310
|
(svn r18071) -Codechange: remove the need for {SKIP} in the autoreplace window + strings
|
2009-11-14 12:50:38 +00:00 |
rubidium
|
0b5698a5b0
|
(svn r17892) -Feature [FS#1760]: automatically select the railtype with the most engines for the autoreplace window/try to avoid showing an empty autoreplace list
|
2009-10-27 20:19:05 +00:00 |
rubidium
|
ca0521f89f
|
(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
|
2009-10-24 14:53:55 +00:00 |
frosch
|
21fdc65ce4
|
(svn r17830) -Fix [FS#3276]: Some windows already need their window_number when setting up smallest size (e.g. for DParams). So assign it earlier in Window::InitializeData instead of dealing with each window separately.
|
2009-10-20 21:25:25 +00:00 |
alberth
|
7658bac2b5
|
(svn r17823) -Codechange: Use top of the matrix widget as offset for row calculation in autoreplace window.
|
2009-10-20 18:39:45 +00:00 |
frosch
|
41037308c0
|
(svn r17803) -Codechange: Remove update_(left|right) in favour of the rebuild flag of GUIList.
|
2009-10-18 16:31:27 +00:00 |
alberth
|
22ddb90fdb
|
(svn r17785) -Codechange: autoreplace window uses pure nested widgets.
|
2009-10-17 14:26:40 +00:00 |
alberth
|
0c766b913c
|
(svn r17784) -Codechange: Replace 'i' with 'side' when side is intended in the autoreplace window.
|
2009-10-17 08:18:55 +00:00 |
alberth
|
13c1694158
|
(svn r17783) -Codechange: Remove local pointer variable 'widget' from autoreplace window.
|
2009-10-17 08:14:39 +00:00 |
alberth
|
06e5ae020a
|
(svn r17781) -Codechange: Remove local variable 'selected_group' from autoreplace window.
|
2009-10-17 08:10:46 +00:00 |
alberth
|
f78bd1016c
|
(svn r17780) -Codechange: A bit more code style in the autoreplace window.
|
2009-10-17 07:47:59 +00:00 |
alberth
|
c3961b7a64
|
(svn r17764) -Codechange: Replace 'list' class variable in ReplacceVehicleWindow by 'engines'.
|
2009-10-11 13:09:44 +00:00 |
alberth
|
54b8523936
|
(svn r17763) -Codechange: Rename 'wagon_btnstate' to 'replace_engines', and 'init_lists' to 'reset_sel_engine' in ReplaceVehicleWindow, add doxygen comments.
|
2009-10-11 12:51:15 +00:00 |
alberth
|
321139782d
|
(svn r17761) -Codechange: Removed some unused/unneeded variables from ReplaceVehicleWindow.
|
2009-10-11 11:47:21 +00:00 |
smatz
|
32cbe57178
|
(svn r17692) -Codechange: minor coding style fixes
|
2009-10-04 17:10:57 +00:00 |
rubidium
|
17313b6e3f
|
(svn r17530) -Codechange: use QSortT instead of qsort for sorting EngineIDs
|
2009-09-13 17:47:07 +00:00 |
rubidium
|
e69e3378b0
|
(svn r17367) -Codechange: make the autoreplace, bridge and build vehicle GUIs use the scrollbar wrappers
|
2009-09-02 07:17:15 +00:00 |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
rubidium
|
1fe3ad3288
|
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
|
2009-08-05 17:59:21 +00:00 |
alberth
|
d0a47fc1b4
|
(svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field.
|
2009-07-16 16:22:23 +00:00 |
rubidium
|
fd589b90e8
|
(svn r16841) -Cleanup: spaces/tabs where they don't belong
|
2009-07-16 10:01:32 +00:00 |
belugas
|
6262d3bb73
|
(svn r16611) -Doc Fix(r16606): "then" became "the" and now is gone.
In other words, fix a comment ;)
|
2009-06-20 23:22:46 +00:00 |
alberth
|
c1ef6abc6a
|
(svn r16606) -Doc: Added/fixed doxygen comments.
|
2009-06-20 15:48:55 +00:00 |
yexo
|
2a5a8f395c
|
(svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting
|
2009-05-26 13:29:01 +00:00 |
smatz
|
6221d74644
|
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
|
2009-05-16 23:34:14 +00:00 |
yexo
|
31eff1d4c3
|
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
|
2009-05-15 23:55:06 +00:00 |
rubidium
|
7dd677ced2
|
(svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings.
|
2009-04-26 15:26:19 +00:00 |
rubidium
|
59d45a04d6
|
(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.
|
2009-04-21 23:40:56 +00:00 |
alberth
|
9d2738b9c4
|
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
|
2009-03-29 09:49:11 +00:00 |
yexo
|
289837b95f
|
(svn r15870) -Codechange: New widgets for the autoreplace window.
|
2009-03-28 04:26:43 +00:00 |
rubidium
|
dfe5dad5f6
|
(svn r15807) -Codechange: let the build vehicle gui helper function pass around left and right instead of only left and assuming infinite width.
|
2009-03-22 11:06:25 +00:00 |
alberth
|
70d0f8857e
|
(svn r15802) -Codechange: Complete autoreplace GUI widget numbers and add them as comment
|
2009-03-22 09:04:15 +00:00 |
rubidium
|
45f189fdca
|
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
|
2009-03-21 20:12:12 +00:00 |
rubidium
|
f9def73be6
|
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
|
2009-03-15 15:12:06 +00:00 |
rubidium
|
b25a4f8231
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
2009-03-15 00:32:18 +00:00 |
rubidium
|
9d018723b7
|
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
|
2009-03-14 18:16:29 +00:00 |
peter1138
|
3728df8323
|
(svn r15448) -Codechange: Don't show rail types in selection drop downs if they have no label.
|
2009-02-11 18:10:12 +00:00 |
rubidium
|
90e2465d7d
|
(svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window
|
2009-02-09 02:33:10 +00:00 |
rubidium
|
9907742a0f
|
(svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness.
|
2009-02-09 01:06:23 +00:00 |
rubidium
|
377ce6c5bf
|
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
|
2009-02-08 12:25:13 +00:00 |
rubidium
|
ac7757324e
|
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
|
2009-02-04 16:59:41 +00:00 |
smatz
|
0d3f5e6e74
|
(svn r15299) -Cleanup: remove many redundant includes
|
2009-01-31 20:16:06 +00:00 |
rubidium
|
1ef953e4a5
|
(svn r14989) -Codechange: remove a lookup table by reordering some items in english.txt (Swallow)
|
2009-01-11 14:01:45 +00:00 |
rubidium
|
87e5a8b52b
|
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
|
2008-12-28 14:37:19 +00:00 |
rubidium
|
b650a86e58
|
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
|
2008-09-30 20:51:04 +00:00 |
rubidium
|
3b798599b6
|
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
|
2008-09-30 20:39:50 +00:00 |
peter1138
|
ff07598ce2
|
(svn r14157) -Codechange: Add and use string properties for rail types instead of relying on consecutive string IDs.
|
2008-08-24 21:31:24 +00:00 |
frosch
|
4eae917c1c
|
(svn r14037) -Fix (r8610): The autoreplace gui showed vehicle types for replacement which CmdSetAutoReplace() did not accept.
|
2008-08-10 15:02:21 +00:00 |
belugas
|
1737ce45e3
|
(svn r13887) -Codechange: Replace numbers with Colours enum on autoreplace, build_vehicle, cheat, depot and dock guis.
The fact that it goes alphabetically is pure coincidence.
|
2008-07-31 02:36:01 +00:00 |
frosch
|
1f31e117f0
|
(svn r13850) -Fix [FS#2146]: Fix resp. implement refitting of articulated vehicles during autoreplace.
|
2008-07-27 15:17:16 +00:00 |
frosch
|
91486b116b
|
(svn r13840) -Fix: Some glitches in the autoreplace GUI.
|
2008-07-26 17:55:49 +00:00 |
peter1138
|
49769dffba
|
(svn r13784) -Codechange: Truncate vehicle names in purchase list to width of window.
|
2008-07-22 16:13:42 +00:00 |
peter1138
|
00e052ad39
|
(svn r13760) -Codechange: With multiple NewGRF engine sets, engine IDs may not be allocated in the order expected by GRF authors, so sort by 'list position' instead of engine ID for all vehicle types.
|
2008-07-20 21:21:51 +00:00 |
peter1138
|
f954a93ee0
|
(svn r13314) -Codechange: Switch EngineList from std::vector to GUIList
|
2008-05-28 17:29:27 +00:00 |
peter1138
|
f44a2c38f8
|
(svn r13313) -Fix-ish (r13306): List was copied in another place the autoreplace gui...
|
2008-05-28 17:08:45 +00:00 |
peter1138
|
bb00206736
|
(svn r13306) -Fix (r8362): Pass engine list by pointer instead of making a copy of it.
|
2008-05-28 10:29:48 +00:00 |
peter1138
|
f7a9c4f522
|
(svn r13287) -Codechange: move engine list gui code away from engine.cpp (and its headers) to engine_gui.cpp
|
2008-05-27 12:24:23 +00:00 |
rubidium
|
27c38052b7
|
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
|
2008-05-19 09:48:47 +00:00 |
rubidium
|
87015f5b63
|
(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so window_gui.h only needs to be included in *_gui.cpp.
|
2008-05-17 13:01:30 +00:00 |
rubidium
|
8b54212900
|
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
|
2008-05-17 12:48:06 +00:00 |
rubidium
|
bb3bd587a6
|
(svn r13076) -Fix [FS#2012]: the wrong autoreplace window would be shown if the vehicle isn't a train.
|
2008-05-13 21:16:23 +00:00 |
rubidium
|
dddfaaac7d
|
(svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore.
|
2008-05-13 14:43:33 +00:00 |
rubidium
|
e63137f47f
|
(svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors.
|
2008-05-11 11:41:18 +00:00 |
rubidium
|
b47a151bce
|
(svn r13037) -Codechange: make a class of the ReplaceVehicle window.
-Fix [FS#1997]: MSVC 64 bit build failing to compile due to std::vectors being very large..
|
2008-05-10 23:44:15 +00:00 |
rubidium
|
c32559ac12
|
(svn r13035) -Codechange: remove two needless global-ish variables.
|
2008-05-10 22:43:33 +00:00 |
glx
|
0b37b81956
|
(svn r13019) -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc)
|
2008-05-08 20:05:32 +00:00 |
rubidium
|
23fc96c3e8
|
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
|
2008-05-08 11:50:34 +00:00 |
smatz
|
3445b8054c
|
(svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT
|
2008-05-07 18:31:29 +00:00 |
rubidium
|
9bf519f26b
|
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
|
2008-05-06 22:08:18 +00:00 |
rubidium
|
d03994098b
|
(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.
|
2008-05-06 15:11:33 +00:00 |
peter1138
|
a00371c8db
|
(svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
2008-04-29 21:31:29 +00:00 |
peter1138
|
5ca6fd67fc
|
(svn r12917) -Codechange: standardise variable names called with FOR_ALL_ENGINEIDS_OF_TYPE
|
2008-04-29 07:11:54 +00:00 |
bjarni
|
501b89b8de
|
(svn r12843) -Feature [FS#1945]: The autoreplace window is now resizable in both directions
The code to open this window is also unified for all vehicle types
|
2008-04-22 23:16:36 +00:00 |
belugas
|
da134d5a39
|
(svn r12837) -Codechange: Alignment of widget array
|
2008-04-22 14:40:09 +00:00 |
rubidium
|
ef2be7d0fc
|
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
2008-03-31 00:17:39 +00:00 |
rubidium
|
878489e38d
|
(svn r12469) -Codechange: split type related stuff from group.h (and openttd.h) to group_type.h.
|
2008-03-28 16:34:50 +00:00 |
peter1138
|
a528dc89c7
|
(svn r12054) -Cleanup: Use VehicleType instead of byte for vehicle types...
|
2008-02-04 11:28:12 +00:00 |
peter1138
|
2fc2188127
|
(svn r11989) -Fix: Resize autoreplace window to fit purchase information text if it is too large.
|
2008-01-26 21:02:35 +00:00 |