alberth
91872aca48
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
2009-12-21 16:24:29 +00:00
alberth
5a083f183e
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
2009-12-20 20:08:39 +00:00
yexo
35b8c8367e
(svn r18512) -Fix (r17859) [FS#3376]: assert when clicking the industry button in the scenario editor
2009-12-15 22:39:58 +00:00
rubidium
ac4ef286f4
(svn r18447) -Change: make some more windows (e.g. graphs, company view) stickyable
2009-12-09 17:10:57 +00:00
rubidium
2e2f72b971
(svn r18342) -Fix: erroneous spaces before ;
2009-11-29 19:20:39 +00:00
rubidium
293dfd7c3e
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
2009-11-28 14:42:35 +00:00
rubidium
8d6e323ef8
(svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input
2009-11-24 21:13:36 +00:00
rubidium
14300d309c
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
2009-11-24 18:05:55 +00:00
rubidium
69b6d9309a
(svn r18274) -Codechange: remove the unused WDF flags
2009-11-24 17:28:29 +00:00
alberth
450e40b997
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
2009-11-22 18:28:14 +00:00
alberth
2b6f792513
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
2009-11-22 18:26:01 +00:00
alberth
bf93372ca2
(svn r18220) -Codechange: Reduce number of nested widget dynamic casts.
2009-11-22 13:22:53 +00:00
rubidium
8204f226f1
(svn r18213) -Codechange: it's not needed to manually set the fill, (re)size and tooltip for scrollbars
2009-11-22 11:24:30 +00:00
rubidium
d913282e7a
(svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
2009-11-22 11:20:12 +00:00
rubidium
5f2ddfbc5a
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
2009-11-17 19:16:48 +00:00
peter1138
063e8adcec
(svn r18151) -Codechange: Let industry build/found widgets fill the window.
2009-11-17 19:12:49 +00:00
rubidium
626de6b128
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
2009-11-16 20:34:57 +00:00
rubidium
3d2d7af88f
(svn r18086) -Codechange: remove 'widget' from WindowDesc
2009-11-15 10:26:01 +00:00
smatz
8d95e16ff1
(svn r18057) -Codechange: replace assert_compile() by new one which works with gcc3.3 and removes the need of assert_tcompile()
2009-11-13 15:53:51 +00:00
alberth
44aacfc59f
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
...
Gentlemen, swap your string parameters.
2009-10-31 19:46:51 +00:00
rubidium
69b20e9a07
(svn r17859) -Codechange: make the fund/build/prospect industry window nested
2009-10-24 19:36:24 +00:00
rubidium
ca0521f89f
(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.
2009-10-24 14:53:55 +00:00
alberth
af9c76eb6f
(svn r17828) -Codechange: Variable declaration code style, and a few comment typo-ish fixes.
2009-10-20 20:06:25 +00:00
frosch
b8f8c60839
(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.
2009-10-18 20:26:29 +00:00
frosch
60188f496d
(svn r17802) -Feature(ette) [FS#1862]: [NewGRF] Textstack support for CB 37.
2009-10-18 15:36:30 +00:00
alberth
c52a26a73f
(svn r17799) -Codechange: industry view window uses pure nested widgets.
2009-10-18 14:10:59 +00:00
alberth
f1e885e0d2
(svn r17798) -Codechange: Introduce new constant WD_PAR_VSEP_WIDE for large amount of space between text.
2009-10-18 13:59:25 +00:00
alberth
00723e694f
(svn r17797) -Codechange: Use parameters of new function, introduce constants for hardcoded numbers.
2009-10-18 13:56:09 +00:00
alberth
29028b3f8a
(svn r17796) -Codechange: Move drawing of the industry info to its own function.
2009-10-18 13:40:11 +00:00
rubidium
d1d35b95b6
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
2009-10-17 14:29:10 +00:00
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00
smatz
15511678e3
(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'
2009-09-21 18:16:00 +00:00
alberth
116c77c342
(svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array.
2009-09-19 11:31:12 +00:00
rubidium
64bafcbe18
(svn r17534) -Codechange: unify the naming of callback masks/flags
2009-09-14 12:22:57 +00:00
frosch
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
2009-09-13 19:15:59 +00:00
smatz
98e2742863
(svn r17445) -Fix (r17318): force resort after changing sort type in the industry list window
2009-09-07 08:52:01 +00:00
alberth
9fd22f727f
(svn r17423) -Fix [FS#3174]: Show '- None -' with empty town or industry list, and use that text in the size computation as well.
2009-09-05 11:27:28 +00:00
rubidium
27738c6638
(svn r17414) -Codechange: only send/read the number of bits that can be actually useful when building industries
2009-09-04 20:04:54 +00:00
rubidium
78c9827000
(svn r17369) -Codechange: make the depot, group and industry GUIs use the scrollbar wrappers
2009-09-02 07:36:39 +00:00
rubidium
3b03999073
(svn r17322) -Codechange: make the industry directory window nested.
2009-08-30 15:25:20 +00:00
rubidium
e8433f6d48
(svn r17320) -Codechange: move the code to determine the string and set dparams of industries in the industry directory out of OnPaint
2009-08-30 14:06:55 +00:00
rubidium
0aab13bf44
(svn r17319) -Codechange: replace some magic numbers related to locations/sizes with the appropriate variables in the industry directory
2009-08-30 13:54:53 +00:00
rubidium
5fe9c44862
(svn r17318) -Codechange: remove state changes from the OnPaint of the industry directory
2009-08-30 13:44:25 +00:00
smatz
100ae8efcc
(svn r17292) -Codechange: use unified ToPercent() function to convert fract numbers to percents
2009-08-27 13:31:26 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
alberth
098756b84b
(svn r17198) -Fix [FS#2406]: Accept monthly production values in the scenario editor.
2009-08-16 07:28:00 +00:00
alberth
4eb155ccfb
(svn r17171) -Doc: Additions and corrections of various doxygen strings.
2009-08-14 18:41:03 +00:00
smatz
c5533ae470
(svn r17168) -Codechange: apply coding style to if and while statements
2009-08-14 17:11:59 +00:00
rubidium
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
2009-08-05 17:59:21 +00:00
rubidium
e9bc557b2a
(svn r16930) -Codechange: more StringID name unification and grouping
2009-07-23 19:31:50 +00:00