Age | Commit message (Collapse) | Author |
|
|
|
window_gui.h only needs to be included in *_gui.cpp.
|
|
the Window class and remove Window from their naming.
|
|
|
|
new windows that are going to require a ResetObjectToPlace to be performed on closing.
This will allow to free the said window only once, and not twice otherwise
|
|
functions/enums/variables as they are not used anymore.
|
|
|
|
|
|
|
|
recursively via the OnPlaceObjectAbort callback and use this knowledge to simplify closing some windows.
|
|
|
|
pointer with the WE_CREATE message because nothing uses it anymore.
|
|
|
|
|
|
|
|
object is bound to cause errors.
|
|
instead of a global one as it should only be used from window.cpp.
|
|
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.
|
|
the need for WE_ON_EDIT_TEXT_CANCEL.
|
|
|
|
rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
|
|
.cpp files where they are actually used.
|
|
|
|
move it to there.
|
|
Window.
|
|
a Window constructor.
|
|
|
|
declarations.
|
|
|
|
|
|
|
|
operators.
|
|
have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport.
|
|
a patch by Alberth.
|
|
stuff. Based on a patch by Albert.
|
|
appropriate place and do not misuse it for the time table GUI.
|
|
Patch by Alberth.
|
|
openttd.h) to order_type.h.
|
|
openttd.h) to group_type.h.
|
|
|
|
someone without a keyboard can enter text too. Patch by Dominik.
|
|
when Ctrl is pressed
|
|
adjust the widgets around it to suit.
|
|
arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
|
|
to eventually replace use of two widgets for each dropdown control.
|
|
Lists are now dynamically generated, and can include parameters, or be extended however needed.
|
|
|
|
unneeded include from openttd.h.
|
|
|