Age | Commit message (Collapse) | Author |
|
instead of a global one as it should only be used from window.cpp.
|
|
that the pointer you are allocating to is NULL. Patch by Alberth.
|
|
byte[WINDOW_CUSTOM_SIZE] removed. This step changes the event handling to work directly on the Window class instead of via a function pointer and big switches while keeping backward compatability while we're rewriting the Windows to the new scheme.
|
|
same thing.
|
|
|
|
rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
|
|
move it to there.
|
|
Window.
|
|
a Window constructor.
|
|
event, we should not send a click event to the now non-existant Window as that causes segfaults.
|
|
|
|
|
|
declarations.
|
|
when it's certain that w != NULL.
|
|
|
|
something more than whitespace as description of files that don't have a description.
|
|
Window deletion causing the reading invalid/freed data which could cause crashes.
|
|
|
|
|
|
window. Patch by Alberth.
|
|
|
|
by Alberth.
|
|
place to a single location.
|
|
have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport.
|
|
resizes unless they would go behind the toolbar.
|
|
a patch by Alberth.
|
|
windows.
|
|
stuff. Based on a patch by Albert.
|
|
|
|
Patch by Alberth.
|
|
after resizing the screen
|
|
when Ctrl is pressed
|
|
input, depot/group window wasn't updated (original patch by GrimRC)
|
|
|
|
|
|
unneeded include from openttd.h.
|
|
|
|
|
|
points in the unicode private use area.
|
|
useless includes.
|
|
map.h).
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
it is really needed.
|
|
|
|
single file and do not include gfx.h everywhere to get a Point type.
|
|
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
|
|
|
|
its now useless counterpart function
|
|
function counterpart HandleButtonClick.
|
|
|