Commit Graph

152 Commits

Author SHA1 Message Date
alberth 22b868f4d5 (svn r19833) -Change: Modify NewGRF window towards having combined lists, add captions. 2010-05-16 18:41:59 +00:00
alberth cf6e1165b5 (svn r19832) -Codechange: Rename variables list->actives, sel->active_sel. 2010-05-16 18:34:55 +00:00
alberth f0779f0163 (svn r19831) -Codechange: Rename formal parameters of the constructor to match data member variable names. 2010-05-16 18:30:02 +00:00
alberth c4b29c5124 (svn r19830) -Codechange: Move variable declarations to their first use. 2010-05-16 18:25:05 +00:00
alberth 8b582edb38 (svn r19829) -Codechange: Extract assignment from the condition-check in the for statement. 2010-05-16 18:22:07 +00:00
alberth 3b8c4440c5 (svn r19823) -Fix: Ensure that both texts of the newgrf gui download button fit. 2010-05-15 08:44:10 +00:00
rubidium 062dd0e24c (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 2010-05-13 10:14:29 +00:00
frosch f835f67a39 (svn r19597) -Fix: Removing NewGRFs from the GUI list leaked. 2010-04-10 13:00:34 +00:00
smatz 5eb1e3d033 (svn r19577) -Codechange: apply coding style to names of functions in settings.cpp 2010-04-07 20:28:02 +00:00
alberth 1e48b2332e (svn r19576) -Codechange: Unduplicating parse_intlist(). 2010-04-07 20:09:53 +00:00
yexo 404df87b1f (svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info 2010-02-28 20:28:08 +00:00
yexo a9c8dbc0a0 (svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it 2010-02-25 20:05:31 +00:00
smatz f051066bc4 (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 2010-02-24 14:46:15 +00:00
alberth 33a96b5ef3 (svn r19132) -Codechange: No need to end a line with ;;. 2010-02-14 16:31:35 +00:00
yexo 6406b75b8f (svn r19094) -Codechange: don't check for NULL values before calling StrEmpty 2010-02-11 14:58:51 +00:00
frosch 88019e64e1 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00
yexo ea227aa033 (svn r18948) -Fix: removing a newgrf from the list didn't update the scrollbar 2010-01-29 15:50:56 +00:00
yexo 81882039e3 (svn r18947) -Fix [FS#1510]: after clicking move up/move down in the newgrf/ai the selected item could be out of range 2010-01-29 15:45:53 +00:00
rubidium f94c83a387 (svn r18872) -Codechange: introduce PaletteID and use it 2010-01-21 01:38:13 +00:00
yexo 72572a0586 (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 bd102b78ee (svn r18813) -Codechange: deduplicate copying a newgrf config 2010-01-15 18:28:30 +00:00
rubidium 82fc28f77f (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 409007cd92 (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 5a083f183e (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 2009-12-20 20:08:39 +00:00
rubidium 3e6c530e1e (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 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
frosch 41ad9d505e (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 a9e09df923 (svn r18221) -Codechange: make the NewGRF window big font aware 2009-11-22 14:15:50 +00:00
alberth bf93372ca2 (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 2009-11-22 13:22:53 +00:00
rubidium e9b6e73333 (svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances 2009-11-22 11:10:17 +00:00
rubidium 68400db749 (svn r18183) -Codechange: make the NewGRF window RTL aware 2009-11-19 15:45:08 +00:00
peter1138 f216fcecd4 (svn r18178) -Codechange: Let NewGRF Add window's text filter expand. 2009-11-19 10:44:35 +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
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
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 86fd0c0bce (svn r17922) -Fix [FS#3291]: crash when closing NewGRF parameter window with no NewGRF selected 2009-10-31 14:53:19 +00:00
rubidium a5d005dd53 (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 2ef0746007 (svn r17890) -Feature: double clicking on a NewGRF opens the parameters window 2009-10-27 19:22:07 +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
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
rubidium 6e6af43d77 (svn r17676) -Codechange: make the NewGRF GUI nested 2009-09-30 21:49:24 +00:00
rubidium a96d161b00 (svn r17675) -Codechange: move the 'state' changes out of the OnPaint of the newgrf window 2009-09-30 21:11:29 +00:00
rubidium 0032405093 (svn r17673) -Codechange: make InvalidateThisWindowData a function of the window class 2009-09-30 21:00:35 +00:00