summaryrefslogtreecommitdiff
path: root/src/autoreplace_gui.cpp
AgeCommit message (Collapse)Author
2009-10-27(svn r17892) -Feature [FS#1760]: automatically select the railtype with the ↵rubidium
most engines for the autoreplace window/try to avoid showing an empty autoreplace list
2009-10-24(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was ↵rubidium
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-20(svn r17830) -Fix [FS#3276]: Some windows already need their window_number ↵frosch
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(svn r17823) -Codechange: Use top of the matrix widget as offset for row ↵alberth
calculation in autoreplace window.
2009-10-18(svn r17803) -Codechange: Remove update_(left|right) in favour of the ↵frosch
rebuild flag of GUIList.
2009-10-17(svn r17785) -Codechange: autoreplace window uses pure nested widgets.alberth
2009-10-17(svn r17784) -Codechange: Replace 'i' with 'side' when side is intended in ↵alberth
the autoreplace window.
2009-10-17(svn r17783) -Codechange: Remove local pointer variable 'widget' from ↵alberth
autoreplace window.
2009-10-17(svn r17781) -Codechange: Remove local variable 'selected_group' from ↵alberth
autoreplace window.
2009-10-17(svn r17780) -Codechange: A bit more code style in the autoreplace window.alberth
2009-10-11(svn r17764) -Codechange: Replace 'list' class variable in ↵alberth
ReplacceVehicleWindow by 'engines'.
2009-10-11(svn r17763) -Codechange: Rename 'wagon_btnstate' to 'replace_engines', and ↵alberth
'init_lists' to 'reset_sel_engine' in ReplaceVehicleWindow, add doxygen comments.
2009-10-11(svn r17761) -Codechange: Removed some unused/unneeded variables from ↵alberth
ReplaceVehicleWindow.
2009-10-04(svn r17692) -Codechange: minor coding style fixessmatz
2009-09-13(svn r17530) -Codechange: use QSortT instead of qsort for sorting EngineIDsrubidium
2009-09-02(svn r17367) -Codechange: make the autoreplace, bridge and build vehicle ↵rubidium
GUIs use the scrollbar wrappers
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-07-16(svn r16845) -Codechange: Introduction of constants for describing the bits ↵alberth
in a WWT_MATRIX data field.
2009-07-16(svn r16841) -Cleanup: spaces/tabs where they don't belongrubidium
2009-06-20(svn r16611) -Doc Fix(r16606): "then" became "the" and now is gone.belugas
In other words, fix a comment ;)
2009-06-20(svn r16606) -Doc: Added/fixed doxygen comments.alberth
2009-05-26(svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it ↵yexo
with calls to CmdChangeCompanySetting
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-15(svn r16315) -Codechange: move the autorenew settings to a new ↵yexo
CompanySettings struct
2009-04-26(svn r16162) -Codechange: remove needless TC_ colours from DrawString when ↵rubidium
they are part of strings and add some colours to a few strings.
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-03-29(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() ↵alberth
callback
2009-03-28(svn r15870) -Codechange: New widgets for the autoreplace window.yexo
2009-03-22(svn r15807) -Codechange: let the build vehicle gui helper function pass ↵rubidium
around left and right instead of only left and assuming infinite width.
2009-03-22(svn r15802) -Codechange: Complete autoreplace GUI widget numbers and add ↵alberth
them as comment
2009-03-21(svn r15785) -Codechange: remove the *Truncated part of the old text drawing ↵rubidium
API.
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-02-11(svn r15448) -Codechange: Don't show rail types in selection drop downs if ↵peter1138
they have no label.
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-09(svn r15423) -Codechange: split widget related types to their own header and ↵rubidium
add a bit of type strictness.
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2009-02-04(svn r15338) -Fix [FS#2598]: close all construction related windows whenever ↵rubidium
changing company.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-11(svn r14989) -Codechange: remove a lookup table by reordering some items in ↵rubidium
english.txt (Swallow)
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-08-24(svn r14157) -Codechange: Add and use string properties for rail types ↵peter1138
instead of relying on consecutive string IDs.
2008-08-10(svn r14037) -Fix (r8610): The autoreplace gui showed vehicle types for ↵frosch
replacement which CmdSetAutoReplace() did not accept.
2008-07-31(svn r13887) -Codechange: Replace numbers with Colours enum on autoreplace, ↵belugas
build_vehicle, cheat, depot and dock guis. The fact that it goes alphabetically is pure coincidence.
2008-07-27(svn r13850) -Fix [FS#2146]: Fix resp. implement refitting of articulated ↵frosch
vehicles during autoreplace.
2008-07-26(svn r13840) -Fix: Some glitches in the autoreplace GUI.frosch