summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
AgeCommit message (Collapse)Author
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
2009-08-27(svn r17292) -Codechange: use unified ToPercent() function to convert fract ↵smatz
numbers to percents
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-16(svn r17198) -Fix [FS#2406]: Accept monthly production values in the ↵alberth
scenario editor.
2009-08-14(svn r17171) -Doc: Additions and corrections of various doxygen strings.alberth
2009-08-14(svn r17168) -Codechange: apply coding style to if and while statementssmatz
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-07-23(svn r16930) -Codechange: more StringID name unification and groupingrubidium
2009-07-20(svn r16886) -Codechange: unify naming of some string IDs related to string ↵rubidium
codes and group them logically
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz
2009-07-16(svn r16845) -Codechange: Introduction of constants for describing the bits ↵alberth
in a WWT_MATRIX data field.
2009-05-24(svn r16422) -Codechange: use const_cast for removing const and warn when ↵rubidium
const is (accidentally?) removed using C-style casts.
2009-05-22(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and ↵smatz
GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
2009-05-17(svn r16327) -Codechange: replace IsValidPoolItemID(index) by ↵smatz
PoolItem::IsValidID(index)
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-06(svn r16242) -Codechange: rework pausingrubidium
-Fix [FS#2864]: autopause and manual pausing conflict with eachother -Fix: new game + pause on new game + autopause make the game not unpause on the first join
2009-04-26(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for ↵rubidium
DrawString.
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-19(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as ↵rubidium
they are basically the same thing
2009-04-09(svn r15997) -Fix [FS#2811]: multiline string truncation broke extending the ↵rubidium
industry window when there are more lines of information