Commit Graph

133 Commits

Author SHA1 Message Date
yexo
1da504aa73 (svn r18815) -Fix (r18813): adding a single newgrf via the newgrf gui added all newgrfs after the selected one too 2010-01-15 20:20:24 +00:00
yexo
e7fbbdc81d (svn r18813) -Codechange: deduplicate copying a newgrf config 2010-01-15 18:28:30 +00:00
rubidium
9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
rubidium
58b8264854 (svn r18697) -Fix [FS#3471]: crash when scrolling to an item removed by filtering in the 'add NewGRF window' 2010-01-03 15:25:51 +00:00
alberth
f20e477a02 (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 2009-12-20 20:08:39 +00:00
rubidium
25d04c0777 (svn r18506) -Fix [FS#3368]: no error message was created for the first fatal NewGRF error. 2009-12-15 00:00:51 +00:00
rubidium
45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 2009-11-28 14:42:35 +00:00
rubidium
ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 2009-11-24 21:13:36 +00:00
rubidium
50359b2d08 (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
f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 2009-11-24 17:28:29 +00:00
alberth
5bee09c924 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 2009-11-22 18:28:14 +00:00
alberth
18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 2009-11-22 18:26:01 +00:00
frosch
a5cd5e01f6 (svn r18227) -Fix (r17676)[FS#3325]: GRF parameters and palette were no longer displayed in NewGRF gui. 2009-11-22 14:58:27 +00:00
rubidium
aac2ba5124 (svn r18221) -Codechange: make the NewGRF window big font aware 2009-11-22 14:15:50 +00:00
alberth
8139a8d96f (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 2009-11-22 13:22:53 +00:00
rubidium
ef4e936acb (svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances 2009-11-22 11:10:17 +00:00
rubidium
16d0bbce79 (svn r18183) -Codechange: make the NewGRF window RTL aware 2009-11-19 15:45:08 +00:00
peter1138
ba551ed638 (svn r18178) -Codechange: Let NewGRF Add window's text filter expand. 2009-11-19 10:44:35 +00:00
rubidium
8e11cd3a42 (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
rubidium
a13fd6ddce (svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation 2009-11-16 20:34:57 +00:00
rubidium
b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
alberth
5a97b64d73 (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
8742314bb8 (svn r17922) -Fix [FS#3291]: crash when closing NewGRF parameter window with no NewGRF selected 2009-10-31 14:53:19 +00:00
rubidium
c3525c3c5c (svn r17920) -Codechange: add a 'filter' for numbers+spaces and use it for the NewGRF parameter list 2009-10-31 14:06:16 +00:00
rubidium
ac8482e82d (svn r17890) -Feature: double clicking on a NewGRF opens the parameters window 2009-10-27 19:22:07 +00:00
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. 2009-10-24 14:53:55 +00:00
rubidium
b72898c8a3 (svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows 2009-10-17 14:29:10 +00:00
rubidium
982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 2009-10-04 17:16:41 +00:00
rubidium
1f70f9afde (svn r17676) -Codechange: make the NewGRF GUI nested 2009-09-30 21:49:24 +00:00
rubidium
ab48ce2ee0 (svn r17675) -Codechange: move the 'state' changes out of the OnPaint of the newgrf window 2009-09-30 21:11:29 +00:00
rubidium
e3bb9351a4 (svn r17673) -Codechange: make InvalidateThisWindowData a function of the window class 2009-09-30 21:00:35 +00:00
alberth
fb6306a1f6 (svn r17580) -Fix (r17541): Fix signed/unsigned mismatch with MSVC 2008. 2009-09-19 16:22:49 +00:00
alberth
d54028fde8 (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
afb1217449 (svn r17559) -Fix [FS#3206]: close the "Add NewGRF" window when you close the "NewGRF Settings" window. The add window has a pointer to the settings which means that not deleting it would cause dereferencing an already freed pointer 2009-09-17 12:34:00 +00:00
frosch
bdc86b7280 (svn r17541) -Feature: Filtering in Add-NewGRF dialog. 2009-09-14 20:59:46 +00:00
frosch
4317f1a010 (svn r17514) -Codechange: Nestify Add-NewGRF dialog. 2009-09-12 18:40:02 +00:00
frosch
d9ece3698a (svn r17511) -Codechange: Simplify ShowNewGRFInfo() by passing 'right' instead of 'width'. 2009-09-12 17:17:07 +00:00
rubidium
d5e749d8b1 (svn r17371) -Codechange: make the newgrf, news and order GUIs use the scrollbar wrappers 2009-09-02 08:18:54 +00:00
rubidium
d4a98be94a (svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false 2009-08-23 19:03:09 +00:00
rubidium
99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium
d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 2009-08-05 17:59:21 +00:00
rubidium
5bb7b8ad35 (svn r17062) -Change: unify the naming of some 125 strings 2009-08-04 18:04:33 +00:00
alberth
fe9f5cbc46 (svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field. 2009-07-16 16:22:23 +00:00
alberth
0db7c2929e (svn r16413) -Codechange: Allow leading/trailing whitespace and comma in newgrf parameters instead of treating them as invalid. 2009-05-24 12:49:27 +00:00
rubidium
3a15860df7 (svn r16304) -Codechange: remove some magic numbers from the newgrf add window so it mirrors nicely. 2009-05-13 22:51:31 +00:00
frosch
80e896fa53 (svn r16223) -Fix (r8881): ActionB should use the online parameters from GRFFile instead of the initial user-specified values from GRFConfig. Also use the values as they were set when the ActionB was executed, not as they are set when the message is shown. 2009-05-04 11:23:21 +00:00
alberth
663d6b60fb (svn r16186) -Codechange: Adding nested widgets to _newgrf_desc and _newgrf_add_dlg_desc window descriptions. 2009-04-29 20:32:11 +00:00
alberth
1a3a52abf9 (svn r16185) -Codechange: Moving the ShowNewGRFStateWidgets and AddNewGRFWindowWidgets widget enums outside their window structs.
-Codechange: Improvements to the _newgrf_add_dlg_widgets and _newgrf_widgets widget arrays in preparation for nested widgets.
2009-04-29 20:29:19 +00:00
rubidium
5c5b357043 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 2009-04-21 23:40:56 +00:00
alberth
bbd546b792 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 2009-03-29 09:49:11 +00:00