summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
AgeCommit message (Collapse)Author
2012-06-01(svn r24310) -Codechange: Add named constants for the dimensions of settings ↵frosch
buttons, and generally make their usage more consistent.
2012-06-01(svn r24309) -Codechange: Split some functions from gui.h to settings_gui.hfrosch
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2012-01-01(svn r23706) -Codechange: prevent 'unknown command' doxygen errorssmatz
2011-12-16(svn r23534) -Codechange: document and rename widgets to be consistent and ↵truebrain
understandable
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-12-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-12-15(svn r23525) -Codechange: make Window::flags4 WindowFlags instead of uint16, ↵truebrain
with only values known in WindowFlags (and move out 2 timers to their own variable) -Codechange: rename Window::flags4 to Window::flags -Codechange: move some non-inline functions from .hpp to .cpp
2011-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-11-08(svn r23146) -Change: [NewGRF v8] Make callback 22 return a probability to ↵frosch
use instead of property 18.
2011-11-08(svn r23142) -Change: [NewGRF v8] Unify the return values of callbacks ↵frosch
returning D0xx texts.
2011-08-06(svn r22725) -Fix: Always draw NewGRF supplied texts with a default colour.frosch
2011-07-03(svn r22631) -Fix: Additional text in fund industry window is NewGRF ↵frosch
supplied and thus should have a default colour.
2011-07-03(svn r22627) -Codechange: Rename PrepareTextRefStackUsage() to ↵frosch
StartTextRefStackUsage() to make it more obvious that you must call StopTextRefStackUsage() at some point. Also extent the documentation.
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.