summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
AgeCommit message (Collapse)Author
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
2009-09-26(svn r17649) -Codechange: Depot gui uses pure nested widgets.alberth
2009-09-26(svn r17648) -Codechange: Move type initialization and widget disabling to ↵alberth
the constructor.
2009-09-26(svn r17647) -Codechange: Moving widget array access to outside the function.alberth
2009-09-26(svn r17643) -Codechange: Code style for variables in depot gui.alberth
2009-09-23(svn r17626) -Codechange: Use Dimension structs instead of array of length 2 ↵alberth
for storing horizontal/vertical information.
2009-09-23(svn r17624) -Codechange: Swap entries in _resize_cap[][] so the code does ↵alberth
what the docs say.
2009-09-20(svn r17596) -Codechange: constify some tablessmatz
2009-09-19(svn r17579) -Fix: remove doxygen docs for removed parameters, or change ↵rubidium
@param to @tparam if necessary
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-07(svn r17446) -Codechange: rename BUILD with BUY for strings that are about ↵rubidium
building (in the future buying) vehicles.
2009-09-02(svn r17369) -Codechange: make the depot, group and industry GUIs use the ↵rubidium
scrollbar wrappers
2009-09-02(svn r17368) -Codechange: remove pointless passing of 'this' as parameterrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-20(svn r17228) -Codechange: some coding style fixesrubidium
2009-08-15(svn r17194) -Fix (r17175): Depot sell buttons did not raise again.alberth
2009-08-15(svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text ↵frosch
overlaps less with vehicle images.