Age | Commit message (Collapse) | Author |
|
|
|
|
|
didn't scale properly to 'GUI' scale
|
|
|
|
|
|
variables (using var 7B). Currently most useful for vehicle var 60.
|
|
GUI.
|
|
parent window in the NewGRF debug GUI.
|
|
|
|
storage in the NewGRF debug GUI.
|
|
|
|
|
|
OnInvalidateData().
|
|
|
|
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.
|
|
DeleteNewGRFInspectWindow() into a InvalidateData call.
|
|
more likely to be updated [n].
|
|
OnPaint().
|
|
NewGRF inspect window.
|
|
|
|
some headers
|
|
WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
|
|
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.
|
|
scrollbar explicitly using a NWidgetPart via SetScrollbar().
|
|
|
|
GetScrolledRowFromWidget().
|
|
warnings into account
|
|
|
|
|
|
|
|
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.
|
|
useful tool for NewGRF developers to get some insights into the value of some variables
|