summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
AgeCommit message (Collapse)Author
2011-05-06(svn r22429) -Add: some constants for specific palette colours used in the GUI.frosch
2011-05-04(svn r22421) -Fix: Replace various references to Windows palette greyscale ↵frosch
indices with the DOS palette indices.
2011-04-17(svn r22343) -Change: Remove pixel limiter for query strings.terkhen
2011-03-13(svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope.frosch
2011-03-13(svn r22241) -Codechange: Add additional to-be-used parameter to ↵frosch
OnInvalidateData().
2011-03-08(svn r22228) -Fix (r22135)[FS#4546]: Do not resort town, industry and signs ↵frosch
list directly in OnInvalidateData(). There might be a scheduled rebuild which needs execution first. So, only set a trigger for resorting.
2011-02-06(svn r22001) -Codechange: Rename difficulty.number_industries to ↵alberth
difficulty.industry_density.
2011-02-06(svn r22000) -Codechange: Introduce an enum for the industry density setting.alberth
2011-01-30(svn r21927) -Change: Comment-style fixes.alberth
2011-01-26(svn r21909) -Fix: some missing spacesrubidium
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-12-30(svn r21665) -Codechange: Make GetCallbackWnd a method of _thd.alberth
2010-12-24(svn r21627) -Codechange: Remove _place_proc global variable.alberth
2010-12-12(svn r21477) -Fix [FS#4300]: tooltips were removed when their related window ↵rubidium
got closed
2010-12-04(svn r21389) -Feature: Use alphabetical order when sorting industries by ↵terkhen
type at the industry directory window.
2010-11-27(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.terkhen
2010-11-27(svn r21341) -Add: Use the complete industry name instead of only the town ↵terkhen
when sorting industries by name.
2010-11-26(svn r21331) -Codechange: Make drawing the widgets default behaviour in ↵alberth
OnPaint().
2010-11-13(svn r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2010-10-30(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)alberth
2010-10-23(svn r21021) -Add [FS#4171]: Center industry gui and waypoint gui after ↵alberth
resize (partly by Krille).
2010-10-23(svn r21019) -Add: Use center of industry to focus on in the industry gui.alberth
2010-10-19(svn r20997) -Fix: Size of sort buttons for order and vehicle list gui could ↵planetmaker
be too small
2010-10-04(svn r20902) -Fix [FS#4032]: Make IsProductionAlterable() work for most ↵frosch
NewGRF industries. The NewGRF either has to use properties 12/13, or it needs to set property 0B to 'primary industry'. So it will not work for bank-like industries which use pure production-callback production.
2010-10-04(svn r20901) -Fix/Change: When using non-smooth or newgrf-economy changing ↵frosch
production rates does not work (anymore), so allow changing the production multiplier instead.
2010-10-04(svn r20899) -Codechange: Switch order of if-tests in ↵frosch
IndustryViewWindow::OnClick().
2010-10-04(svn r20898) -Change: When entering a production rate, round to nearest ↵frosch
possible rate instead towards zero.
2010-10-04(svn r20897) -Codechange: Store the result of IsProductionAlterable() in a ↵frosch
member variable of IndustryViewWindow.
2010-10-04(svn r20895) -Codechange: Use an enum to identify the rows of buttons in the ↵frosch
industryview.
2010-10-03(svn r20892) -Fix (maybe r10624): Scenario editor resp. cheat-buttons to ↵frosch
alter industry production did not work for large industry windows.
2010-09-22(svn r20837) -Fix [FS#4132]: Set height of industry directory to 5 lines ↵frosch
like other lists.
2010-09-05(svn r20751) -Fix: IndustryCargoesWindow::HousesCanAccept() did not check ↵frosch
climate-availability of houses.
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
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