Age | Commit message (Collapse) | Author |
|
when issueing them from the menu.
|
|
|
|
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().
|
|
|
|
because they were not yet removed when the new windows were positioned
|
|
parameter for OnClick().
|
|
|
|
if a header require a header make it include that header
|
|
|
|
same twice.
|
|
location based on the main toolbar's height instead of hardcoding that
|
|
|
|
|
|
|
|
|
|
WindowDesc; it's determined from the (nested) widgets
|
|
|
|
|
|
|
|
the main view.
|
|
|
|
dropdown menu class.
|
|
|
|
window.
|
|
|
|
ran in sync with the first one.
|
|
|
|
|
|
|
|
nested widgets through the nested_array.
|
|
for more consistency and distinguishability.
|
|
was not intended. They would also not properly mark the window dirty.
|
|
|
|
|
|
|
|
|
|
window, and dropdown window.
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
|
|
left/right instead of the x and width to make drawing text at offsets easier.
|
|
add a bit of type strictness.
|
|
|
|
a window in a single place, instead of in the OnClick event for some windows. This standardises behaviour so that clicking anywhere in a window will close its drop down menu, which happened before for some windows but not all. In addition the dubious feature of hiding a drop down menu by opening the same menu has been removed. This only caused wasted CPU cycles as a whole new list was generated and then destroyed. Breathe.
|
|
|
|
widgets/dropdown.cpp did depend on window_gui.h...
|
|
|
|
so that a minimum width can be specified.
|
|
(if requested) when the mouse button is released.
|