summaryrefslogtreecommitdiff
path: root/src/autoreplace_gui.cpp
AgeCommit message (Collapse)Author
2009-11-22(svn r18238) -Codechange: make the autoreplace window big font awarerubidium
2009-11-22(svn r18235) -Fix: like r18233, but for the non-trainsrubidium
2009-11-22(svn r18233) -Fix: Fix matrix widget of the autoreplace gui.alberth
2009-11-22(svn r18230) -Codechange: Allow fill stepsize to be set from ↵alberth
Window::UpdateWidgetSize().
2009-11-22(svn r18220) -Codechange: Reduce number of nested widget dynamic casts.alberth
2009-11-22(svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, ↵rubidium
WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
2009-11-17(svn r18152) -Codechange: remove the 'minimum window size' from the ↵rubidium
WindowDesc; it's determined from the (nested) widgets
2009-11-16(svn r18119) -Codechange/Fix: always call OnResize so the ↵rubidium
matrices/scrollbars are initialised without the need for duplicating the OnResize code
2009-11-16(svn r18118) -Codechange: improve behaviour of the engine lists (both build ↵rubidium
vehicle/autoreplace) w.r.t. large(r) fonts and RTL. RTL support for 'wider than usual' vehicles is still needed though.
2009-11-16(svn r18117) -Codechange: don't pass the location of the vehicle count but ↵rubidium
whether to show the vehicle count
2009-11-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-11-14(svn r18071) -Codechange: remove the need for {SKIP} in the autoreplace ↵rubidium
window + strings
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.