summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
AgeCommit message (Collapse)Author
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
2009-11-24(svn r18274) -Codechange: remove the unused WDF flagsrubidium
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 r18213) -Codechange: it's not needed to manually set the fill, (re)size ↵rubidium
and tooltip for scrollbars
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-17(svn r18152) -Codechange: remove the 'minimum window size' from the ↵rubidium
WindowDesc; it's determined from the (nested) widgets
2009-11-17(svn r18151) -Codechange: Let industry build/found widgets fill the window.peter1138
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-11-13(svn r18057) -Codechange: replace assert_compile() by new one which works ↵smatz
with gcc3.3 and removes the need of assert_tcompile()
2009-10-31(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string ↵alberth
before the details string. Gentlemen, swap your string parameters.
2009-10-24(svn r17859) -Codechange: make the fund/build/prospect industry window nestedrubidium
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 r17828) -Codechange: Variable declaration code style, and a few comment ↵alberth
typo-ish fixes.
2009-10-18(svn r17810) -Codechange/Fix: Add assert_tcompile() and use it.frosch
OTTD's traditional assert_compile() does not work inside templates for gcc compilers, static_assert() does though. The new assert_tcompile() resolves into static_assert() if present, or into a runtime assert() else.
2009-10-18(svn r17802) -Feature(ette) [FS#1862]: [NewGRF] Textstack support for CB 37.frosch
2009-10-18(svn r17799) -Codechange: industry view window uses pure nested widgets.alberth
2009-10-18(svn r17798) -Codechange: Introduce new constant WD_PAR_VSEP_WIDE for large ↵alberth
amount of space between text.
2009-10-18(svn r17797) -Codechange: Use parameters of new function, introduce ↵alberth
constants for hardcoded numbers.
2009-10-18(svn r17796) -Codechange: Move drawing of the industry info to its own function.alberth
2009-10-17(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with ↵rubidium
wrong 'size') upon reiniting windows
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-21(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'smatz
2009-09-19(svn r17572) -Codechange: Use the Window::GetWidget() function to access ↵alberth
nested widgets through the nested_array.
2009-09-14(svn r17534) -Codechange: unify the naming of callback masks/flagsrubidium
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-07(svn r17445) -Fix (r17318): force resort after changing sort type in the ↵smatz
industry list window
2009-09-05(svn r17423) -Fix [FS#3174]: Show '- None -' with empty town or industry ↵alberth
list, and use that text in the size computation as well.
2009-09-04(svn r17414) -Codechange: only send/read the number of bits that can be ↵rubidium
actually useful when building industries
2009-09-02(svn r17369) -Codechange: make the depot, group and industry GUIs use the ↵rubidium
scrollbar wrappers
2009-08-30(svn r17322) -Codechange: make the industry directory window nested.rubidium
2009-08-30(svn r17320) -Codechange: move the code to determine the string and set ↵rubidium
dparams of industries in the industry directory out of OnPaint
2009-08-30(svn r17319) -Codechange: replace some magic numbers related to ↵rubidium
locations/sizes with the appropriate variables in the industry directory
2009-08-30(svn r17318) -Codechange: remove state changes from the OnPaint of the ↵rubidium
industry directory