summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
AgeCommit message (Collapse)Author
2010-08-12(svn r20465) -Codechange: Use NWID_SELECTION to hide horizontal scrollbar ↵frosch
and 'sell chain' button for non-train depot windows.
2010-08-12(svn r20464) -Codechange/Fix: Do not use a scrollbar to store the number of ↵frosch
columns for non-train depot windows.
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 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 r20286) -Codechange: Unify end of doxygen comments.frosch
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-14(svn r20145) -Codechange: keep original RMB->tooltip behaviour when hovering ↵rubidium
is disabled and there is no handled right click event for the widget, i.e. if a widget would handle the right click you won't see the tooltip anymore by right clicking; by enabling hovering you would get access to that tooltip again.
2010-07-11(svn r20121) -Add: OnHover method for windows.terkhen
2010-07-11(svn r20120) -Feature [FS#3913]: Tooltips are shown by hovering the mouse ↵terkhen
over a widget instead of by right clicking on it.
2010-05-23(svn r19888) -Add [FS#3705]: Add highlighting of drag destination in depot ↵alberth
gui (sbr).
2010-05-12(svn r19801) -Add [FS#3691]: custom naming of depots. Based on work by sbrrubidium
2010-05-12(svn r19796) -Codechange: introduce and use a {DEPOT} string commandrubidium
2010-04-24(svn r19714) -Feature: ctrl+click on a vehicle to start/stop itsmatz
2010-04-24(svn r19710) -Codechange: deduplicate GUI code for starting/stopping vehiclessmatz
2010-04-18(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer ↵frosch
divisions with rounding.
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
2010-01-11(svn r18781) -Codechange: pass the CommandCost to the callback instead of ↵rubidium
whether it succeeded or not. -Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
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-12-20(svn r18575) -Fix [FS#3393]: unit numbers weren't always fully shown in the ↵rubidium
depot
2009-12-06(svn r18414) -Fix: In the depot window, 'free' wagons were not drawn ↵peter1138
resize.step_height apart
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 r18231) -Fix: Enable filling of matrix widget in the depot gui.alberth
2009-11-22(svn r18230) -Codechange: Allow fill stepsize to be set from ↵alberth
Window::UpdateWidgetSize().
2009-11-22(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.alberth
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-22(svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' ↵rubidium
from WWT_RESIZEBOX instances
2009-11-18(svn r18163) -Codechange: make the depot GUI RTL awarerubidium
2009-11-17(svn r18157) -Codechange: some minor tweaks of the boundaries of strings ↵rubidium
etc. in the depot window
2009-11-17(svn r18154) -Codechange: let the depot window better scale with bigger fontsrubidium
2009-11-17(svn r18152) -Codechange: remove the 'minimum window size' from the ↵rubidium
WindowDesc; it's determined from the (nested) widgets
2009-11-17(svn r18145) -Codechange: pass the 'proper' left and right values to ↵rubidium
DrawVehicleInDepot
2009-11-16(svn r18133) -Codechange: pass the 'maximum' left/right positions to Draw*Imagerubidium
2009-11-16(svn r18128) -Codechange: rename GetVehicleListHeight to GetVehicleHeight as ↵rubidium
it has nothing to do with the height of the vehicle lists.
2009-11-16(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar ↵rubidium
capacity/matrix initialisation
2009-11-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
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 r17833) -Codechange: Depot gui should use relative widget coordinates ↵alberth
for clicking.
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-17(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with ↵rubidium
wrong 'size') upon reiniting windows
2009-10-11(svn r17760) -Revert (r17648): _local_company is less constant than you'd ↵alberth
expect.
2009-09-27(svn r17653) -Fix (r17649): Widgets at the bottom button bar of the depot ↵alberth
window should adapt to differences in height.
2009-09-27(svn r17652) -Codechange: Merging/renaming the depot block-size functions.alberth
2009-09-26(svn r17650) -Codechange: Checking a condition once is enough.alberth