Commit Graph

20 Commits (45f3967d5dc7a5b4bedcac3b9db4cc96ed3e9369)

Author SHA1 Message Date
frosch 4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 13 years ago
frosch 04f56cf6ed (svn r22140) -Fix (r22135): I like the letter 'l' nevertheless. (Alberth) 14 years ago
frosch 074548f8f3 (svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command. 14 years ago
frosch b7e7dcd01e (svn r22134) -Codechange: Move ReInit() of the landinfo window from DeleteNewGRFInspectWindow() into a InvalidateData call. 14 years ago
rubidium 43c8073551 (svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n]. 14 years ago
alberth 0722492c1b (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 14 years ago
michi_cc 809dcbacd0 (svn r21065) -Fix (r19733): Crash when displaying 60+x parameters in the NewGRF inspect window. 14 years ago
rubidium 8425361b58 (svn r20673) -Codechange: add support for inspecting objects 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
frosch 2d5ef5e5a8 (svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR. 14 years ago
frosch 4817d5dcd6 (svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
14 years ago
frosch 341f41e347 (svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar(). 14 years ago
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 14 years ago
alberth a50578c3ad (svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget(). 14 years ago
rubidium c28f639c40 (svn r20013) -Fix [FS#3890]: silence some warnings / take the advice of the warnings into account 14 years ago
rubidium 0c8198ee26 (svn r19738) -Fix: MSVC 64 bits compile warnings 14 years ago
frosch 59b1dfd9ae (svn r19733) -Change: Set var 60+x parameters in the inspect window per feature. 14 years ago
frosch efdc25bb73 (svn r19731) -Add: Spritepicker to sprite alignment tool. 14 years ago
rubidium 738e71af4a (svn r19723) -Add: a simple sprite alignment helper. It does not store the new offsets anywhere so as soon as the sprite is reloaded the offsets are gone (use a bigger sprite cache if this happens). Also anything that reloads NewGRFs (new games, loading games or (re)applying NewGRFs) clears the sprite cache and as such resets the offsets. 14 years ago
rubidium ab8562f71c (svn r19708) -Add: NewGRF "debugging" window and data tables; should be a useful tool for NewGRF developers to get some insights into the value of some variables 14 years ago