summaryrefslogtreecommitdiff
path: root/src/autoreplace_gui.cpp
AgeCommit message (Collapse)Author
2011-02-23(svn r22133) -Fix: some coding style.frosch
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-20(svn r21868) -Fix (r21866 and some more): the changes to the main toolbar ↵rubidium
rail types dropdown should happen for the autoreplace dropdown as well
2010-08-12(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and ↵frosch
WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12(svn r20455) -Codechange: Rename some vscroll and vscroll2 to more suitable ↵frosch
names.
2010-08-12(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll ↵frosch
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.
2010-08-12(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate ↵frosch
scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-26(svn r20223) -Codechange: Replace scrolled row calculations by a call to ↵alberth
GetScrolledRowFromWidget().
2010-07-02(svn r20043) -Codechange: Introduce vertical alignment for ↵alberth
DrawStringMultiLine().
2010-02-21(svn r19187) -Fix [FS#3634]: the vehicle info in the autoreplace gui was ↵yexo
drawn even when the window was shaded
2010-01-30(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a ↵frosch
parameter for OnClick().
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-12-21(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.alberth
2009-12-20(svn r18580) -Codechange: Use widget information only for setting scrollbar ↵alberth
capacity.
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.
2009-11-24(svn r18277) -Codechange: remove unneeded widget indices for close, resize ↵rubidium
and sticky boxes and for window captions
2009-11-24(svn r18274) -Codechange: remove the unused WDF flagsrubidium
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.