alberth
22b967676e
(svn r26811) -Fix[FS#6108]: Fixed spelling error in widget name.
10 years ago
alberth
b4a87e7f45
(svn r26805) -Feature: Allow hiding of non-interesting engines in the autoreplace GUI.
10 years ago
alberth
eb41511cd1
(svn r26801) -Add: Labels above the lists in the autoreplace GUI.
10 years ago
alberth
81d2bdbf47
(svn r26800) -Feature[FS#1640]: Vehicle sorting in autoreplace GUI.
10 years ago
alberth
0e3647d4e3
(svn r26799) -Codechange: Export vehicle sorting data and functions.
10 years ago
alberth
83f0b02ff5
(svn r26798) -Codechange: Code style fixes.
10 years ago
frosch
1b0929a9f0
(svn r26640) -Cleanup: Remove some pointless STR_JUST_STRING detours.
10 years ago
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
11 years ago
frosch
6872e8c63c
(svn r25919) -Change [FS#5734]: Preselect the current replacement in the right-side list of the autoreplace GUI, instead of selecting the first resp. previous item.
11 years ago
frosch
43ec0bf0c1
(svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of rows and columns from the resize step size.
11 years ago
frosch
98fdd20f84
(svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX widgets.
11 years ago
frosch
4e4e635916
(svn r25294) -Feature: Add another button to window title bars to resize the window to its default size.
12 years ago
frosch
8157a8afd8
(svn r25290) -Add: Assign string names to notable windows.
12 years ago
frosch
56e4a8c4d6
(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.
12 years ago
peter1138
13e8656804
(svn r24939) -Fix: Redraw autoreplace window properly in network games.
12 years ago
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
frosch
03736af2ae
(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.
12 years ago
frosch
8ec00c4cc9
(svn r24321) -Change/Fix [FS#4254]: [NewGRF] Group vehicles in the purchase list properly by source GRF, but also consider engine GRFID overrides.
13 years ago
frosch
bd4f090730
(svn r24202) -Change: Make the size of the details in the autoreplace GUI match more the size of the details in the purchase list.
13 years ago
michi_cc
8b65e041eb
(svn r24140) -Add [FS#1117]: Group name in the replace vehicle window caption. (Juanjo)
13 years ago
michi_cc
6a70abbd99
(svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor)
13 years ago
frosch
99c1f8af97
(svn r23863) -Fix (r22981): '' != ' == 0'.
13 years ago
rubidium
6d6be50ae0
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
truebrain
e9f584ac21
(svn r23531) -Codechange: document and rename widgets to be consistent and understandable
13 years ago
truebrain
2aa774e831
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
13 years ago
frosch
dd74536bef
(svn r22981) -Add: GroupStatistics for the ALL_GROUP.
13 years ago
rubidium
ff143c6708
(svn r22413) -Document: even more stuff
14 years ago
frosch
652c9cb663
(svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope.
14 years ago
frosch
ec9540a12a
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
14 years ago
frosch
1a3a1e3b0c
(svn r22133) -Fix: some coding style.
14 years ago
rubidium
7eba2bf4d3
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
rubidium
289206b033
(svn r21868) -Fix (r21866 and some more): the changes to the main toolbar rail types dropdown should happen for the autoreplace dropdown as well
14 years ago
frosch
9e538acc03
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
14 years ago
frosch
037d2ed436
(svn r20455) -Codechange: Rename some vscroll and vscroll2 to more suitable names.
14 years ago
frosch
71ca58c2bb
(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
...
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
14 years ago
frosch
10339c60c0
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
14 years ago
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
alberth
4203e641f8
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
14 years ago
alberth
22b9bc5157
(svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine().
14 years ago
yexo
e6e2e8b473
(svn r19187) -Fix [FS#3634]: the vehicle info in the autoreplace gui was drawn even when the window was shaded
15 years ago
frosch
88019e64e1
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
15 years ago
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
alberth
91872aca48
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
15 years ago
alberth
5a083f183e
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
15 years ago
rubidium
293dfd7c3e
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
15 years ago
rubidium
14300d309c
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
15 years ago
rubidium
69b6d9309a
(svn r18274) -Codechange: remove the unused WDF flags
15 years ago
rubidium
cf354803d6
(svn r18238) -Codechange: make the autoreplace window big font aware
15 years ago
rubidium
747e123307
(svn r18235) -Fix: like r18233, but for the non-trains
15 years ago
alberth
5087bb545b
(svn r18233) -Fix: Fix matrix widget of the autoreplace gui.
15 years ago
alberth
450e40b997
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
15 years ago
alberth
bf93372ca2
(svn r18220) -Codechange: Reduce number of nested widget dynamic casts.
15 years ago
rubidium
d913282e7a
(svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
15 years ago
rubidium
5f2ddfbc5a
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
15 years ago
rubidium
e7dd53dffc
(svn r18119) -Codechange/Fix: always call OnResize so the matrices/scrollbars are initialised without the need for duplicating the OnResize code
15 years ago
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.
15 years ago
rubidium
f025475535
(svn r18117) -Codechange: don't pass the location of the vehicle count but whether to show the vehicle count
15 years ago
rubidium
3d2d7af88f
(svn r18086) -Codechange: remove 'widget' from WindowDesc
15 years ago
rubidium
d41302c310
(svn r18071) -Codechange: remove the need for {SKIP} in the autoreplace window + strings
15 years ago
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
15 years ago
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.
15 years ago
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.
15 years ago
alberth
7658bac2b5
(svn r17823) -Codechange: Use top of the matrix widget as offset for row calculation in autoreplace window.
15 years ago
frosch
41037308c0
(svn r17803) -Codechange: Remove update_(left|right) in favour of the rebuild flag of GUIList.
15 years ago
alberth
22ddb90fdb
(svn r17785) -Codechange: autoreplace window uses pure nested widgets.
15 years ago
alberth
0c766b913c
(svn r17784) -Codechange: Replace 'i' with 'side' when side is intended in the autoreplace window.
15 years ago
alberth
13c1694158
(svn r17783) -Codechange: Remove local pointer variable 'widget' from autoreplace window.
15 years ago
alberth
06e5ae020a
(svn r17781) -Codechange: Remove local variable 'selected_group' from autoreplace window.
15 years ago
alberth
f78bd1016c
(svn r17780) -Codechange: A bit more code style in the autoreplace window.
15 years ago
alberth
c3961b7a64
(svn r17764) -Codechange: Replace 'list' class variable in ReplacceVehicleWindow by 'engines'.
15 years ago
alberth
54b8523936
(svn r17763) -Codechange: Rename 'wagon_btnstate' to 'replace_engines', and 'init_lists' to 'reset_sel_engine' in ReplaceVehicleWindow, add doxygen comments.
15 years ago
alberth
321139782d
(svn r17761) -Codechange: Removed some unused/unneeded variables from ReplaceVehicleWindow.
15 years ago
smatz
32cbe57178
(svn r17692) -Codechange: minor coding style fixes
15 years ago
rubidium
17313b6e3f
(svn r17530) -Codechange: use QSortT instead of qsort for sorting EngineIDs
15 years ago
rubidium
e69e3378b0
(svn r17367) -Codechange: make the autoreplace, bridge and build vehicle GUIs use the scrollbar wrappers
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
alberth
d0a47fc1b4
(svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field.
15 years ago
rubidium
fd589b90e8
(svn r16841) -Cleanup: spaces/tabs where they don't belong
15 years ago
belugas
6262d3bb73
(svn r16611) -Doc Fix(r16606): "then" became "the" and now is gone.
...
In other words, fix a comment ;)
16 years ago
alberth
c1ef6abc6a
(svn r16606) -Doc: Added/fixed doxygen comments.
16 years ago
yexo
2a5a8f395c
(svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting
16 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
yexo
31eff1d4c3
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
16 years ago
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.
16 years ago
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.
16 years ago
alberth
9d2738b9c4
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
16 years ago
yexo
289837b95f
(svn r15870) -Codechange: New widgets for the autoreplace window.
16 years ago
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.
16 years ago
alberth
70d0f8857e
(svn r15802) -Codechange: Complete autoreplace GUI widget numbers and add them as comment
16 years ago
rubidium
45f189fdca
(svn r15785) -Codechange: remove the *Truncated part of the old text drawing API.
16 years ago
rubidium
f9def73be6
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
16 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
rubidium
9d018723b7
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
16 years ago
peter1138
3728df8323
(svn r15448) -Codechange: Don't show rail types in selection drop downs if they have no label.
16 years ago
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
16 years ago
rubidium
9907742a0f
(svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness.
16 years ago
rubidium
377ce6c5bf
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
16 years ago
rubidium
ac7757324e
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
16 years ago