Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
lists to the widest list item.
|
|
Move empty item drawing to base ListItem Draw() function.
Remove String() from base class.
Pass correct width to Draw().
|
|
toolbar and dropdown guis.
Mostly forgotten ones.
|
|
into their own parameter.
|
|
|
|
down lists
|
|
Window constructors.
|
|
the Window class and remove Window from their naming.
|
|
just positive.
|
|
|
|
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.
|
|
a Window constructor.
|
|
|
|
something more than whitespace as description of files that don't have a description.
|
|
|
|
items.
|
|
|
|
pixel less than window width, not one more.
|
|
some future changes.
|
|
Patch by Alberth.
|
|
of a byte (Yexo)
|
|
compatibility code can be removed
|
|
to eventually replace use of two widgets for each dropdown control.
|
|
drag mode by moving the pointer above or below the list.
|
|
drop down list before deleting the list.
|
|
wrong source value. (r1679 partially reverted r1368)
|
|
|
|
warnings... c++ is fun
|
|
|
|
Lists are now dynamically generated, and can include parameters, or be extended however needed.
|