summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
AgeCommit message (Collapse)Author
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
2009-03-29(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() ↵alberth
callback
2009-03-28(svn r15884) -Codechange: New widgets for the industry windowsglx
2009-03-21(svn r15797) -Codechange: make users of the old DrawStringMultiLine use the ↵rubidium
new one.
2009-03-21(svn r15785) -Codechange: remove the *Truncated part of the old text drawing ↵rubidium
API.
2009-03-15(svn r15726) -Codechange: unify coding style for const pointerssmatz
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-02-08(svn r15410) -Cleanup: get rid of most of the references to the 'patches' ↵rubidium
except where it's used for backward compatability.
2009-02-04(svn r15338) -Fix [FS#2598]: close all construction related windows whenever ↵rubidium
changing company.
2009-02-04(svn r15336) -Fix: do not use _current_company in the GUI as there are no ↵rubidium
guarantees that _current_company is the same as _local_company.