summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
AgeCommit message (Collapse)Author
2010-08-15(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.alberth
2010-08-15(svn r20496) -Codechange: Remove IsProductionMinimum()/Maximum(). The 0 and ↵frosch
255 constants are used all over the place, no need for trivial wrapper functions.
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-10(svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then ↵rubidium
converting it to 64 bits
2010-08-08(svn r20415) -Add: Clicking at the smallmap disables updates from the ↵alberth
industry chain window.
2010-08-08(svn r20414) -Feature: Enable industries in the smallmap displayed in the ↵alberth
industry chain window.
2010-08-08(svn r20412) -Codechange: Replace an if by a switch in ↵alberth
IndustryCargoesWindow::OnClick.
2010-08-07(svn r20397) -Feature: Display industry smallmap colour in the industry ↵alberth
chain window.
2010-08-06(svn r20387) -Fix [FS#4000]: Allow the industry-chain button for ↵alberth
non-fundable industries, and disallow for the 'many random industries'.
2010-08-06(svn r20386) -Fix: Initialize fund-industry buttons when opening window.alberth
2010-08-06(svn r20385) -Codechange: Move updating of buttons in the fund-industry ↵alberth
window to a method.
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-31(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.alberth
2010-07-30(svn r20241) -Codechange: Move variable declarations to their first use.alberth
2010-07-26(svn r20223) -Codechange: Replace scrolled row calculations by a call to ↵alberth
GetScrolledRowFromWidget().
2010-07-25(svn r20216) -Fix: Increase scrolling speed of industry cargoes window, ↵alberth
enlarge height slightly so small chains fit by default.
2010-07-23(svn r20210) -Fix (r20206): Allow other compilers to enjoy the new window too.alberth
2010-07-23(svn r20209) -Add: Allow access to the industry cargoes window from the fund ↵alberth
industry window.
2010-07-23(svn r20208) -Add: Allow access of the industry cargoes window from the ↵alberth
industry view window.
2010-07-23(svn r20207) -Codechange: Move variable declaration to first use.alberth
2010-07-23(svn r20206) -Feature: Display suppliers and customers of an industry or cargo.alberth
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-19(svn r20190) -Codechange: unVARDEF _generate_world and move it to genworldrubidium
2010-07-07(svn r20086) -Add: Textstack support for CB 38.frosch
2010-06-05(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into ↵frosch
DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
2010-05-31(svn r19914) -Codechange: Wrap a helper class around temporary assignments ↵frosch
of _current_company to ensure proper restoration.
2010-04-24(svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled ↵rubidium
callbacks and values of variables
2010-04-23(svn r19701) -Fix [FS#3787]: Check for industry availability more thoroughly ↵frosch
and cancel object placement when selecting not available industries.
2010-04-02(svn r19538) -Fix: sorting industries by production was broken for newgrf ↵yexo
industries
2010-03-28(svn r19522) -Feature: Sort industries alphabetically at the fund new ↵terkhen
industry window.
2010-03-28(svn r19521) -Codechange: Use a IndustryType array to sort industries by ↵terkhen
name instead of a LegendAndColour array.
2010-03-14(svn r19423) -Codechange: Move error message reporting of industry build in ↵alberth
SE to a callback.
2010-02-24(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bitsmatz
2010-02-20(svn r19176) -Fix [FS#3632] (r17859): when selecting "build many industries" ↵yexo
in the scenario editor the "build" button wasn't enabled
2010-02-10(svn r19087) -Codechange: some typos in StringIDsrubidium
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-04(svn r18717) -Codechange: use TileArea in industry instead of three separate ↵rubidium
variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
2010-01-03(svn r18707) -Fix (r17802): local variables should not be accessed after the ↵yexo
function returns
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-15(svn r18512) -Fix (r17859) [FS#3376]: assert when clicking the industry ↵yexo
button in the scenario editor
2009-12-09(svn r18447) -Change: make some more windows (e.g. graphs, company view) ↵rubidium
stickyable
2009-11-29(svn r18342) -Fix: erroneous spaces before ;rubidium
2009-11-28(svn r18322) -Codechange: remove the WDP duplication; no need to tell the ↵rubidium
same twice.
2009-11-24(svn r18280) -Codechange: remove widget indices that are not needed for ↵rubidium
custom drawing/handling input
2009-11-24(svn r18277) -Codechange: remove unneeded widget indices for close, resize ↵rubidium
and sticky boxes and for window captions