Commit Graph

151 Commits (4808ca26431373a253c92c76fe9447aafb9d73ca)

Author SHA1 Message Date
alberth 4808ca2643 (svn r19832) -Codechange: Rename variables list->actives, sel->active_sel. 14 years ago
alberth 52affd2240 (svn r19831) -Codechange: Rename formal parameters of the constructor to match data member variable names. 14 years ago
alberth e43c573476 (svn r19830) -Codechange: Move variable declarations to their first use. 14 years ago
alberth 5037e26562 (svn r19829) -Codechange: Extract assignment from the condition-check in the for statement. 14 years ago
alberth 95b10740a9 (svn r19823) -Fix: Ensure that both texts of the newgrf gui download button fit. 14 years ago
rubidium a70fd540fc (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
frosch 65019bdf72 (svn r19597) -Fix: Removing NewGRFs from the GUI list leaked. 14 years ago
smatz c77cb04f81 (svn r19577) -Codechange: apply coding style to names of functions in settings.cpp 14 years ago
alberth 1921b27c65 (svn r19576) -Codechange: Unduplicating parse_intlist(). 14 years ago
yexo 23af928ce9 (svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info 15 years ago
yexo b21278659c (svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it 15 years ago
smatz 5504b1105e (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 15 years ago
alberth e3b24801e2 (svn r19132) -Codechange: No need to end a line with ;;. 15 years ago
yexo 9a80d81f4c (svn r19094) -Codechange: don't check for NULL values before calling StrEmpty 15 years ago
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
yexo d5025477a3 (svn r18948) -Fix: removing a newgrf from the list didn't update the scrollbar 15 years ago
yexo 8f55972a63 (svn r18947) -Fix [FS#1510]: after clicking move up/move down in the newgrf/ai the selected item could be out of range 15 years ago
rubidium 7127338414 (svn r18872) -Codechange: introduce PaletteID and use it 15 years ago
yexo 1da504aa73 (svn r18815) -Fix (r18813): adding a single newgrf via the newgrf gui added all newgrfs after the selected one too 15 years ago
yexo e7fbbdc81d (svn r18813) -Codechange: deduplicate copying a newgrf config 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 58b8264854 (svn r18697) -Fix [FS#3471]: crash when scrolling to an item removed by filtering in the 'add NewGRF window' 15 years ago
alberth f20e477a02 (svn r18580) -Codechange: Use widget information only for setting scrollbar capacity. 15 years ago
rubidium 25d04c0777 (svn r18506) -Fix [FS#3368]: no error message was created for the first fatal NewGRF error. 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
frosch a5cd5e01f6 (svn r18227) -Fix (r17676)[FS#3325]: GRF parameters and palette were no longer displayed in NewGRF gui. 15 years ago
rubidium aac2ba5124 (svn r18221) -Codechange: make the NewGRF window big font aware 15 years ago
alberth 8139a8d96f (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 15 years ago
rubidium ef4e936acb (svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances 15 years ago
rubidium 16d0bbce79 (svn r18183) -Codechange: make the NewGRF window RTL aware 15 years ago
peter1138 ba551ed638 (svn r18178) -Codechange: Let NewGRF Add window's text filter expand. 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
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
alberth 5a97b64d73 (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
15 years ago
rubidium 8742314bb8 (svn r17922) -Fix [FS#3291]: crash when closing NewGRF parameter window with no NewGRF selected 15 years ago
rubidium c3525c3c5c (svn r17920) -Codechange: add a 'filter' for numbers+spaces and use it for the NewGRF parameter list 15 years ago
rubidium ac8482e82d (svn r17890) -Feature: double clicking on a NewGRF opens the parameters window 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
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
rubidium 1f70f9afde (svn r17676) -Codechange: make the NewGRF GUI nested 15 years ago
rubidium ab48ce2ee0 (svn r17675) -Codechange: move the 'state' changes out of the OnPaint of the newgrf window 15 years ago
rubidium e3bb9351a4 (svn r17673) -Codechange: make InvalidateThisWindowData a function of the window class 15 years ago
alberth fb6306a1f6 (svn r17580) -Fix (r17541): Fix signed/unsigned mismatch with MSVC 2008. 15 years ago