Commit Graph

193 Commits (53784dbd9f5ace954f391873983cfb2c73ef5ead)

Author SHA1 Message Date
yexo e0b9aaac4f (svn r18512) -Fix (r17859) [FS#3376]: assert when clicking the industry button in the scenario editor 15 years ago
rubidium 32b86b23b5 (svn r18447) -Change: make some more windows (e.g. graphs, company view) stickyable 15 years ago
rubidium 8c11679381 (svn r18342) -Fix: erroneous spaces before ; 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago
rubidium ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 15 years ago
rubidium 50359b2d08 (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 15 years ago
rubidium f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 15 years ago
alberth 5bee09c924 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 15 years ago
alberth 18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 15 years ago
alberth 8139a8d96f (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 15 years ago
rubidium c227abd7c3 (svn r18213) -Codechange: it's not needed to manually set the fill, (re)size and tooltip for scrollbars 15 years ago
rubidium f106bbbe5c (svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays 15 years ago
rubidium 8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 15 years ago
peter1138 05a6b7bfeb (svn r18151) -Codechange: Let industry build/found widgets fill the window. 15 years ago
rubidium a13fd6ddce (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 15 years ago
rubidium b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 15 years ago
smatz b27a12b8b6 (svn r18057) -Codechange: replace assert_compile() by new one which works with gcc3.3 and removes the need of assert_tcompile() 15 years ago
alberth 5a97b64d73 (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
15 years ago
rubidium 5be6edc6e3 (svn r17859) -Codechange: make the fund/build/prospect industry window nested 15 years ago
rubidium c1365b3cc1 (svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone. 15 years ago
alberth e05313e41d (svn r17828) -Codechange: Variable declaration code style, and a few comment typo-ish fixes. 15 years ago
frosch 966d8d8f52 (svn r17810) -Codechange/Fix: Add assert_tcompile() and use it.
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.
15 years ago
frosch c1e005ac88 (svn r17802) -Feature(ette) [FS#1862]: [NewGRF] Textstack support for CB 37. 15 years ago
alberth aa75552957 (svn r17799) -Codechange: industry view window uses pure nested widgets. 15 years ago
alberth 9c31915368 (svn r17798) -Codechange: Introduce new constant WD_PAR_VSEP_WIDE for large amount of space between text. 15 years ago
alberth 1f3dedea24 (svn r17797) -Codechange: Use parameters of new function, introduce constants for hardcoded numbers. 15 years ago
alberth 9b8030612f (svn r17796) -Codechange: Move drawing of the industry info to its own function. 15 years ago
rubidium b72898c8a3 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
smatz 13437a998e (svn r17603) -Codechange: since now, towns are 'founded' instead of 'built' 15 years ago
alberth d54028fde8 (svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array. 15 years ago
rubidium c2c0f4403e (svn r17534) -Codechange: unify the naming of callback masks/flags 15 years ago
frosch 0e36260337 (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. 15 years ago
smatz 2fafa87aa1 (svn r17445) -Fix (r17318): force resort after changing sort type in the industry list window 15 years ago
alberth a76da0e36a (svn r17423) -Fix [FS#3174]: Show '- None -' with empty town or industry list, and use that text in the size computation as well. 15 years ago
rubidium f3372f6bc1 (svn r17414) -Codechange: only send/read the number of bits that can be actually useful when building industries 15 years ago
rubidium e80d296638 (svn r17369) -Codechange: make the depot, group and industry GUIs use the scrollbar wrappers 15 years ago
rubidium 25b667c1ea (svn r17322) -Codechange: make the industry directory window nested. 15 years ago
rubidium b237655d76 (svn r17320) -Codechange: move the code to determine the string and set dparams of industries in the industry directory out of OnPaint 15 years ago
rubidium 898d070919 (svn r17319) -Codechange: replace some magic numbers related to locations/sizes with the appropriate variables in the industry directory 15 years ago
rubidium 99dda2a3ce (svn r17318) -Codechange: remove state changes from the OnPaint of the industry directory 15 years ago
smatz a0d0206f2d (svn r17292) -Codechange: use unified ToPercent() function to convert fract numbers to percents 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
alberth b31928c033 (svn r17198) -Fix [FS#2406]: Accept monthly production values in the scenario editor. 15 years ago
alberth 0cc8cbd40d (svn r17171) -Doc: Additions and corrections of various doxygen strings. 15 years ago
smatz d64bdb138c (svn r17168) -Codechange: apply coding style to if and while statements 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 4874578e79 (svn r16930) -Codechange: more StringID name unification and grouping 15 years ago
rubidium 39e6dbd5e3 (svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically 15 years ago
smatz 8718babe90 (svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get() 15 years ago